Get all categories
GET /api/v1/markets/categories
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
limitintegerOptionalDefault:
Page size
100offsetintegerOptionalDefault:
Page offset
0localestringOptional
BCP-47 locale for translated names (e.g. zh, es)
Responses
200
OK
application/json
500
Internal Server Error
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