Get price history
get_price_historyUse this when the user asks how the odds of a prediction market have changed over time — for example "how have the Fed October odds moved this week", "chart the Bitcoin $150K odds over the last month", "when did Gavin Newsom's 2028 chances jump", or "show the price history of this market". Accepts a market or event slug, a supported market or event link, a condition id, or the question in words, plus an optional outcome name and time range (1d, 1w, 1m, 3m or all; default 1w). Returns the outcome's market-implied probability at the start and end of the range, the change in percentage points, the high and low, and a chart in the card. Prices come from Polymarket.com's order-book history; quiet markets can have gaps, which are left unfilled. For a closed or resolved market the range ends when trading closed. Read-only and informational, not advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Time range: 1d, 1w, 1m, 3m, or all (since the first recorded price). Default 1w | |
| market | Yes | The market or event: a slug such as 'fed-decision-in-october-20260617190323537', a supported market or event link, a condition id (0x + 64 hex), or the question in words | |
| outcome | No | Which outcome to chart, e.g. 'No change', 'Gavin Newsom', 'Yes' or 'No'. Default: the leading open outcome of a multi-outcome event, or the first outcome (usually Yes) of a single market |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| kind | Yes | ||
| range | Yes | ||
| title | Yes | ||
| points | Yes | ||
| change_pts | Yes | ||
| market_slug | Yes | ||
| outcome_label | Yes | ||
| end_probability | Yes | ||
| low_probability | Yes | ||
| high_probability | Yes | ||
| start_probability | Yes |