ohlc
[$0.005 USDC per call via x402] OHLC candlestick data for any CoinGecko coin id (1, 7, 14, 30, 90, 180, 365 days).
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": "ohlc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | CoinGecko coin id, e.g. bitcoin | |
| vs | No | Quote currency (default usd) | |
| days | No | 1 | 7 | 14 | 30 | 90 | 180 | 365 |