GET /official/historical/markets

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

Settled markets list.

Parameters

nameintypedescription
limitqueryintoptionalPage size (1-1000)
default: 10
example: 5
cursorquerystroptionalOpaque pagination cursor from a previous response
example:

Response

type: object
data key: markets
cursor key: cursor
pagination: cursor
sample: {
  "cursor": "str",
  "markets": "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/markets?limit=5&cursor="