getTokenChart
Retrieve historical price chart data for cryptocurrency tokens to analyze market trends and performance over time using DeFi Llama data.
Instructions
Gets historical price chart data for one or more tokens from DeFi Llama
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": {
"tokens": "<tokens>"
},
"name": "getTokenChart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokens | Yes | Token identifier in format "chain:address" (e.g., "ethereum:0x...", "coingecko:ethereum") or array of such identifiers | |
| period | No | Time interval between data points. Format: 1h, 4h, 1d, 1w (defaults to "1d") | 1d |
| startTime | No | ISO timestamp for the start time (e.g., "2025-01-01T00:00:00Z") | |
| options | No | Optional configuration for the chart data |