KLSI
Get KLSI orderbook
Retrieve orderbook snapshots for a Kalshi market. The orderbook shows all open buy and sell orders at different price levels.
Understanding the Response:
- bid_side: Array of 101 values representing buy order quantities at price levels from 1.00 in increments of 0.00, index 1 = 1.00.
- ask_side: Array of 101 values representing sell order quantities at the same price levels.
- snapshot_time: When this orderbook snapshot was captured
Use Cases:
- Calculate best bid/ask prices and spreads
- Analyze market depth and liquidity
- Build real-time trading visualizations
Example
- Request:
GET /api/v1/klsi/KXBTC-26FEB01/orderbook?limit=100 - Header:
X-API-Key: YOUR_API_KEY
GET
Authorizations
Your API key (get one from the test-key endpoint above)
Path Parameters
Kalshi market ID
Query Parameters
Maximum number of rows to return (default: 10 in docs, max: 10000). Use a higher limit in your code.
Pagination cursor for next page

