Overview guides: For walkthroughs and samples, see Polymarket historical data, order book data, and 5-minute markets.
[start_ts, end_ts).
Data is materialized from sparse historical captures into uniform buckets using last-value carry — each bucket reflects the most recent known value at or before that timestamp.
All historical routes require X-API-Key on the hosted API and enforce your plan’s resolution floor and history window — see Pricing.
Endpoint reference for individual routes lives in the OpenAPI spec (/openapi.json). This page covers concepts; use the spec for request/response fields.
Endpoints
Required parameters
Optional:
limit (default 100, max 200) and cursor for paginated series.
end_ts is exclusive. To query July 26 00:00 through July 26 23:59 inclusive at 1h resolution, set end_ts to 2026-07-27T00:00:00Z.Example — market order books (Starter)
1s resolution is available on every plan. On Starter, keep start_ts within the last 7 days:
Field reference
When to use token endpoints
Use token-level routes when you already have a CLOB token id:Related guides
Resolutions
Bucket sizes and plan restrictions.
Pagination
Cursor-based paging for long ranges.
Rate limits
Quotas and efficient bulk retrieval.