For the complete documentation index, see llms.txt. This page is also available as Markdown.

Market OHLCV

Data Freshness & Historical Coverage

For data freshness and historical coverage, see Data Coverage by Chain; this endpoint follows it except where noted below.

  • Covers the Polymarket prediction-markets dataset (trade and price history from November 2022), not per-chain history — see the Prediction Markets note on the coverage page.

  • Serves a price feed in fixed one-hour intervals, where the most recent candle is the current, still-forming interval that keeps updating until the hour closes.

Get Prediction Market OHLCV Candles

post

Get 1-hour OHLCV (Open, High, Low, Close, Volume) candles for a Polymarket prediction market. Candles are computed from on-chain OrderFilled events on Polygon.

What it helps to answer:

  1. What is the price history of a prediction market outcome?

  2. How has trading volume changed over time?

  3. What were the high and low prices in each time period?

Authorizations
apikeystringRequired

API key for authentication

Body

Request for OHLCV endpoint.

market_idstring · min: 1 · max: 100Required

Polymarket market ID

Example: 654412
dateany ofOptional

Date range filter (ISO 8601 date-time)

Example: {"from":"2024-01-01T00:00:00Z","to":"2024-12-31T23:59:59Z"}
order_byany ofOptional

Sort order

Example: [{"direction":"DESC","field":"period_start"}]
sortany ofOptionalDeprecated

Deprecated: use 'order_by' instead.

Responses
200

OHLCV candle data

application/json
post/api/v1/prediction-market/ohlcv

Last updated

Was this helpful?