get_ohlc
Retrieve OHLC candlestick data for any token to perform technical analysis and backtest trading 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'). | |
| vs | No | ||
| days | No | Lookback days (1-365). |