Start here
Base URL:/openapi/market-data-api.yaml ·
/openapi/market-data-api.json. The
API Reference renders it with live try-it panels.
Endpoints
Supported providers:
kalshi, polymarket, predictfun, hyperliquid.
Portfolio and PnL endpoints are served by the REST API, not
by this one.
Conventions
- Prices are quoted on the 0–100 scale (implied probability × 100) throughout — candles, trades, and marks. Two decimal places of precision are significant.
- Timestamps: request parameters accept ISO 8601
(
2026-07-15T00:00:00Z); response timestamps are unix seconds (fractional where the source has millisecond precision) except candlebucket_start, which is ISO 8601 with an explicit UTC offset. - Identifiers:
contract_idis the venue’s market identifier;token_ididentifies a specific outcome token within a market. On multi-outcome markets every outcome has an independent token and independent prices. - Volumes are contract quantities on candles and trades;
*_usdfields are notional (size × price / 100).
Data semantics
- Candles are sparse. Buckets with no trades are omitted rather than zero-filled. Gaps in a candle series reflect periods with no trading.
- A mark is the last traded price of an outcome token. Marks are point-in-time snapshots; for streaming updates, use the WebSocket API.
- Kalshi combo books are not streamed. Kalshi multivariate combo markets
(tickers starting
KXMV) have an order book, but it is almost always empty: combos trade through RFQ. Kairos does not stream or index those books. To follow Kalshi combo activity, use the venue RFQ firehose.
Response formats
- JSON by default. All responses support gzip via
Accept-Encoding. - Candles are also available in a compact binary format.
- Historical responses carry
Cache-ControlandETagheaders — conditional requests withIf-None-Matchreturn304 Not Modified.
Errors
All errors use one envelope:GET /ready is the one exception to the envelope. On 503 it answers
{"ready": false, "failing": "clickhouse"} (or "redis").
