background

NEW: Prediction Markets API

One REST API for all prediction markets data

Market Activity

  • image

    Stream real-time trades and market movements across supported prediction markets

  • image

    Execute analytics on price, liquidity, and taker/maker behavior

  • image

    Backtest prediction strategies using full historical trade tapes

  • image

    Track market activity around specific events, outcomes, and expiry windows

  • image

    Analyze microstructure of prediction markets (depth, liquidity shocks, spread dynamics)

1{
2  "trade": {
3    "id": "74fa97a3-de82-4082-8098-e7264820568b",
4    "market_id": "BITCOIN-ABOVE-92K-ON-NOVEMBER-28_YES",
5    "price": 0.356,
6    "quantity": 56.179774,
7    "timestamp": "2025-11-27T12:49:00.5540000Z",
8    "side": "Buy"
9  },
10  "quote": {
11    "ask": 0.36,
12    "bid": 0.338,
13    "ask_volume": 500,
14    "bid_volume": 8.27,
15    "entry_time": "2025-11-27T12:49:11.3248220Z",
16    "recv_time": "2025-11-27T12:49:11.3248221Z"
17  }
18}

OHLCV

  • image

    Retrieve aggregated OHLCV data for any market

  • image

    Build price charts for Yes/No outcomes or multi-outcome markets

  • image

    Track price evolution leading up to catalysts or event-resolution windows

  • image

    Analyze volatility spikes and liquidity changes

  • image

    Integrate with algo-trading, backtesting, and forecasting models

1[
2  {
3    "time_period_start": "2025-11-26T00:00:00.0000000Z",
4    "time_period_end": "2025-11-27T00:00:00.0000000Z",
5    "time_open": "2025-11-26T01:03:33.0682499Z",
6    "time_close": "2025-11-26T15:33:05.1964713Z",
7    "price_open": 4.5,
8    "price_high": 4.5,
9    "price_low": 3.5,
10    "price_close": 3.5,
11    "volume_traded": 0,
12    "trades_count": 0
13  },
14  {
15    "time_period_start": "2025-11-25T00:00:00.0000000Z",
16    "time_period_end": "2025-11-26T00:00:00.0000000Z",
17    "time_open": "2025-11-25T02:28:36.2348070Z",
18    "time_close": "2025-11-25T02:28:36.2348070Z",
19    "price_open": 4.5,
20    "price_high": 4.5,
21    "price_low": 4.5,
22    "price_close": 4.5,
23    "volume_traded": 0,
24    "trades_count": 0
25  },
26  ...
27]

Orderbooks (Market Depth)

  • image

    Access real-time and historical orderbook data for Yes/No and multi-outcome markets

  • image

    Inspect bid/ask depth at each price level

  • image

    Reconstruct market state for strategy research

  • image

    Detect liquidity gaps and aggressive order flow

  • image

    Model slippage, execution cost, and order impact

1{
2  "exchange_id": "KALSHI",
3  "market_id": "KXGAMEAWARDS-2025-HK_YES",
4  "time_exchange": "2025-11-27T12:13:44.6081327Z",
5  "time_coinapi": "2025-11-27T12:13:44.6081328Z",
6  "asks": [
7    { "price": 4, "size": 4740 },
8    { "price": 5, "size": 10159 },
9    { "price": 8, "size": 2283 },
10    { "price": 9, "size": 60 },
11    { "price": 10, "size": 1600 },
12    { "price": 11, "size": 5000 },
13    { "price": 16, "size": 7 },
14    { "price": 19, "size": 71 },
15    { "price": 20, "size": 10 },
16    { "price": 21, "size": 104 },
17    { "price": 29, "size": 65 },
18    { "price": 30, "size": 1000 },
19    { "price": 46, "size": 109 },
20    { "price": 48, "size": 355 },
21    { "price": 50, "size": 1377 },
22    { "price": 79, "size": 333 },
23    { "price": 80, "size": 94 },
24    { "price": 89, "size": 777 },
25    { "price": 93, "size": 1888 },
26    { "price": 96, "size": 8888 },
27    { "price": 97, "size": 2055 },
28    { "price": 98, "size": 12943 },
29    { "price": 99, "size": 93388 }
30  ],
31  "bids": [
32    { "price": 3, "size": 6549 },
33    { "price": 2, "size": 31796 },
34    { "price": 1, "size": 8838 }
35  ]
36}

Get your API key now and start building in seconds!