Polymarket

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.

get/v1/polymarket/price-history

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

tokenIdstring

Outcome token ID (the CLOB asset ID, decimal). Use tokenId or market, not both.

marketstring

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.

outcomestring

Outcome name when market is used, such as Yes or No (case-insensitive). Defaults to the market’s first outcome.

interval'1h' | '6h' | '1d' | '1w' | '1m' | 'all' | 'max'

Relative window: 1h, 6h, 1d, 1w, 1m, all or max. Defaults to 1d when start is not set. Cannot be combined with start.

startstring

Window start, Unix seconds, inclusive.

endstring

Window end, Unix seconds, exclusive; requires start and must be later.

bucketSecondsstring

Bucket width in seconds, 60–86400. Defaults to a width the source chooses for the window.

limitstring

Points per page, 1–5,000; defaults to 1,000.

cursorstring

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.

OR

Changes

No recorded changes to this operation across all 1 revision of this API.