Binance provides historical market data that can be downloaded via the Binance website or API.
Binance supports different data types for different products.
Spot
Data Type | Date | Granularity | Generate Frequency |
Candlestick |
| 1s/1m/3m/5m/15m/30m/1h/2h/4h/6h/8h/12h/1d/3d/1w/1M | Daily and monthly |
Trades |
| - | Daily and monthly |
Aggregated Trades |
| - | Daily and monthly |
Futures
Data Type | Date | Granularity | Generate Frequency |
Candlestick |
| 1m/3m/5m/15m/30m/1h/2h/4h/6h/8h/12h/1d/3d/1w/1M | Daily and monthly |
Trades |
| - | Daily and monthly |
Aggregated Trades |
| - | Daily and monthly |
Book Ticker | 2023-06-25 to 2024-03-31 | - | Daily and monthly |
Trading Metrics | - | 5m | Daily |
Index Price K-Line | From 2020-01-01 | 1m/3m/5m/15m/30m/1h/2h/4h/6h/8h/12h/1d/3d/1w/1M | Daily and monthly |
Mark Price Candlestick | From 2020-01-01 | 1m/3m/5m/15m/30m/1h/2h/4h/6h/8h/12h/1d/3d/1w/1M | Daily and monthly |
Funding Rate | From 2020-01 | - | Monthly |
Premium Index Candlestick | From 2020-01-01 | 1m/3m/5m/15m/30m/1h/2h/4h/6h/8h/12h/1d/3d/1w/1M | Daily and monthly |
Liquidation Snapshot | 2023-06-25 to 2024-03-31 | - | Daily |
Tick-Level Orderbook | Please refer to Binance Futures Order Book Historical Data | - | Daily |
Orderbook Snapshot | Please refer to Binance Futures Order Book Historical Data | 1m | Daily |
Options
Data Type | Date | Granularity | Generate Frequency |
Option EOH Summary | 2023-05-18 to 2023-10-23 | 1h | Daily |
BVOL Index | From 2023-06-20 | 1s | Daily |
Daily-generated data will be updated on the next day at around 10:00 (UTC). Monthly-generated data will be updated on the first day of the following month.
Binance offers historical market data for all users to download directly via the Historical Market Data page. You can view all candlestick charts, trading, and aggregated trading data for Spot and Futures pairs.
1. Log in to your Binance account and scroll down to the footer. Click [Historical Market Data].
2. You can use the filters on the side to view each category.
3. Select the data you want to download.
4. You may view the field information of the data before downloading.
5. Fill in the download details and click [Confirm] to proceed.
6. After reviewing the files, click [Download].
Please note that in some cases, the data will be incomplete due to a number of factors including, data being updated, or no data being available for specified tokens for the selected period.
You can use your browser to view the raw data from this page. This repository hosts a collection of auxiliary scripts, available in both Python and Shell, located in their respective directories. Binance will support more downloading methods in the future, please stay tuned.
Example request:
# download a single file
curl -s "https://data.binance.vision/data/spot/monthly/klines/ADABKRW/1h/ADABKRW-1h-2020-08.zip" -o ADABKRW-1h-2020-08.zip
wget "https://data.binance.vision/data/spot/monthly/klines/ADABKRW/1h/ADABKRW-1h-2020-08.zip"
Please note:
Please refer to this page for more details.
Currently, Binance only provides Futures historical order book data. You need to have a Futures account to download it, and this data can only be accessed via API for Binance VIP 1 or above users.
Binance provides the following Futures historical order book data:
Since January 2020, only the BTC/USDT symbol.
Since July 2020, all symbols and pairs.
Please refer to Binance Futures Order Book Historical Data for more details.
If you select “download multiple files”, but your browser only allows you to download them one at a time, here are some possible reasons and their solutions:
1. Check your browser’s settings
You need to enable multiple downloads in your browser. For example, choose to allow automatic downloads of multiple files on the download confirmation pop-up.
You can check the download settings of your browser:
Try using a different browser to see if the issue persists.
2. Check your internet connectivity
Your internet connection may be slow or unstable. Try verifying your internet connection's stability and speed. If possible, use a wired connection or switch to a more reliable network.
3. Interference from browser extensions/add-ons
Certain browser extensions or add-ons may interfere with the download process. You can temporarily disable browser extensions and try downloading the files again. If this solved the issue, try to re-enable the extensions one by one to identify the culprit.
4. Technical issues from the website
The website you are downloading from may be experiencing technical difficulties or server overload. You can check if other users report similar issues or if the website has put up notice regarding this issue. You could also try downloading the files at a different time.
If you have tried the above solutions and are still unable to download multiple files simultaneously, please reach out to the website's support team for assistance. Providing them with specific details about your issue will help them identify and resolve the problem more effectively.
Please note that all our data services strictly follow the Binance Terms of Use.
Without written consent from Binance, the following commercial uses of Binance data are prohibited:
You hereby understand and agree that Binance will not be liable for any losses or damages arising out of or relating to: (a) any inaccuracy, defect, or omission of digital assets price data, (b) any error or delay in the transmission of such data, (c) interruption in any such data, (d) regular or unscheduled maintenance carried out by Binance and service interruption and change resulting from such maintenance, (e) any damages incurred by other users’ actions, omissions or violation of these terms, (f) any damage caused by illegal actions of other third parties or actions without authorized by Binance; and (g) other exemptions mentioned in disclaimers and platform rules issued by Binance.