Early access is open. Free sample datasets are live now. Download a sample

Data product · Early access

Crypto Historical Data: OHLCV Download and API

Exchange-level candles from 1 second to 1 day, with VWAP, trade count and taker buy volume on every bar, so your backtest runs on the venue you actually trade.

Coverage

What you get

Item Detail
Product code CR-BARS
Coverage Spot pairs on the exchanges we carry, per exchange, plus a cross-venue aggregate
Granularity 1s, 1m, 5m, 1h, 1d
History Free: full daily history and 30 days of 1-minute. Starter: 5 years of 1-minute. Pro: 1-second bars and full history
Delivery REST, WebSocket bars, CSV or Parquet files
Update speed Bars close on the interval boundary in UTC; files refresh daily

Most crypto price sites give you an aggregated candle with open, high, low, close and volume. That's fine for a chart. For a backtest you want the exchange you'll trade on, the quote volume to size against, and taker buy volume to see who was aggressive. All of that comes on every bar here.

Schema

Schema

Field names match our published sample files.

Field Type Required Description
symbol string yes Pair, e.g. BTC-USDT
exchange string optional Venue code, e.g. binance; null for our cross-venue aggregate
interval string yes 1s, 1m, 5m, 1h, 1d
timestamp string yes Bar start, ISO 8601 UTC
open number yes First trade price
high number yes Highest trade price
low number yes Lowest trade price
close number yes Last trade price
volume number yes Base-asset volume
quote_volume number yes Quote-asset volume
vwap number optional Volume-weighted average price
trade_count integer optional Trades in the bar
taker_buy_volume number optional Base volume where the buyer was the aggressor
market_cap number optional Only on daily aggregate bars

Example record, built from the first row of the BTC 1-minute sample:

{
  "symbol": "BTC-USDT",
  "exchange": "binance",
  "interval": "1m",
  "timestamp": "2026-10-31T15:40:00Z",
  "open": 77598.76,
  "high": 77598.76,
  "low": 77598.75,
  "close": 77598.76,
  "volume": 6.02156,
  "quote_volume": 467265.57,
  "vwap": 77598.76,
  "trade_count": 479,
  "taker_buy_volume": 4.31787
}

Sample data

Sample data

Bitcoin and Ethereum Daily OHLCV, July to October 2026. First 10 rows:

symbol interval timestamp open high low close volume quote_volume vwap trade_count taker_buy_volume
BTC-USDT 1d 2026-07-01T00:00:00Z 58624.71 61334 57800.19 60024 25093.44662 1491051306.82 59419.95 4166849 12936.11295
BTC-USDT 1d 2026-07-02T00:00:00Z 60024 62200 59588 61560 21382.14163 1308156569.72 61179.87 3883096 11394.85517
BTC-USDT 1d 2026-07-03T00:00:00Z 61560 62979.86 61248.86 62583.26 14048.98627 870359931.58 61951.8 2571531 7249.98683
BTC-USDT 1d 2026-07-04T00:00:00Z 62583.26 63461.99 62328.24 63144.01 9139.8274 574233846.08 62827.65 1643288 4753.53597
BTC-USDT 1d 2026-07-05T00:00:00Z 63144.01 63999 62436.59 63650 9172.07758 577866444.61 63002.79 1790183 4565.93641
BTC-USDT 1d 2026-07-06T00:00:00Z 63650.01 64700 61306.84 64042.02 21435.28437 1347956046.4 62884.92 3777895 11556.55192
BTC-USDT 1d 2026-07-07T00:00:00Z 64042.93 64314 62671.39 63363.99 16834.20823 1069267686.89 63517.55 3282102 8128.20476
BTC-USDT 1d 2026-07-08T00:00:00Z 63364 63761.99 61544.56 62290 18620.09796 1160087170.62 62302.96 3598487 8338.57026
BTC-USDT 1d 2026-07-09T00:00:00Z 62290.01 63500 61705.29 63230 16742.80672 1050849813.27 62764.26 3176050 7922.48357
BTC-USDT 1d 2026-07-10T00:00:00Z 63230.01 64692.83 62926.01 64161.72 17589.00122 1126097961 64022.85 2927425 8727.5029

Source: Binance

Ethereum 1-Minute OHLCV Bars, the last 500 minutes of October 2026. First 10 rows:

symbol interval timestamp open high low close volume quote_volume vwap trade_count taker_buy_volume
ETH-USDT 1m 2026-10-31T15:40:00Z 2251.51 2251.52 2251.5 2251.52 3.7209 8377.64 2251.51 75 1.527
ETH-USDT 1m 2026-10-31T15:41:00Z 2251.51 2251.77 2251.51 2251.76 70.4731 158675.4 2251.57 201 14.0621
ETH-USDT 1m 2026-10-31T15:42:00Z 2251.76 2251.77 2250.75 2250.75 16.8647 37967.33 2251.29 355 0.8672
ETH-USDT 1m 2026-10-31T15:43:00Z 2250.76 2251.4 2250.75 2251.39 50.8198 114410.24 2251.29 307 41.6652
ETH-USDT 1m 2026-10-31T15:44:00Z 2251.39 2251.4 2251.13 2251.13 23.5365 52985.65 2251.21 219 7.1208
ETH-USDT 1m 2026-10-31T15:45:00Z 2251.13 2251.14 2250.75 2250.75 49.6212 111687.09 2250.79 320 35.1576
ETH-USDT 1m 2026-10-31T15:46:00Z 2250.75 2250.85 2250.75 2250.84 15.3442 34536.41 2250.78 245 5.9867
ETH-USDT 1m 2026-10-31T15:47:00Z 2250.84 2251.35 2250.84 2251.34 29.3644 66100.13 2251.03 332 14.3589
ETH-USDT 1m 2026-10-31T15:48:00Z 2251.34 2251.4 2250.9 2250.9 46.8455 105464.69 2251.33 303 4.6041
ETH-USDT 1m 2026-10-31T15:49:00Z 2250.89 2250.89 2249.96 2250.32 91.9527 206917.77 2250.26 472 13.1679

Source: Binance

More samples Rows Download
Bitcoin 1-Minute OHLCV Bars 500 ZIP, 35.6 KB
Ethereum 1-Minute OHLCV Bars 500 ZIP, 34.0 KB
Solana 1-Minute OHLCV Bars 500 ZIP, 29.3 KB
Bitcoin and Ethereum Daily OHLCV 246 ZIP, 26.7 KB
Altcoin Daily OHLCV (SOL, XRP, BNB, DOGE, ADA) 615 ZIP, 54.9 KB

Source: Binance. Check Binance's terms before commercial display.

Use cases

Use cases

Intraday strategy backtests. Run a breakout or mean-reversion rule on 1-minute close, and size each trade against quote_volume so you never assume fills bigger than the bar traded.

Aggressor imbalance. taker_buy_volume divided by volume gives the share of volume from aggressive buyers. Readings near 1 or 0 across several bars mark one-sided pressure, often ahead of a range break.

VWAP execution benchmarks. Compare your fill price with the bar's vwap. Averaged over a month of trades, the gap is your real execution cost.

Liquidity screens. Average daily trade_count and quote_volume across pairs to decide which altcoins are liquid enough to trade at your size.

Code

Code examples

Example: SOL 1-minute bars for one day.

curl "https://api.marketdata.co/v1/crypto/bars?symbol=SOL-USDT&exchange=binance&interval=1m&start=2026-10-31&end=2026-11-01" \
  -H "Authorization: Bearer $MARKETDATA_API_KEY"

Example: Python, resample the free 1-minute sample to 15-minute bars.

import pandas as pd

bars = pd.read_csv("btc-usdt-1m-bars.csv", parse_dates=["timestamp"])
bars = bars.set_index("timestamp")
agg = {"open": "first", "high": "max", "low": "min", "close": "last",
       "volume": "sum", "quote_volume": "sum", "taker_buy_volume": "sum"}
b15 = bars.resample("15min").agg(agg)
b15["taker_share"] = b15["taker_buy_volume"] / b15["volume"]
print(b15.head())

Pricing

Pricing

Plan Crypto bars
Free, $0 Daily bars, full history; 1-minute bars for the last 30 days
Starter, $29/mo 1-minute bars, 5 years, all covered exchanges
Pro, $79/mo 1-second bars and full history
Business, $249/mo Commercial use

Dataset: 1-minute bars at $5 per pair per year; daily bars free. Among the providers we studied, many have a free tier, and paid plans start between $12.50 and $1,000 a month, with a median of $49.50.

Side by side

How we compare

23 of the 50 providers we studied sell crypto bars, more than any other product line. At the low end, $29 to $35 usually buys aggregated candles or short minute history. We put exchange-level 1-minute history on Starter, sell single pair-years as files you keep, and use the same field names in the API and the files, so a sample loader runs on a full purchase unchanged.

FAQ

Frequently asked questions

When does a daily crypto bar start and end?

At 00:00 UTC. Crypto trades all week with no close, so the cut is a convention; we use UTC midnight on every exchange.

Is timestamp the open or close of the bar?

The open. A 1-minute bar stamped 15:40:00Z covers trades from 15:40:00 up to 15:41:00 UTC.

Are prices adjusted in any way?

No. Crypto has no splits or dividends, so bars are raw trade prices. If a coin migrates to a new token, the instrument list is where that change will show.

How do I spot minutes with no trades?

Check trade_count and the gaps between timestamps. A count of 0, or a missing minute, means nothing traded on that venue, which happens on thin pairs. Decide how to treat those before you resample.

Are the bars real-time?

WebSocket bars are planned with the API plans. Free and Starter bars are available after each interval closes.

Which formats can I download?

CSV or Parquet for datasets, JSON from the API. The free sample ZIPs hold CSV and JSON.

Keep reading