get_price_history
Fetch historical price time-series data for a specified token to chart trends and analyze price movements over custom or preset intervals.
Instructions
Retrieve historical price time-series data for a specified token.
Provides a chronologically ordered list of objects containing timestamp and price data, facilitating charting and trend analysis.
Args: token_id (str): The fundamental token ID associated with a specific outcome. interval (Optional[str]): A predefined time window ending at the current moment. Valid options include: '1h', '6h', '1d', '1w', '1m', 'max'. This parameter is mutually exclusive with 'start_ts'/'end_ts'. fidelity (Optional[int]): The data resolution expressed in minutes (e.g., 60 for hourly data, 1440 for daily data). start_ts (Optional[int]): The starting Unix timestamp in UTC. Use in conjunction with 'end_ts' instead of 'interval'. end_ts (Optional[int]): The ending Unix timestamp in UTC. Use in conjunction with 'start_ts' instead of 'interval'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_ts | No | ||
| fidelity | No | ||
| interval | No | ||
| start_ts | No | ||
| token_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |