---
title: "Get Price History"
method: GET
path: "/api/workflows/polymarket/getPriceHistory"
---

# Get Price History

`GET /api/workflows/polymarket/getPriceHistory`

Retrieve historical price data for a specific token over a given time interval.

## Query parameters

- `clobTokenId` string, required
- `interval` '1hr' | '1d' | '1w' | '1m' | 'max', required

## Response `200`

Price history data

- object
  - `history` object[], required
    - `t` integer, required — Unix timestamp
    - `p` number, float, required — Price at timestamp

## Other responses

- `400` — Bad request due to missing or invalid parameters
- `401` — Unauthorized - Invalid or missing API key
- `500` — Internal server error

---

[API](https://skmtc.dev/swaps/apis/prediction-market-data-api.md) · [All operations](https://skmtc.dev/swaps/apis/prediction-market-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/swaps/prediction-market-data-api/revisions/03e917d60cb7/schema)
