Skip to main content
GET
/
market-types
Fetch all market types
curl --request GET \
  --url https://sandbox.api.btdx.io/market-types \
  --header 'authorization: <authorization>'
{
  "_meta": {
    "_count": 123,
    "_page": {
      "_pageNumber": 123,
      "_pageSize": 123,
      "_totalElements": 123,
      "_totalPages": 123
    }
  },
  "marketTypes": [
    {
      "id": "<string>",
      "outcomesRange": {
        "min": 123,
        "max": 123
      },
      "winnersRange": {
        "min": 123,
        "max": 123
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "modifiedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Headers

authorization
string
required

Header with the accessToken for the current session

Response

OK

_meta
object
marketTypes
object[]