GET /official/historical/trades

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

Trades for settled markets.

Parameters

nameintypedescription
tickerpathstrrequiredMarket ticker (e.g. KXBTC15M-26AUG232115-15)
example: KXBTC15M-26AUG232115-15
limitqueryintoptionalPage size (1-1000)
default: 10
example: 5
cursorquerystroptionalOpaque pagination cursor from a previous response
example:

Response

type: object
data key: trades
cursor key: cursor
pagination: cursor
sample: {
  "cursor": "str",
  "trades": "array[5]"
}

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/historical/trades?limit=5&cursor="