GET /markets/{slug}/orderbook
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/limitless/markets/{slug}/orderbookCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeLive GTC YES-side order book for one CLOB market.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
slug | path | str | required | Exact market, group or stable slug. example: team-spirit-vs-parivision-1795014901470 |
Response
type: object
data key: asks
pagination: none
sample: {
"bids": "array[2]",
"asks": "array[3]",
"tokenId": "str",
"adjustedMidpoint": "float",
"midpoint": "float",
"maxSpread": "str",
"minSize": "str",
"lastTradePrice": "float"
}
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/limitless/markets/team-spirit-vs-parivision-1795014901470/orderbook"