Prediction Market

Polymarket Price History

Simple price time series for a Polymarket market — one price point per interval. Use this for tracking price trends over time. For OHLCV candlestick data (open/high/low/close for charting libraries), use price-ohlcv instead.

Data refresh: ~30 minutes

get/gateway/v1/prediction-market/polymarket/prices

Request

  • Base URL
    https://api.asksurf.ai
  • Auth
    HTTP bearer

Query parameters

condition_idstring required

Market condition identifier

Example:0x6fefc0438c7598b23531457c8c60541990d0786bd4bd9dfc3eabc8d95c291092
time_range'7d' | '30d' | '90d' | '180d' | '1y'

Window of history to return (how much data, from now backward): 7d, 30d, 90d, 180d, or 1y. Ignored when interval=latest. Distinct from interval (which sets bucket size within this window).

Example:30d
interval'1h' | '1d' | 'latest'

Bucket size for each point in the returned series: 1h (hourly), 1d (daily), or latest (single most-recent snapshot). Distinct from time_range (which sets the window size).

Example:1d

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "https://example.com/schemas/DataResponsePolymarketPricePoint.json"
}

Changes

No recorded changes to this operation across all 12 revisions of this API.