Order Book
Returns the full order book for a token, including all bid and ask price levels, market properties, and PolyNode metadata enrichment.
The response format is compatible with Polymarket’s CLOB API. Data is served from PolyNode’s live orderbook engine, which maintains real-time state via WebSocket deltas from Polymarket.
Identifier types
The{token_id} parameter accepts three identifier types. The response format depends on which type you use:
| Identifier | Format | Returns |
|---|---|---|
| Token ID | All digits, 70+ chars | Single book for one outcome (Polymarket-compatible) |
| Condition ID | Starts with 0x | Both outcomes for one market (Yes + No) |
| Slug | Human-readable string | All outcomes across all markets in the event |
By token ID (single outcome)
Best when you already have a specific token ID and want the exact Polymarket-compatible format./book format exactly, plus a metadata field:
By condition ID (both outcomes)
Best when you want both sides of a market at once. Condition IDs start with0x.
By slug (all outcomes across markets)
Best for getting a complete view of an event. Slugs are the human-readable event identifiers from Polymarket (e.g.netanyahu-out-before-2027). An event may have multiple markets, each with their own outcomes.
slug instead of condition_id at the top level.
Fields (single-token response)
| Field | Type | Description |
|---|---|---|
market | string | Market condition ID (hex) |
asset_id | string | Token ID |
timestamp | string | Unix timestamp in milliseconds |
hash | string | 40-character hex hash of the book state |
bids | array | Bid price levels, sorted ascending by price |
asks | array | Ask price levels, sorted descending by price |
min_order_size | string | Minimum order size for this market |
tick_size | string | Minimum price increment (e.g. "0.01" or "0.001") |
neg_risk | boolean | Whether this is a neg-risk market |
last_trade_price | string | Last traded price |
metadata | object | PolyNode enrichment: question, slug, outcomes, condition_id, image |
Notes
tick_sizeandmin_order_sizevary per market. They are sourced from the Gamma API, not hardcoded.- Bids are sorted ascending by price (best bid is the last element). Asks are sorted descending (best ask is the last element). This matches Polymarket’s sort order.
- If no book exists for the requested identifier, returns a 404 with
{"error": "No orderbook exists for the requested token id"}.
Authorizations
Path Parameters
Token ID (all digits), condition ID (starts with 0x), or event slug. Token ID returns a single book; condition ID and slug return all outcomes.
Response
Order book snapshot
Full order book snapshot. Base fields match Polymarket's CLOB /book response exactly. The metadata field is a PolyNode addition.
Market condition ID (hex)
Token ID
Unix timestamp in milliseconds (as string)
40-character hex hash of the book state
Bid price levels, sorted ascending by price
Ask price levels, sorted descending by price
Minimum order size for this market (e.g. "5")
Minimum price increment for this market (e.g. "0.01" or "0.001")
Whether this is a neg-risk market
Last trade price (e.g. "0.540")
PolyNode market metadata enrichment (not present in Polymarket's CLOB API).

