Dataset Viewer
Auto-converted to Parquet Duplicate
agg_id
int64
11.8M
150M
price
float64
0.08
2.47
quantity
float64
1
6.73M
first_trade_id
int64
18.8M
243M
last_trade_id
int64
18.8M
243M
timestamp
int64
1,596B
1,622B
is_buyer_maker
bool
2 classes
symbol
stringclasses
1 value
market
stringclasses
1 value
11,938,541
0.1451
761
18,963,807
18,963,807
1,596,322,389,189
true
ADAUSDT
futures
11,938,542
0.14516
1
18,963,808
18,963,808
1,596,322,389,341
false
ADAUSDT
futures
11,938,543
0.14516
1
18,963,809
18,963,809
1,596,322,389,539
false
ADAUSDT
futures
11,938,544
0.14516
1
18,963,810
18,963,810
1,596,322,389,775
false
ADAUSDT
futures
11,938,545
0.14509
1,064
18,963,811
18,963,811
1,596,322,389,857
true
ADAUSDT
futures
11,938,546
0.14516
2
18,963,812
18,963,813
1,596,322,389,936
false
ADAUSDT
futures
11,938,547
0.14508
2,219
18,963,814
18,963,814
1,596,322,390,012
true
ADAUSDT
futures
11,938,548
0.14508
1
18,963,815
18,963,815
1,596,322,390,141
false
ADAUSDT
futures
11,938,549
0.14508
1
18,963,816
18,963,816
1,596,322,390,368
false
ADAUSDT
futures
11,938,550
0.14508
1
18,963,817
18,963,817
1,596,322,390,529
false
ADAUSDT
futures
11,938,551
0.14508
1
18,963,818
18,963,818
1,596,322,390,698
false
ADAUSDT
futures
11,938,552
0.14508
1
18,963,819
18,963,819
1,596,322,390,890
false
ADAUSDT
futures
11,938,553
0.14505
854
18,963,820
18,963,820
1,596,322,391,061
true
ADAUSDT
futures
11,938,554
0.14515
1
18,963,821
18,963,821
1,596,322,391,123
false
ADAUSDT
futures
11,938,555
0.1451
1
18,963,822
18,963,822
1,596,322,391,282
false
ADAUSDT
futures
11,938,556
0.1451
1
18,963,823
18,963,823
1,596,322,391,453
false
ADAUSDT
futures
11,938,557
0.1451
1
18,963,824
18,963,824
1,596,322,391,690
false
ADAUSDT
futures
11,938,558
0.1451
1
18,963,825
18,963,825
1,596,322,391,808
false
ADAUSDT
futures
11,938,559
0.1451
1
18,963,826
18,963,826
1,596,322,392,048
false
ADAUSDT
futures
11,938,560
0.1451
1
18,963,827
18,963,827
1,596,322,392,379
false
ADAUSDT
futures
11,938,561
0.1451
1
18,963,828
18,963,828
1,596,322,392,638
false
ADAUSDT
futures
11,938,562
0.1451
11
18,963,829
18,963,829
1,596,322,392,830
false
ADAUSDT
futures
11,938,563
0.1451
1
18,963,830
18,963,830
1,596,322,393,030
false
ADAUSDT
futures
11,938,564
0.14505
682
18,963,831
18,963,831
1,596,322,393,091
true
ADAUSDT
futures
11,938,565
0.1451
1
18,963,832
18,963,832
1,596,322,393,206
false
ADAUSDT
futures
11,938,566
0.1451
1
18,963,833
18,963,833
1,596,322,393,392
false
ADAUSDT
futures
11,938,567
0.1451
1
18,963,834
18,963,834
1,596,322,393,558
false
ADAUSDT
futures
11,938,568
0.14504
961
18,963,835
18,963,835
1,596,322,393,764
true
ADAUSDT
futures
11,938,569
0.1451
1
18,963,836
18,963,836
1,596,322,393,871
false
ADAUSDT
futures
11,938,570
0.1451
1
18,963,837
18,963,837
1,596,322,394,026
false
ADAUSDT
futures
11,938,571
0.1451
1
18,963,838
18,963,838
1,596,322,394,242
false
ADAUSDT
futures
11,938,572
0.1451
1
18,963,839
18,963,839
1,596,322,394,413
false
ADAUSDT
futures
11,938,573
0.14504
1,488
18,963,840
18,963,840
1,596,322,394,431
true
ADAUSDT
futures
11,938,574
0.1451
1
18,963,841
18,963,841
1,596,322,394,613
false
ADAUSDT
futures
11,938,575
0.1451
1
18,963,842
18,963,842
1,596,322,394,807
false
ADAUSDT
futures
11,938,576
0.1451
1
18,963,843
18,963,843
1,596,322,395,008
false
ADAUSDT
futures
11,938,577
0.14505
1,428
18,963,844
18,963,844
1,596,322,395,102
true
ADAUSDT
futures
11,938,578
0.1451
1
18,963,845
18,963,845
1,596,322,395,173
false
ADAUSDT
futures
11,938,579
0.1451
1
18,963,846
18,963,846
1,596,322,395,365
false
ADAUSDT
futures
11,938,580
0.1451
1
18,963,847
18,963,847
1,596,322,395,576
false
ADAUSDT
futures
11,938,581
0.1451
1
18,963,848
18,963,848
1,596,322,395,781
false
ADAUSDT
futures
11,938,582
0.1451
1
18,963,849
18,963,849
1,596,322,395,967
false
ADAUSDT
futures
11,938,583
0.1451
1
18,963,850
18,963,850
1,596,322,396,115
false
ADAUSDT
futures
11,938,584
0.1451
1
18,963,851
18,963,851
1,596,322,396,404
false
ADAUSDT
futures
11,938,585
0.1451
1
18,963,852
18,963,852
1,596,322,396,589
false
ADAUSDT
futures
11,938,586
0.1451
1
18,963,853
18,963,853
1,596,322,396,793
false
ADAUSDT
futures
11,938,587
0.1451
1
18,963,854
18,963,854
1,596,322,396,978
false
ADAUSDT
futures
11,938,588
0.1451
1
18,963,855
18,963,855
1,596,322,397,171
false
ADAUSDT
futures
11,938,589
0.1451
1
18,963,856
18,963,856
1,596,322,397,372
false
ADAUSDT
futures
11,938,590
0.1451
1
18,963,857
18,963,857
1,596,322,397,601
false
ADAUSDT
futures
11,938,591
0.1451
1
18,963,858
18,963,858
1,596,322,397,756
false
ADAUSDT
futures
11,938,592
0.14505
649
18,963,859
18,963,859
1,596,322,397,801
true
ADAUSDT
futures
11,938,593
0.1451
2
18,963,860
18,963,861
1,596,322,398,333
false
ADAUSDT
futures
11,938,594
0.1451
2
18,963,862
18,963,863
1,596,322,398,550
false
ADAUSDT
futures
11,938,595
0.1451
1
18,963,864
18,963,864
1,596,322,398,778
false
ADAUSDT
futures
11,938,596
0.1451
1
18,963,865
18,963,865
1,596,322,398,942
false
ADAUSDT
futures
11,938,597
0.1451
1
18,963,866
18,963,866
1,596,322,399,098
false
ADAUSDT
futures
11,938,598
0.1451
12
18,963,867
18,963,868
1,596,322,399,741
false
ADAUSDT
futures
11,938,599
0.14504
862
18,963,869
18,963,869
1,596,322,399,828
true
ADAUSDT
futures
11,938,600
0.1451
1
18,963,870
18,963,870
1,596,322,399,970
false
ADAUSDT
futures
11,938,601
0.1451
1
18,963,871
18,963,871
1,596,322,400,188
false
ADAUSDT
futures
11,938,602
0.1451
1
18,963,872
18,963,872
1,596,322,400,566
false
ADAUSDT
futures
11,938,603
0.1451
2
18,963,873
18,963,874
1,596,322,400,744
false
ADAUSDT
futures
11,938,604
0.1451
1
18,963,875
18,963,875
1,596,322,400,932
false
ADAUSDT
futures
11,938,605
0.1451
1
18,963,876
18,963,876
1,596,322,401,104
false
ADAUSDT
futures
11,938,606
0.14504
521
18,963,877
18,963,877
1,596,322,401,184
true
ADAUSDT
futures
11,938,607
0.1451
1
18,963,878
18,963,878
1,596,322,401,296
false
ADAUSDT
futures
11,938,608
0.1451
1
18,963,879
18,963,879
1,596,322,401,502
false
ADAUSDT
futures
11,938,609
0.1451
1
18,963,880
18,963,880
1,596,322,401,717
false
ADAUSDT
futures
11,938,610
0.14504
980
18,963,881
18,963,881
1,596,322,401,855
true
ADAUSDT
futures
11,938,611
0.1451
1
18,963,882
18,963,882
1,596,322,401,924
false
ADAUSDT
futures
11,938,612
0.1451
1
18,963,883
18,963,883
1,596,322,402,101
false
ADAUSDT
futures
11,938,613
0.1451
1
18,963,884
18,963,884
1,596,322,402,425
false
ADAUSDT
futures
11,938,614
0.14504
1,066
18,963,885
18,963,885
1,596,322,402,531
true
ADAUSDT
futures
11,938,615
0.1451
1
18,963,886
18,963,886
1,596,322,402,653
false
ADAUSDT
futures
11,938,616
0.1451
1
18,963,887
18,963,887
1,596,322,402,785
false
ADAUSDT
futures
11,938,617
0.1451
1
18,963,888
18,963,888
1,596,322,402,992
false
ADAUSDT
futures
11,938,618
0.1451
1
18,963,889
18,963,889
1,596,322,403,183
false
ADAUSDT
futures
11,938,619
0.14504
1,425
18,963,890
18,963,890
1,596,322,403,201
true
ADAUSDT
futures
11,938,620
0.1451
1
18,963,891
18,963,891
1,596,322,403,388
false
ADAUSDT
futures
11,938,621
0.1451
1
18,963,892
18,963,892
1,596,322,403,564
false
ADAUSDT
futures
11,938,622
0.1451
1
18,963,893
18,963,893
1,596,322,403,766
false
ADAUSDT
futures
11,938,623
0.14505
973
18,963,894
18,963,894
1,596,322,403,879
true
ADAUSDT
futures
11,938,624
0.1451
1
18,963,895
18,963,895
1,596,322,403,972
false
ADAUSDT
futures
11,938,625
0.1451
1
18,963,896
18,963,896
1,596,322,404,316
false
ADAUSDT
futures
11,938,626
0.14504
1,308
18,963,897
18,963,897
1,596,322,404,554
true
ADAUSDT
futures
11,938,627
0.1451
1
18,963,898
18,963,898
1,596,322,404,598
false
ADAUSDT
futures
11,938,628
0.1451
1
18,963,899
18,963,899
1,596,322,404,873
false
ADAUSDT
futures
11,938,629
0.1451
2
18,963,900
18,963,901
1,596,322,405,017
false
ADAUSDT
futures
11,938,630
0.14505
1,195
18,963,902
18,963,902
1,596,322,405,226
true
ADAUSDT
futures
11,938,631
0.1451
1
18,963,903
18,963,903
1,596,322,405,259
false
ADAUSDT
futures
11,938,632
0.1451
1
18,963,904
18,963,904
1,596,322,405,508
false
ADAUSDT
futures
11,938,633
0.1451
1
18,963,905
18,963,905
1,596,322,405,623
false
ADAUSDT
futures
11,938,634
0.1451
1
18,963,906
18,963,906
1,596,322,405,849
false
ADAUSDT
futures
11,938,635
0.14505
1,080
18,963,907
18,963,907
1,596,322,405,901
true
ADAUSDT
futures
11,938,636
0.1451
1
18,963,908
18,963,908
1,596,322,406,209
false
ADAUSDT
futures
11,938,637
0.1451
2
18,963,909
18,963,910
1,596,322,406,432
false
ADAUSDT
futures
11,938,638
0.14505
1,032
18,963,911
18,963,911
1,596,322,406,572
true
ADAUSDT
futures
11,938,639
0.1451
1
18,963,912
18,963,912
1,596,322,406,668
false
ADAUSDT
futures
11,938,640
0.1451
1
18,963,913
18,963,913
1,596,322,406,837
false
ADAUSDT
futures
End of preview. Expand in Data Studio

Crypto Market Data Lake

Created and maintained by Eimantas Kulbe

⭐ If you use this dataset in research, a product, or any publication, please cite the author (see Citation below). It took significant infrastructure and months of collection effort — a citation is the simplest way to give credit.

A continuously growing data lake of crypto market microstructure data sourced from Binance and alternative data providers. Full coverage across all 10 symbols — complete tick-level history from genesis to present, updated monthly.

Version v202621 — BTC/ETH/SOL/BNB/XRP/DOGE full history, May 2026 snapshot.

All files are compressed Parquet (Snappy), sized 50–300 MB each for efficient streaming and DuckDB / pandas compatibility. All timestamps are int64 milliseconds UTC.


Symbols & Coverage

Symbol Asset Spot agg_trades from Futures agg_trades from
BTCUSDT Bitcoin Aug 2017 Jan 2020
ETHUSDT Ethereum Jan 2018 Oct 2019
SOLUSDT Solana Mar 2021 Mar 2021
BNBUSDT BNB Jul 2017 Oct 2019
XRPUSDT XRP / Ripple Oct 2017 Oct 2019
DOGEUSDT Dogecoin Jul 2019 May 2021
ADAUSDT Cardano Apr 2018 Aug 2020
AVAXUSDT Avalanche Sep 2020 Dec 2020
LINKUSDT Chainlink Jan 2019 Aug 2020
DOTUSDT Polkadot Aug 2020 Jan 2021

Datasets included

Dataset Symbols Market Granularity
Aggregate trades BTC ETH SOL BNB XRP DOGE ADA AVAX LINK DOT Spot + Futures UM Every trade
Klines (OHLCV 1m) BTC ETH SOL BNB XRP DOGE ADA AVAX LINK DOT Spot + Futures UM 1-minute bars
Funding rates BTC Futures UM Every 8 h
Open interest BTC Futures UM Hourly
Premium index BTC Futures UM 1-minute
Fear & Greed index Daily
Deribit BTC DVOL + options 15-minute
Macro (DXY, SPX, Gold, US10Y) Daily

Note: BTC futures agg_trades Sep–Dec 2019 unavailable (Binance vault 404).

File layout

raw/
  agg_trades/
    market={spot,futures}/symbol={BTCUSDT,ETHUSDT,SOLUSDT}/year=YYYY/month=MM/
      {start_ms}_{end_ms}.parquet          ← 50–300 MB each
  klines/
    market={spot,futures}/symbol={BTCUSDT,ETHUSDT,SOLUSDT}/interval=1m/year=YYYY/month=MM/
      {start_ms}_{end_ms}.parquet
  funding_rates/symbol=BTCUSDT/year=YYYY/month=MM/
  open_interest/symbol=BTCUSDT/year=YYYY/month=MM/
  premium_index/symbol=BTCUSDT/year=YYYY/month=MM/
  alternative_me/fear_greed/year=YYYY/
  deribit/year=YYYY/month=MM/
  macro/{dxy,spx,gold,us10y}/year=YYYY/

Schemas

agg_trades

Column Type Description
agg_id int64 Binance aggregate trade ID
price float64 Trade price (USDT)
quantity float64 Trade quantity (BTC)
first_trade_id int64 First raw trade in the aggregate
last_trade_id int64 Last raw trade in the aggregate
timestamp int64 Execution time (ms UTC)
is_buyer_maker bool True = seller is aggressor
symbol string BTCUSDT
market string spot

klines

Column Type Description
open_time int64 Bar open (ms UTC)
open / high / low / close float64 OHLC prices (USDT)
volume float64 Base volume (BTC)
close_time int64 Bar close (ms UTC)
quote_volume float64 Quote volume (USDT)
trades int32 Trade count in bar
taker_buy_base float64 Taker buy base volume
taker_buy_quote float64 Taker buy quote volume
symbol string BTCUSDT
interval string 1m
market string spot

funding_rates

Column Type Description
timestamp int64 Funding time (ms UTC)
funding_rate float64 Rate applied
funding_time int64 Funding settlement time (ms UTC)
symbol string BTCUSDT

Quick-start (DuckDB)

import duckdb

# Spot aggregate trades for 2021 — full year, fast scan
df = duckdb.sql("""
    SELECT date_trunc('hour', to_timestamp(timestamp/1000)) AS hour,
           sum(quantity * price) AS usd_volume,
           count(*)              AS trade_count
    FROM read_parquet(
        'raw/agg_trades/market=spot/symbol=BTCUSDT/year=2021/**/*.parquet',
        hive_partitioning=true
    )
    GROUP BY 1 ORDER BY 1
""").df()

# All-history 1-minute klines (spot)
klines = duckdb.read_parquet(
    'raw/klines/market=spot/symbol=BTCUSDT/interval=1m/**/*.parquet',
    hive_partitioning=True
)

Data sources

Source Used for URL
Binance REST API (/api/v3/aggTrades, /fapi/v1/aggTrades) Aggregate trades 2022–2026 docs.binance.com
Binance Data Vault (monthly ZIP archives) Aggregate trades 2017–2021 data.binance.vision
Binance REST API (/api/v3/klines, /fapi/v1/klines) OHLCV klines all history docs.binance.com
Binance REST API (/fapi/v1/fundingRate) Funding rates docs.binance.com
Binance REST API (/futures/data/openInterestHist) Open interest (30-day window) docs.binance.com
Binance WebSocket (spot + futures public streams) Live klines + trades docs.binance.com
Deribit REST API (public) BTC DVOL + options market docs.deribit.com
alternative.me Fear & Greed API Fear & Greed index alternative.me/crypto/fear-and-greed-index
Yahoo Finance (yfinance) DXY, SPX, Gold, US10Y macro finance.yahoo.com

Collection methodology

Built and maintained by Eimantas Kulbe using a custom Python pipeline running on four VPS nodes with rotating HTTP proxy pools to handle Binance rate limits without API keys.

  • Pre-2022 aggregate trades: downloaded from the Binance Data Vault monthly ZIP archives; parsed with DuckDB for out-of-core efficiency
  • 2022–2026 aggregate trades: collected via Binance REST API using 1-hour time-range windows, distributed across workers with modulo assignment
  • Klines / Funding rates / OI: Binance REST API, full history
  • Real-time data: Binance WebSocket public streams (no API key required)
  • Alt data: Deribit REST, alternative.me, Yahoo Finance — polled every 15 minutes to 1 hour

Infrastructure: all writes are idempotent with a PostgreSQL chunk-log tracking every hourly window (done | skipped | failed). Schema version 1 is embedded in every Parquet file's metadata for forward-compatibility.

Known gaps

Gap Reason
Futures agg_trades Sep–Dec 2019 Binance Data Vault returns 404; no public source exists
Isolated zero-trade hours (early 2017) Genuine gaps in exchange history

License

This dataset is released under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.

You are free to share, adapt, and use this data for any purpose including commercial, as long as you give appropriate credit to the author.

⚠️ Attribution is required. If you use this dataset, you must cite Eimantas Kulbe as the author. See the Citation section below.

Citation

If you use this dataset in academic work, a commercial product, a blog post, or any other publication, please cite it. This is a large-scale data collection effort and proper attribution helps sustain open data projects.

BibTeX:

@dataset{kulbe_btcusdt_2026,
  author    = {Kulbe, Eimantas},
  title     = {Crypto Market Data Lake (Binance + Alt Data)},
  year      = {2026},
  publisher = {HuggingFace Datasets},
  url       = {https://huggingface.co/datasets/KEDevO/crypto-market-datasets},
  license   = {CC BY 4.0},
  note      = {Contains aggregate trades, OHLCV klines, funding rates,
               open interest, and alternative data for BTCUSDT, ETHUSDT,
               and SOLUSDT on Binance, through May 2026.}
}

APA:

Kulbe, E. (2026). Crypto Market Data Lake (Binance + Alt Data) [Data set]. HuggingFace Datasets. https://huggingface.co/datasets/KEDevO/crypto-market-datasets

Acknowledgement (for papers):

The cryptocurrency market data used in this work was sourced from the Crypto Market Data Lake compiled by Eimantas Kulbe (2026), available at https://huggingface.co/datasets/KEDevO/crypto-market-datasets under CC BY 4.0.


Dataset compiled and maintained by Eimantas Kulbe. For issues or questions, open a discussion on the dataset page.

Downloads last month
9,043