GET
/v1/categoriesList Categories
List all active market categories with counts. Returns each category with its display name and the number of currently active markets.
Response
200401403404500
Successful Response
Code Snippet
curl -X GET "https://api.resolvedmarkets.com/v1/categories" \ -H "X-API-Key: YOUR_API_KEY"
200
[
{
"id": "crypto-updown",
"category": "crypto",
"displayName": "Crypto Up/Down",
"activeMarkets": 16
},
{
"id": "elon-tweets",
"category": "social",
"displayName": "Elon Musk Tweets",
"activeMarkets": 30
},
{
"id": "spx-updown",
"category": "equities",
"displayName": "S&P 500 Up/Down",
"activeMarkets": 1
},
{
"id": "nba",
"category": "sports",
"displayName": "NBA",
"activeMarkets": 30
}
]