Get Clob Book By Path
Path-param alias for GET /v1/book?token_id=... — see that
route for the full contract (PM-parity field set, level ordering,
min_order_size derivation). This handler is a thin delegate
so the two paths always return the same shape.
Path Parameters
Query Parameters
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.
1 <= x <= 500Response
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.