Crypto Candles (OHLCV)
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.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from docs.cdp.coinbase.com/exchange/reference/exchangerestapi_getproductcandles
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/crypto-ohlcv-candles/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"pairs":["BTC-USD"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
13 fields.
Basics
- Exchange
The exchange: coinbase, kraken, okx, gate, bitfinex or bitstamp.
Example kraken
- Pair
The pair read, as BASE-QUOTE, such as BTC-USD.
Example BTC-USD
- Interval
Candle size: 1m, 5m, 15m, 1h, 6h or 1d.
Example 1h
- Open
First trade price in the candle, in the quote currency.
Example 43,523.2
- High
Highest trade price in the candle.
Example 43,523.2
- Low
Lowest trade price in the candle.
Example 42,541.1
- Close
Last trade price in the candle (the latest price while it is still open).
Example 43,154.4
- Volume
Amount traded in the base currency, such as BTC.
Example 1,094.394341
- Quote volume
Value traded in the quote currency, such as USD (Kraken, OKX and Gate).
Example 47,145,413.824124
- Vwap
Volume-weighted average price of the candle (Kraken, OKX and Gate).
Example 43,079
- Trades count
Number of trades in the candle (Kraken only).
Example 11,879
- Closed
False for the candle that is still open; its values change until it closes.
Example Yes
Dates
- Open at
When the candle opened (UTC).
Example Dec 5, 2026
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
exchange | text | Exchange | 3 of 3 |
pair | text | Pair | 3 of 3 |
interval | text | Interval | 3 of 3 |
open_at | date and time | Open at | 3 of 3 |
open | number | Open | 3 of 3 |
high | number | High | 3 of 3 |
low | number | Low | 3 of 3 |
close | number | Close | 3 of 3 |
volume | number | Volume | 3 of 3 |
quote_volume | number | Quote volume | 3 of 3 |
vwap | number | Vwap | 3 of 3 |
trades_count | number | Trades count | 3 of 3 |
is_closed | yes or no | Closed | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Exchange | Pair | Interval | Open | High | Low | Close | Volume | Quote volume | Vwap | Trades count | Closed | Open at |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | kraken | BTC-USD | 1h | 43,523.2 | 43,523.2 | 42,541.1 | 43,154.4 | 1,094.394341 | 47,145,413.824124 | 43,079 | 11,879 | Yes | Dec 5, 2026 |
| 2 | kraken | BTC-USD | 1h | 43,156 | 43,500 | 43,018.8 | 43,166.7 | 450.773787 | 19,487,446.646748 | 43,231.1 | 7,863 | Yes | Dec 5, 2026 |
| 3 | kraken | BTC-USD | 1h | 43,171.1 | 43,898.3 | 43,098 | 43,609.2 | 474.359878 | 20,656,000.90667 | 43,545 | 8,395 | Yes | Dec 5, 2026 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Kraken keeps only its latest 720 candles of each size (12 hours of 1-minute candles, 30 days of hourly ones) and Gate its latest 10,000; an earlier start returns what is left there, with a note.
- Kraken and Gate have no 6-hour candles: theirs are built from hourly candles in UTC blocks starting at 00:00, 06:00, 12:00 and 18:00, so Kraken's 6h history covers about 30 days.
- quote_volume and vwap come only from Kraken, OKX and Gate, and trades_count only from Kraken. Some exchanges leave out intervals with no trades.
- An exchange without the pair is skipped with a note. OKX and Gate list few USD pairs (Gate's trade thinly): with usdt_for_usd on, a missing USD pair is read as its USDT pair and the pair field says so.
- Without start, each pair on each exchange returns its latest candles, max_items shared evenly (at most 5,000 each). One run returns at most 50,000 candles.
- KuCoin is not offered: it refuses requests from the region our API reads from. Prices and volumes are as each exchange publishes them, each exchange's terms apply, and requests are spaced to respect their limits.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.