getPredictionPriceHistory
Retrieve historical price time series for prediction outcome tokens by token IDs or event ID. Ideal for charting and trend analysis.
Instructions
Query historical price data for prediction outcome tokens. Returns price time series for chart display.
Two modes:
By tokenIds: specify up to 20 token IDs directly
By eventId: specify an event to get price history for all its tokens
The interval controls the time range: 1H, 6H, 1D, 1W, 1M, or ALL.
The fidelity controls how many minutes between data points (0 = auto).
Note: This endpoint has stricter rate limits (2 req/s) due to no caching.
Agent hint: Use this to get price chart history for specific tokens or events. Use interval=1D for daily view, interval=1W for weekly trend analysis. Prefer querying by tokenIds when you know the specific tokens. Do NOT use this for current prices — use getPredictionTokenPrice instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventId | No | ||
| fidelity | No | ||
| interval | Yes | ||
| tokenIds | No |