---
title: "Polymarket Price History"
method: GET
path: "/gateway/v1/prediction-market/polymarket/prices"
tags: ["Prediction Market"]
---

# Polymarket Price History

`GET /gateway/v1/prediction-market/polymarket/prices`

## Request

- Base URL: `https://api.asksurf.ai`
- URL: `https://api.asksurf.ai/gateway/v1/prediction-market/polymarket/prices`
- Auth: HTTP bearer

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

## Query parameters

- `condition_id` string, required: Market condition identifier
- `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).
- `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).

## Response `200`

OK

- DataResponsePolymarketPricePoint
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `data` PolymarketPricePoint[], nullable, required
    - `side_a` PolymarketPriceSide
      - `label` string, required: Outcome label such as `Yes` or `No`
      - `price` number, double, required: Average price over the interval (0-1)
      - `token_id` string, required: Outcome token identifier
    - `side_b` PolymarketPriceSide
      - `label` string, required: Outcome label such as `Yes` or `No`
      - `price` number, double, required: Average price over the interval (0-1)
      - `token_id` string, required: Outcome token identifier
    - `timestamp` integer, required: Interval start Unix timestamp in seconds
  - `meta` OffsetMeta, required
    - `cached` boolean, required: Whether this response was served from cache
    - `credits_used` integer, required: Credits deducted for this request
    - `empty_reason` string: Hint explaining why the data array is empty, when applicable
    - `has_more` boolean: Whether more items may exist beyond this response. For offset-paged endpoints, continue with a larger offset. For time-series endpoints without offset/cursor controls, true means the requested time range hit an upstream cap; narrow from/to to continue. Omitted when exhaustion cannot be proven.
    - `limit` integer, required: Maximum number of items returned in this response
    - `offset` integer, required: Number of items skipped (pagination offset)
    - `total` integer: Total number of matching items (before pagination). Omitted when total is unknown.
    - `watermark` integer: Warehouse watermark (Unix seconds) this response was computed at, on warehouse-backed endpoints (e.g. Hyperliquid /trades/aggregate) — rows up to this time come from the warehouse, newer rows from the live tail. Omitted elsewhere.

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/asksurf/apis/asksurf-public-rest-api.md) - [All operations](https://skmtc.dev/asksurf/apis/asksurf-public-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/asksurf/apis/asksurf-public-rest-api/revisions/91774fdd5302?raw)
