Kansen logoKansen
GET
/markets

Query Parameters

limit?integer
Range1 <= value
offset?integer
Range0 <= value
order?string

Sort order (e.g. volume24hr).

volume_min?number
slug?string

When provided, returns the single market matching the slug (used by getMarketBySlug).

Response Body

application/json

curl -X GET "https://example.com/markets"
[
  {
    "id": "string",
    "question": "string",
    "slug": "string",
    "conditionId": "string",
    "ticker": "string",
    "endDate": "2019-08-24T14:15:22Z",
    "startDate": "2019-08-24T14:15:22Z",
    "description": "string",
    "outcomes": [
      "string"
    ],
    "outcomePrices": [
      "string"
    ],
    "clobTokenIds": [
      "string"
    ],
    "volume": "string",
    "volumeNum": 0,
    "volume24hr": 0,
    "liquidity": "string",
    "liquidityNum": 0,
    "active": true,
    "closed": true,
    "enableOrderBook": true,
    "bestBid": 0,
    "bestAsk": 0,
    "spread": 0,
    "lastTradePrice": 0,
    "oneDayPriceChange": 0,
    "oneWeekPriceChange": 0,
    "image": "string",
    "icon": "string",
    "acceptingOrders": true,
    "negRisk": true,
    "groupItemTitle": "string",
    "orderPriceMinTickSize": 0,
    "orderMinSize": 0,
    "tags": [
      {
        "id": "string",
        "label": "string",
        "slug": "string"
      }
    ]
  }
]