get_ohlc
Retrieve historical OHLC candlestick data for any cryptocurrency token to support technical analysis and backtesting strategies.
Instructions
OHLC candlestick history for a token. Starter tier. Useful for technical-setup agents and backtesting.
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": {
"id": "<id>"
},
"name": "get_ohlc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | CoinGecko id (e.g. 'bitcoin'). | |
| days | No | Lookback days (1-365). | |
| vs | No | Quote currency (default usd). | usd |