Get Polymarket price history
polymarket_get_price_historyFetch historical prices and implied probabilities for a Polymarket market outcome to track movement and find entry or exit points, plus summary stats.
Instructions
Get the historical price (implied probability over time) for one market outcome, plus summary stats.
Use this to see how a market moved and where you might have entered or exited. Identify the outcome by token_id (preferred) OR slug + outcome.
Args:
token_id (string, optional): the ~77-digit CLOB token id.
slug (string, optional) + outcome (string, optional): e.g. slug + "Yes".
interval ('1h'|'6h'|'1d'|'1w'|'1m'|'max'): look-back window (default '1w').
fidelity (number, optional): minutes between points.
max_points (number): downsample to at most this many points (default 150).
response_format ('markdown' | 'json'): default 'markdown'.
Returns: { tokenId, outcome, interval, count, truncated, summary:{first,last,min,max,changeAbs,changePct,from,to}, points:[{t, iso, p}] }. Prices are 0-1 (probability). 'count' is the number of returned points; 'truncated' indicates downsampling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Market slug — alternative to token_id. Combine with 'outcome'. | |
| outcome | No | Outcome name to select when using 'slug' (e.g. 'Yes' or 'No'). Defaults to the first outcome. | |
| fidelity | No | Resolution in minutes between points (optional; the API picks a sensible default). | |
| interval | No | Look-back window: 1h, 6h, 1d, 1w, 1m or max (default 1w). | 1w |
| token_id | No | CLOB token id (the ~77-digit id for ONE outcome). Preferred when you already have it. | |
| max_points | No | Downsample the series to at most this many points (default 150). | |
| response_format | No | Output format: 'markdown' (concise, human-readable; default) or 'json' (full structured data). | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| points | Yes | ||
| outcome | Yes | ||
| summary | Yes | ||
| tokenId | Yes | ||
| interval | Yes | ||
| truncated | Yes |