Get Token Price Historical
get_token_price_historicalGet historical price data for crypto tokens over a specified time window (1–365 days). Returns period statistics (start, end, % change, high, low) plus a downsampled daily price series, plus high_30d (raw observation maximum), std_30d (population standard deviation of daily returns as a decimal), and dca_baseline_90d (weekly samples over the preceding 90 UTC days, excluding the latest observation). dca_baseline_90d_partial identifies incomplete history. Use for period comparisons (month-over-month, YTD), trend analysis, and price charts. Prefer over web_search for time-comparative financial queries. Pass stats_only=true when the daily series is unnecessary. These metrics are pre-computed and should not be re-derived with calculate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback window in days (1–365). 1=5-min granularity, 2-90=hourly, 91+=daily. | |
| tokens | Yes | Token symbols or CoinGecko IDs (e.g. ['BTC', 'ETH']). Max 10 per call. | |
| stats_only | No | If true, omit the daily price series and return period stats plus precomputed 30-day high/volatility and 90-day DCA baseline metrics. | |
| vs_currency | No | Quote currency (usd, eur, gbp, btc, eth). Lowercase 3–10 letters. | usd |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| tokens | Yes | ||
| vs_currency | Yes |