GET /official/markets/candlesticks

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/kalshi/official/markets/candlesticksCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Batch candlesticks for multiple markets.

Parameters

nameintypedescription
market_tickersquerystrrequiredComma-separated market tickers
example: KXBTC15M-26AUG232115-15
start_tsqueryintrequiredUNIX seconds range start
example: 1787400000
end_tsqueryintrequiredUNIX seconds range end (<= market close)
example: 1787500000
period_intervalqueryintoptionalCandlestick period interval
default: 1
example: 1

Response

type: object
data key: markets
pagination: none
sample: {
  "markets": "array[1]"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/kalshi/official/markets/candlesticks?market_tickers=KXBTC15M-26AUG232115-15&start_ts=1787400000&end_ts=1787500000&period_interval=1"