GET /official/margin/markets

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

Perpetual (margin) markets list.

Parameters

nameintypedescription
limitqueryintoptionalPage size (1-1000)
default: 10
example: 5
cursorquerystroptionalOpaque pagination cursor from a previous response
example:
statusquerystr
open | closed | settled
optionalFilter by market/event status
example: open

Response

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

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/margin/markets?limit=5&cursor=&status=open"