{"api":{"id":"api_c0174e6881535812a6897152","slug":"crypto-ohlcv-candles","name":"Crypto Candles (OHLCV)","description":"Open, high, low, close and volume candles for crypto pairs from Coinbase, Kraken, OKX, Gate, Bitfinex and Bitstamp in one format: 1-minute to daily candles over any date range, with quote volume, VWAP and trade counts where the exchange gives them.","kind":"ready_made","visibility":"public","domain":"exchange.coinbase.com","source_url":"https://docs.cdp.coinbase.com/exchange/reference/exchangerestapi_getproductcandles","category":"finance","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":13,"created_at":"2026-12-06T03:33:09.194Z","updated_at":"2026-12-06T03:33:09.194Z","runnable":true},"version":"1.0","contract_hash":"ca864866aacb287d59116feab8bd7fff34ae67f8ded2e9e805a59b50301648c0","fields":[{"name":"exchange","type":"string","description":"The exchange: coinbase, kraken, okx, gate, bitfinex or bitstamp.","required":true,"coverage":1,"example":"kraken"},{"name":"pair","type":"string","description":"The pair read, as BASE-QUOTE, such as BTC-USD.","required":true,"coverage":1,"example":"BTC-USD"},{"name":"interval","type":"string","description":"Candle size: 1m, 5m, 15m, 1h, 6h or 1d.","required":false,"coverage":1,"example":"1h"},{"name":"open_at","type":"datetime","description":"When the candle opened (UTC).","required":true,"coverage":1,"example":"2026-12-05T19:00:00.000Z"},{"name":"open","type":"number","description":"First trade price in the candle, in the quote currency.","required":false,"coverage":1,"example":43523.2},{"name":"high","type":"number","description":"Highest trade price in the candle.","required":false,"coverage":1,"example":43523.2},{"name":"low","type":"number","description":"Lowest trade price in the candle.","required":false,"coverage":1,"example":42541.1},{"name":"close","type":"number","description":"Last trade price in the candle (the latest price while it is still open).","required":false,"coverage":1,"example":43154.4},{"name":"volume","type":"number","description":"Amount traded in the base currency, such as BTC.","required":false,"coverage":1,"example":1094.39434119},{"name":"quote_volume","type":"number","description":"Value traded in the quote currency, such as USD (Kraken, OKX and Gate).","required":false,"coverage":1,"example":47145413.824124},{"name":"vwap","type":"number","description":"Volume-weighted average price of the candle (Kraken, OKX and Gate).","required":false,"coverage":1,"example":43079},{"name":"trades_count","type":"integer","description":"Number of trades in the candle (Kraken only).","required":false,"coverage":1,"example":11879},{"name":"is_closed","type":"boolean","description":"False for the candle that is still open; its values change until it closes.","required":false,"coverage":1,"example":true}],"inputs":[{"name":"exchanges","type":"array","description":"Exchanges to read: coinbase, kraken, okx, gate, bitfinex and bitstamp. Coinbase alone when empty.","example":["coinbase","kraken"],"enum":["coinbase","kraken","okx","gate","bitfinex","bitstamp"]},{"name":"pairs","type":"array","description":"Pairs written BASE-QUOTE, such as BTC-USD, ETH-USDT or SOL-EUR (up to 50).","example":["BTC-USD"],"required":true},{"name":"interval","type":"string","description":"Candle size: 1m, 5m, 15m, 1h, 6h or 1d. Daily and 6-hour candles follow UTC.","default":"1h","example":"1h","enum":["1m","5m","15m","1h","6h","1d"]},{"name":"start","type":"string","description":"First candle time, as a day (2026-12-01) or a UTC date and time (2026-12-01T12:00:00Z). Empty for the latest candles.","example":"2026-12-01"},{"name":"end","type":"string","description":"Last candle time, same format; a day alone means the whole day. Empty for now.","example":"2026-12-05"},{"name":"usdt_for_usd","type":"boolean","description":"When an exchange has no pair quoted in USD, read its USDT pair instead (the pair field shows which). On by default.","default":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"close":{"description":"Last trade price in the candle (the latest price while it is still open).","type":"number"},"exchange":{"description":"The exchange: coinbase, kraken, okx, gate, bitfinex or bitstamp.","type":"string"},"high":{"description":"Highest trade price in the candle.","type":"number"},"interval":{"description":"Candle size: 1m, 5m, 15m, 1h, 6h or 1d.","type":"string"},"is_closed":{"description":"False for the candle that is still open; its values change until it closes.","type":"boolean"},"low":{"description":"Lowest trade price in the candle.","type":"number"},"open":{"description":"First trade price in the candle, in the quote currency.","type":"number"},"open_at":{"description":"When the candle opened (UTC).","format":"date-time","type":"string"},"pair":{"description":"The pair read, as BASE-QUOTE, such as BTC-USD.","type":"string"},"quote_volume":{"description":"Value traded in the quote currency, such as USD (Kraken, OKX and Gate).","type":"number"},"trades_count":{"description":"Number of trades in the candle (Kraken only).","type":"integer"},"volume":{"description":"Amount traded in the base currency, such as BTC.","type":"number"},"vwap":{"description":"Volume-weighted average price of the candle (Kraken, OKX and Gate).","type":"number"}},"required":["exchange","pair","open_at"],"title":"Crypto Candles (OHLCV)","type":"object"},"samples":[{"exchange":"kraken","pair":"BTC-USD","interval":"1h","open_at":"2026-12-05T19:00:00.000Z","open":43523.2,"high":43523.2,"low":42541.1,"close":43154.4,"volume":1094.39434119,"quote_volume":47145413.824124,"vwap":43079,"trades_count":11879,"is_closed":true},{"exchange":"kraken","pair":"BTC-USD","interval":"1h","open_at":"2026-12-05T20:00:00.000Z","open":43156,"high":43500,"low":43018.8,"close":43166.7,"volume":450.77378662,"quote_volume":19487446.6467479,"vwap":43231.1,"trades_count":7863,"is_closed":true},{"exchange":"kraken","pair":"BTC-USD","interval":"1h","open_at":"2026-12-05T21:00:00.000Z","open":43171.1,"high":43898.3,"low":43098,"close":43609.2,"volume":474.35987844,"quote_volume":20656000.9066698,"vwap":43545,"trades_count":8395,"is_closed":true}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"close":1,"exchange":1,"high":1,"interval":1,"is_closed":1,"low":1,"open":1,"open_at":1,"pair":1,"quote_volume":1,"trades_count":1,"volume":1,"vwap":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.194Z","activated_at":"2026-12-06T03:33:09.194Z","active":true,"contract_hash":"ca864866aacb287d59116feab8bd7fff34ae67f8ded2e9e805a59b50301648c0","fields_count":13}]}