Crypto Candles
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. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
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 |