cURL
curl --request GET \ --url https://demo-api.mobula.io/api/2/pm/categories
{ "data": [ { "id": "<string>", "name": "<string>", "marketsCount": 123, "activeMarketsCount": 123, "volume24hUSD": 123, "totalVolumeUSD": 123 } ], "pagination": { "page": 123, "offset": 123, "limit": 123, "pageEntries": 123 }, "hostname": "<string>", "took": 123 }
Get all prediction market categories with market counts and volume stats.
Show Category
Show Pagination
curl -X GET "https://api.mobula.io/api/2/pm/categories"
{ "data": [ { "id": "politics", "name": "Politics", "marketsCount": 450, "activeMarketsCount": 120, "volume24hUSD": 5200000, "totalVolumeUSD": 890000000 }, { "id": "crypto", "name": "Crypto", "marketsCount": 320, "activeMarketsCount": 85, "volume24hUSD": 3100000, "totalVolumeUSD": 450000000 }, { "id": "sports", "name": "Sports", "marketsCount": 180, "activeMarketsCount": 60, "volume24hUSD": 1800000, "totalVolumeUSD": 220000000 } ], "pagination": { "page": 1, "offset": 0, "limit": 50, "pageEntries": 3 }, "hostname": "node-xyz", "took": 42 }
Number of categories to return (1-100).
Pagination offset.
Categories list
Show child attributes