Binance Spot

Binance historical market data details - currency pairs, data coverage and data collection specifics

Binance historical data for high caps currency pairs is available since 2019-03-30, data for all currency pairs is available since 2021-03-05.

See Binance historical data coverage: available symbols, channels, date ranges and incidents

Downloadable CSV files

Historical CSV datasets for the first day of each month are available to download without API key. See downloadable CSV files documentation.

data type
symbol
date

incremental_book_L2

BTCUSDT

2019-12-01

trades

BTCUSDT

2019-12-01

quotes

BTCUSDT

2019-12-01

API Access and data format

Historical data format is the same as provided by real-time Binance WebSocket API with addition of local timestamps. If you'd like to work with normalized data format instead (same format for each exchange) see downloadable CSV files or official client libs that can perform data normalization client-side.

Captured real-time channels

See Binance WebSocket API docs providing documentation for each captured channel's format
circle-info

Click any channel below to see HTTP API response with historical data recorded for it.

  • tradearrow-up-right Public spot trade executions stream

  • deptharrow-up-right Incremental order book updates stream. Recorded with the fastest API cadence available at the time: until 2019-08-30 it was subscribed as depth (1000ms updates), after that as depth@100ms (100ms updates).

  • depthSnapshotarrow-up-right — generated channel Binance real-time WebSocket API does not provide initial order book snapshots. To overcome this issue we fetch initial order book snapshots from REST API and store them together with the rest of the WebSocket messages — top 1000 levels. Such snapshot messages are marked with "stream":"<symbol>@depthSnapshot" and "generated":true fields.

    During data collection integrity of order book incremental updates is being validated using sequence numbersarrow-up-right provided by real-time feed (U and u fields) — in case of detecting missed message WebSocket connection is being restarted. We also validate if initial book snapshot fetched from REST API overlaps with received depth messages.

  • bookTickerarrow-up-right — available since 2019-09-21 Best bid and best ask updates stream

  • aggTradearrow-up-right — available since 2019-11-19 Aggregated spot trade executions stream

  • tickerarrow-up-right 24h spot ticker updates stream

  • borrowInterestarrow-up-right — generated channel, available since 2021-02-23 Margin borrow interest snapshots stream. Polled from Binance margin REST endpoint about every minute. Messages are marked as "stream":"<asset>@borrowInterest" and "generated":true.

Market data collection details

Market data collection infrastructure for Binance is located in GCP asia-northeast1 region (Tokyo, Japan).

Real-time market data is captured via multiple WebSocket connections to wss://stream.binance.com/stream?timeUnit=microsecond.

circle-info

Binance servers are located in AWS ap-northeast-1 region (Tokyo, Japan).

Last updated