Skip to main content
Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.

Query Parameters

limit
number
default:"50"
Number of categories to return.
offset
number
default:"0"
Pagination offset.

Response

data
array
Array of category objects.
pagination
object
Pagination metadata.
hostname
string
Server node identifier.
took
number
Request processing time in milliseconds.

Usage Example

curl -X GET "https://api.mobula.io/api/2/pm/categories"

Example Response

{
  "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
}