OHLCV candles for a Coinbase trading pair at 1m, 5m, 15m
crypto_candlesOHLCV candles for a Coinbase trading pair (BTC-USD) at 1m, 5m, 15m, 1h, 6h or 1d granularity, up to 300, newest first, from Coinbase Exchange public market data. Prices are that venue's trades only; when Coinbase is rate-limited the same candles come from Kraken or Bitstamp and source names the venue. Information only, not financial advice. Related tools on this server, for a different need: crypto_orderbook when you need a level-2 order book snapshot for a Coinbase pair: best bid; crypto_indicators when you need Technical indicators for one crypto pair and interval. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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": {
"pair": "<pair>"
},
"name": "crypto_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Coinbase product, e.g. BTC-USD | |
| limit | No | 1 to 300 (default 100) | |
| granularity | No | 1m, 5m, 15m, 1h, 6h or 1d (default 1h) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | No | ||
| count | No | ||
| source | No | ||
| candles | No | ||
| checkedAt | No | ||
| disclaimer | No | ||
| granularity | No |