POST /books
Auth X-Hub-Key from API_HUB_KEYExecute
POST /run/polymarket/booksCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing freeGet order books for many outcome tokens (batch read POST).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
body | body | list[dict] | required | JSON array of {token_id} objects example: [{"token_id":"36088210133441631881314822267289702467350647371635978758429075305586609425677"}] |
Response
type: array
pagination: none
sample: {
"[0]": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sX POST "https://openapihub.dev/run/polymarket/books" \
-H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{"body": [{"token_id": "36088210133441631881314822267289702467350647371635978758429075305586609425677"}]}'