get_price_history
Retrieve historical OHLC price data for a Polymarket market token. Define token ID, date range, and resolution to analyze price trends and past performance.
Instructions
Get historical price data (OHLC). Note: Limited availability via public API.
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": {
"token_id": "<token_id>"
},
"name": "get_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End date (ISO format or timestamp) | |
| token_id | Yes | Token ID | |
| resolution | No | Time resolution (default: 1h) | 1h |
| start_date | No | Start date (ISO format or timestamp) |