Historical crypto token prices
crypto_price_historyHistorical USD prices for one token: hourly, 4-hourly, daily or weekly points for the last 1-365 days (max 500 points). Token by symbol (btc, eth, sol…), coingecko: or :. Returns the price series plus summary: first, last, change %, high, low and annualised volatility. DefiLlama aggregated prices. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.
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": "<token>"
},
"name": "crypto_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back in days 1-365 (default 30) | |
| token | Yes | One token: symbol (eth), coingecko:<id>, or <chain>:<contract> | |
| period | No | Point spacing: 1h, 4h, 1d (default), 1w |