GET/api/v1/markets/{ticker}/snapshots
Get snapshots
Return top of book on a time grid for any window of one market, a page at a time. For the market-page chart, use preview. For history across days, use daily files.
Steps of a second and up come from the published 1-second snapshots (book_snap_1s): each point is the book as it stood at that instant, carried forward through quiet stretches, so a market whose book did not change still shows it. Sub-second steps rebuild from book_l2, starting at the market's last full book before the window; if that is more than 500,000 changes, the request returns 400 asking for step_ms of 1000 or more.
The window has no length limit. A page holds up to limit grid points from start_ts; when the window holds more, next_start_ts is the next grid point. Pass it as start_ts (same end_ts and step_ms) until it is null. complete is true on the page that reaches end_ts. Nothing is thinned: every grid point where the market had a book is on one page. See paging.
Points cover the market's life: market_open_ts and market_close_ts give it. When the window asked for starts before the market opened, ends after it closed, runs into the future, or reaches before the first recorded day, or the first book recorded in it comes after its start, window_note says so with the times. A window wholly outside the market's life returns no points and the reason.
Auth required. Snapshots are on Research and up; Explorer gets 402 with code: plan_required and required_tier: pro. include_book=true returns order book depth and needs the Full book plan.
Try it
Loading…
Query parameters
| Name | Default | Notes |
|---|---|---|
limit | 1000 | Page size: grid points a page (1–5000). next_start_ts gives the rest |
step_ms | 1000 | Grid interval. 1000 and up: from the 1-second snapshots. Under 1000 (0 is 100 ms): rebuilt from book_l2 |
include_book | false | Order book levels when true: the top 10 a side at steps of a second and up, 15 when rebuilt below a second. Needs Full book. |
start_ts / end_ts | — | Window bounds, unix seconds, any length. Without them the window runs from the market's open to its close (or now). For the next page, pass next_start_ts as start_ts |
preview | false | Keeps only the last 15 minutes of the window (clamped: true when it cut it). The only short window. Prefer GET /preview for the UI |
Response
| Field | Notes |
|---|---|
start_ts / end_ts | This page's first grid instant and the window's end, after the window was fitted to the market's life |
count | Points on this page |
next_start_ts | The next page's start_ts; null on the last page |
complete | True when this page reaches end_ts |
levels | Book levels a side in orderbook_yes / orderbook_no: 10 from the 1-second snapshots, 15 rebuilt from book_l2. null when the window is wholly outside the market's life |
market_open_ts / market_close_ts | When the market opened and closes (or closed), unix seconds |
window_note | Why the points cover less than the window asked for, with the times; null when they cover it all |
clamped | True when preview=true cut the window to its last 15 minutes |
history_clamped_from | Only during a trial: the start_ts asked for, when the trial's history moved it later |
curl "https://kalshieye.com/api/v1/markets/KXBTC15M-26OCT131200-00/snapshots?limit=24&step_ms=30000" \
-H "Authorization: Bearer $KALSHIEYE_API_KEY"{
"ticker": "KXBTC15M-26OCT131200-00",
"series": "KXBTC15M",
"start_ts": 1791906300.0,
"end_ts": 1791907200.0,
"step_ms": 30000,
"include_book": false,
"levels": 10,
"key_mode": "book_snap_1s",
"clamped": false,
"preview": false,
"layer": "snapshots",
"matched": 22,
"count": 22,
"next_start_ts": 1791907020.0,
"complete": false,
"market_open_ts": 1791906300.0,
"market_close_ts": 1791907200.0,
"window_note": "The first book recorded in this window is at 2026-10-13 15:46:00 UTC; there are no points before it.",
"market": { "ticker": "KXBTC15M-26OCT131200-00", "series": "KXBTC15M", "open_ts": 1791906300.0, "close_ts": 1791907200.0 },
"snapshots": [
{
"ts": 1791906360.0,
"venue_ts": null,
"seq": null,
"yes_best_bid": 0.35,
"yes_best_ask": 0.36,
"coin_price": null
},
{
"ts": 1791906390.0,
"venue_ts": null,
"seq": null,
"yes_best_bid": 0.36,
"yes_best_ask": 0.37,
"coin_price": null
}
]
}The market opened at 15:45 UTC and closed at 16:00, so the window is those 15 minutes: 31 grid points 30 seconds apart. This page covers the first 24 of them; the first two (15:45:00 and 15:45:30) come before the market's first recorded book, so its points start at 15:46:00 and window_note says why. The next page starts at next_start_ts (15:57:00) and holds the last 7, with complete: true.
coin_price is null on points from the 1-second snapshots and on points rebuilt from book_l2. Crypto prices are in the spot, chainlink and cf_index datasets. venue_ts and seq are null on grid points, which are instants rather than venue messages.
Every API call needs a key: create an account to get one. The sample file of every dataset needs no key.