Get Polymarket price history
Retrieve the price history of one outcome token as timestamped points. Choose a relative interval or a start and end time, set the bucket width, and page with the returned cursor. Each successful request costs 1 account credit, including partial results. Failed requests cost 0 credits.
Request
- Base URL: https://api.scrapeatlas.com
- URL: https://api.scrapeatlas.com/v1/polymarket/price-history
- Auth: API key in header x-api-key
Query parameters
Outcome token ID (the CLOB asset ID, decimal). Use tokenId or market, not both.
Market slug, numeric market ID, condition ID (0x plus 64 hex characters), or a polymarket.com/event/<event>/<market> or /market/<slug> URL. An event URL without a market segment selects the single market that shares the event slug. Use with outcome to pick an outcome token.
Outcome name when market is used, such as Yes or No (case-insensitive). Defaults to the market’s first outcome.
Relative window: 1h, 6h, 1d, 1w, 1m, all or max. Defaults to 1d when start is not set. Cannot be combined with start.
Window start, Unix seconds, inclusive.
Window end, Unix seconds, exclusive; requires start and must be later.
Bucket width in seconds, 60–86400. Defaults to a width the source chooses for the window.
Points per page, 1–5,000; defaults to 1,000.
Optional nextCursor from the previous response. Send the same other parameters with it; omit it for the first page.
Response
Inspect the response status and failure or coverage fields.
Changes
No recorded changes to this operation across all 1 revision of this API.