Skip to main content
POST
/
api
/
kalshi
/
markets
/
orderbook
/kalshi/markets/orderbook
curl --request POST \
  --url https://api.anysite.io/api/kalshi/markets/orderbook \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "ticker": "<string>",
  "timeout": 300,
  "depth": 2
}
'
[
  {
    "ticker": "<string>",
    "@type": "@kalshi_orderbook",
    "yes": [],
    "no": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
ticker
string
required

Market ticker of the tradeable Yes/No contract

Minimum string length: 1
Examples:

"KXELONMARS-99"

"KXNBAGAME-26JAN16LALBOS-BOS"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
depth
integer | null

Maximum number of price levels to return per side

Required range: x >= 1

Response

Successful Response

ticker
string
required
@type
string
default:@kalshi_orderbook
yes
KalshiOrderbookLevel · object[]
no
KalshiOrderbookLevel · object[]