Order-book microstructure history
Time series of one market's stored CLOB microstructure — best bid/ask, mid, spread, near-mid resting depth (within 1% and 5% of mid, USDC), and top-of-book size — oldest-first for charting. Source: pm_orderbook_snapshots, captured every ~15 min for the top ~150 live markets by 24h volume plus the pinned 2026 midterm markets ONLY (a market outside that set has no book history). Collection began 2026-07-16, so the window is shallow: as_of is the latest snapshot and meta.rows the count actually returned. The depth bands are RELATIVE to the mid (1% of a 3-cent mid is 0.03 cents), so on a low-priced market the 1% band can sit inside the spread and *_depth_1pct then reads 0: that 0 means the band is narrower than the gap to the best quote, not an empty book (compare mid - best_bid and best_ask - mid with 0.01 * mid; top_bid_size / top_ask_size give the size at the touch). The heavy per-level ladders are omitted unless include_levels=true (the JSONB top-5 bid/ask levels are bulky). Describes the book; never touches it.
Request
- Base URL: https://kresmion.com/v1
- URL: https://kresmion.com/v1/prediction/markets/{market_id}/book/history
- Auth: HTTP bearer
Path parameters
Query parameters
Look-back window in hours (max 30 days).
Include the top-5 bid/ask level ladders (heavy JSONB).
Headers
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.