/kalshi/markets/history
Get OHLC price-history candlesticks for a prediction-market contract over a time window
Price: 1 credit
💡 AI Hint: Get historical OHLC candlesticks for a single prediction-market contract over a time window. Provide the series_ticker and market ticker, a start_ts/end_ts Unix-second window, and a period_interval (1m, 1h or 1d). Each candle carries end_period_at plus the open/high/low/close/mean trade price, traded volume, open interest, and the yes-bid and yes-ask OHLC sub-series.
⚠️ Common errors: 412: Market not found
Authorizations
API token from the dashboard
Headers
Body
Series ticker the market belongs to
1"KXBTCD"
"KXHIGHNY"
Market ticker of the tradeable Yes/No contract
1"KXBTCD-26JUN1604-T74799.99"
Window start as a Unix timestamp in seconds
x >= 0Window end as a Unix timestamp in seconds
x >= 0Candle interval in minutes: 1 (1m), 60 (1h), or 1440 (1d)
1, 60, 1440 Max scrapping execution timeout (in seconds)
20 <= x <= 1500Response
Successful Response