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
string
required
Your API key. See Authentication.
Path parameters
string
required
The Polymarket market ID, e.g.
1843290Query parameters
integer
default:"1000"
Number of snapshots to return (1-1000)
integer
default:"0"
Pagination offset
boolean
default:"false"
Include full order book data (bids and asks) in each snapshot. Set to
false for lower latency.Response
object
The market object (same as Get Market)
array
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
integer
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.