analysis.price_history
Fetch historical OHLC price data for market tokens to analyze price trends with configurable time intervals and sparkline visualizations.
Instructions
Fetch historical OHLC price data for a market token over a configurable time window (1h to 1m). Returns price points with a sparkline visualization showing the price trend. Pro feature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | Yes | Market token ID to fetch price history for | |
| interval | No | Time window: 1h, 6h, 1d, 1w, or 1m | 1d |