Skip to main content
GET
Get Clob Book By Path

Path Parameters

token_id
string
required

Query Parameters

depth
integer | null

OPTIONAL trim: keep only the best N levels per side. Default (omitted) returns the FULL book — Polymarket's wire contract (PM has no depth param). Pre-2026-06-11 the default silently truncated to 10 levels (max 50), so ported depth/imbalance/queue-position logic computed on a sliver of the real book.

Required range: 1 <= x <= 500

Response

Successful Response

Polymarket-compat OrderBookSummary.

The PM-CLOB GET /book response carries metadata fields (market, asset_id, hash, timestamp, min_order_size, tick_size, neg_risk, last_trade_price) that SDK consumers ported from Polymarket clients depend on — particularly tick_size for client-side price quantization and neg_risk for routing through the correct contract. Pre-this-PR the response was a Polysimulator minimum (token_id, bids, asks, spread, mid) that would silently break PM-ported SDKs at parse time.

The legacy fields (spread, mid) are kept for back-compat with existing Polysimulator SDK consumers who relied on them. Polymarket's actual /book doesn't return either; they're Polysimulator extensions and documented as such.

token_id
string
required
bids
BookLevel · object[]
asks
BookLevel · object[]
timestamp
string | null
market
string | null
asset_id
string | null
hash
string | null
min_order_size
string | null
tick_size
string | null
neg_risk
boolean | null
last_trade_price
string | null
spread
string | null
mid
string | null
stale
boolean | null