Get Kalshi Orderbook History
GET /kalshi/orderbooks
Note: All timestamps are in milliseconds. Orderbook data has history starting from October 29th, 2025. When fetching the latest orderbook (without start/end times), the limit parameter is ignored.
snapshots array containing orderbook snapshot objects, each with an orderbook object containing yes, no, yes_dollars, and no_dollars arrays of price-quantity pairs, along with a timestamp (in milliseconds) and ticker. A pagination object with has_more and paginationKey fields supports cursor-based pagination.Your AIsa API key as a Bearer token.
The Kalshi market ticker
"KXNFLGAME-25AUG16ARIDEN-ARI"
Start time in Unix timestamp (milliseconds). Optional - if not provided along with end_time, returns the latest orderbook snapshot.
1760470000000
End time in Unix timestamp (milliseconds). Optional - if not provided along with start_time, returns the latest orderbook snapshot.
1760480000000
Maximum number of snapshots to return (default: 100, max: 200). Ignored when fetching the latest orderbook without start_time and end_time.
x <= 200100
Base64-encoded cursor for efficient pagination. Returned in the previous response's pagination object.
"eyJ0aW1lc3RhbXAiOjE3NjA0NzAwMDAwMDAsInRpY2tlciI6IktYTkZMR0FNRS0yNUFVRzE2QVJJREVOLUFSSSIsInRvdGFsIjoxMDB9"