Get Polymarket price history
get_price_historyRetrieve historical mid-price time series for a prediction market outcome token. Get summary statistics (first, last, min, max, change) and raw data points, with automatic downsampling for compact responses.
Instructions
Historical mid-price time series for one outcome token. Returns summary stats (first/last/min/max, change) plus the raw points (Unix seconds t, probability p). Large series are downsampled to keep responses compact.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tokenId": "<tokenId>"
},
"name": "get_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenId | Yes | CLOB token ID of the outcome to chart | |
| interval | No | Look-back window (default '1w') | |
| fidelity | No | Resolution in minutes between data points (e.g. 60 = hourly). Defaults per interval if omitted. |