For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get all categories

GET /api/v1/markets/categories

Get all categories

get

Returns a paginated list of all market categories, each including a count of subcategories and topics nested within it. Pass ?locale= to receive translated display names in name; falls back to source when a translation is unavailable.

Query parameters
limitintegerOptional

Page size

Default: 100
offsetintegerOptional

Page offset

Default: 0
localestringOptional

BCP-47 locale for translated names (e.g. zh, es)

Responses
200

OK

application/json
get/api/v1/markets/categories
GET /api/v1/markets/categories HTTP/1.1
Host: rest.ft.42.space/
Accept: */*
{
  "data": [
    {
      "id": 1,
      "image": "text",
      "liveMarketCount": 1,
      "name": "text",
      "slug": "text",
      "subcategoryCount": 1,
      "topicCount": 1,
      "translation": {
        "name": "text"
      }
    }
  ],
  "pagination": {
    "hasMore": true,
    "totalResults": 1
  }
}

Last updated