Get Snapshots by Market ID
Polymarket
Get Snapshots by Market ID
Get time-series snapshots for a market using its Polymarket market ID
GET
Get Snapshots by Market ID
Get Snapshots by Market ID
Returns the market details along with its time-series snapshots, including price data and optional order book depth. This endpoint is identical to Get Snapshots but uses the Polymarket market ID instead of the slug.Request
Headers
Your API key. See Authentication.
Path parameters
The Polymarket market ID, e.g.
1843290Query parameters
Number of snapshots to return (1-1000)
Pagination offset
Include full order book data (bids and asks) in each snapshot. Set to
false for lower latency.Response
The market object (same as Get Market)
Array of snapshot objects, each containing:
time(string) — Snapshot timestamp (ISO 8601)coin_price(number) — Coin price at snapshot timeprice_up(number) — Price of the “Up” outcome (0-1)price_down(number) — Price of the “Down” outcome (0-1)orderbook_up(object, optional) — Order book for “Up” outcomeorderbook_down(object, optional) — Order book for “Down” outcome
Total number of snapshots available
Examples
Get snapshots without order book (faster)
Get snapshots with full order book
Response
Response truncated — 10 snapshots are returned with
limit=10. Each snapshot includes full order book data when include_orderbook=true.