GET /v1/info/book
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/polymarket/v1/info/bookCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeGet the perpetual order book.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
instrument_id | query | int | required | Perpetual instrument id — the numeric `instrument_id` from /v1/info/instruments (e.g. ETH-USD) example: 7 |
Response
type: object
data key: bids
pagination: none
sample: {
"instrument_id": "int",
"bids": "array[36]",
"asks": "array[26]",
"timestamp": "int",
"sequence": "int"
}
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/polymarket/v1/info/book?instrument_id=7"