get_price_history
Retrieve historical price data for Polymarket tokens to analyze market trends and track performance over time. Specify token ID, time interval, and date range for customized price history analysis.
Instructions
Get historical price data for a token. Source: clobTokenIds from list_active_markets or get_market_details. If no history, returns history=[]. Example: token_id=clobTokenIds[0], interval=1h.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | Yes | The token ID to get price history for | |
| interval | No | Time interval (e.g., '1d', '1h', '1m') | |
| fidelity | No | Number of data points to return | |
| startTs | No | Start timestamp (unix seconds) | |
| endTs | No | End timestamp (unix seconds) |