analysis.price_history
Fetch historical OHLC price data for any market token over configurable intervals from 1 hour to 1 month. View price trends with a sparkline visualization to analyze market direction.
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.
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": "analysis.price_history"
}
}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 |