Product Candles
product_candlesCoinbase Exchange OHLC candles for a crypto pair. Granularity 1m, 5m, 15m, 1h, 6h, 1d. Use for charting and backtesting on Coinbase-listed pairs.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_id": "BTC-USD",
"granularity": 3600
},
"name": "product_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| product_id | Yes | ||
| granularity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of items returned. | |
| items | Yes | OHLC candles |