Get Crypto Price History
crypto.price.historyRetrieve historical price data for any cryptocurrency, supporting configurable date range, interval, and output format (timeseries or OHLCV).
Instructions
Get price history for a cryptocurrency
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin_id | Yes | CoinGecko coin ID (e.g. bitcoin, ethereum) | |
| days | No | Number of days of history (1-365) | |
| interval | No | Data point interval for price history (5m, hourly, or daily) | |
| format | No | Response format: timeseries (price points) or ohlcv (candlestick data) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |