Skip to main content
GET
Order books

Authorizations

X-API-Key
string
header
required

Your API key, created in the dashboard. Example: X-API-Key: pk_live_your_key_here.

Path Parameters

market_id
string
required

Venue-qualified market ID. For Polymarket, the part after the colon may also be the slug. Venue and the venue's market ID, separated by a colon.

Pattern: ^[a-z][a-z0-9_]{1,31}:[^/\s]{1,256}$
Examples:

"kalshi:KXFEDDECISION-26OCT-H0"

"polymarket:560868"

Query Parameters

at

One book at this instant. Not with start, end or interval. RFC 3339 date-time (no offset means UTC), a date (midnight UTC), or epoch milliseconds.

Example:

"2026-11-03T14:00:00Z"

start

Start of the grid (with end). Not with at. RFC 3339 date-time (no offset means UTC), a date (midnight UTC), or epoch milliseconds.

Example:

"2026-11-03T14:00:00Z"

end

End of the grid, exclusive (with start). Not with at. RFC 3339 date-time (no offset means UTC), a date (midnight UTC), or epoch milliseconds.

Example:

"2026-11-03T14:00:00Z"

interval
enum<string>

Interval length, with start and end (1m if omitted). Not with at.

Available options:
100ms,
1s,
1m,
10m,
1h,
6h,
1d
depth
default:10

Price levels per side, best first, or all.

Required range: 1 <= x <= 1000
outcome
enum<string>
default:yes

yes (default) or no. On markets with other labels (two teams, Over/Under, Up/Down), yes is the venue's first-listed outcome; market.outcomes in the response names both. The NO view mirrors the YES book: prices become 1 − p, bids and asks swap (so do candle highs and lows), and trade aggressors flip.

Available options:
yes,
no
limit
integer
default:1000

Books per page.

Required range: 1 <= x <= 1000
cursor
string

The next_cursor from the previous page. Send it with the same parameters.

Required string length: 1 - 4096
after

Streams only: resume after the interval starting at this time (the last row's t). RFC 3339 date-time (no offset means UTC), a date (midnight UTC), or epoch milliseconds.

Example:

"2026-11-03T14:00:00Z"

Response

A page of books, or an NDJSON stream of them.

market
object
required

The market a history response is about.

outcome
enum<string>
default:yes
required
Available options:
yes,
no
interval
enum<string> | null
default:1m
required

Null for a book at a millisecond.

Available options:
100ms,
1s,
1m,
10m,
1h,
6h,
1d
depth
required
Required range: 1 <= x <= 1000
data
object[]
required
next_cursor
string | null
required

Pass as cursor for the next page; null on the last page.

attribution
enum<string>

Present when the response contains Kalshi data.

Available options:
Powered by Kalshi Research
data_type
enum<string>

Present when the response contains Kalshi data. historical if all of it is at least 24 hours old, otherwise delayed.

Available options:
historical,
delayed