API & Developers

Polymarket Market Snapshots API: Historical Order Book States

Fetch Polymarket market snapshots through an API built for historical order book replay, backtesting, and liquidity analysis.

A Polymarket market snapshots API should return timestamped order book states for a market, not just the latest CLOB view. That makes it possible to replay depth over time.

API Response Fields

  • Market id and slug
  • Snapshot timestamp
  • UP and DOWN best bid and ask
  • Full bid and ask ladders
  • Reference price and market resolution metadata

Developer Workflow

  1. Find a market or market family.
  2. Request snapshots for the desired time window.
  3. Paginate through the full history.
  4. Replay snapshots in timestamp order.
  5. Calculate fills, spreads, and strategy metrics.

API vs Static Download

NeedBest option
Interactive backtestSnapshots API
Offline researchCSV or Parquet export
Live bot calibrationAPI plus cached snapshots

Related Resources