Historical Market Data | Trading History | OKX Trading Archive

·

OKX supports downloading historical market data, including OHLC data, trading operations, and order books.

Spot Trading

Candlestick Charts (OHLC Data)

Access all historical OKX chart data (OHLC charts).

Aggregated Trades

View executed orders aggregated at specific price points.

Trading History

Explore OKX’s historical trade quotation levels, with data available since 2021.

Futures Trading

Candlestick Charts (OHLC Data)

Retrieve comprehensive historical OKX chart data (OHLC charts).

Aggregated Trades

Review executed orders grouped by price.

Trading History

Track OKX’s historical trade quotation levels, archived from 2021 onward.

Perpetual Swap Funding Rates

Download historical funding rates for perpetual swaps, dating back to 2021.

Order Book Data for Futures and Perpetual Contracts

OKX grants VIP users access to the last three months of order book history for futures and perpetual contracts.

👉 Apply for VIP Access

Usage Guidelines

OKX permits downloading and using historical market data (including OHLC data, trades, and order books) exclusively for personal use in compliance with platform policies. Commercial or monetization requires explicit approval—email requests to the designated OKX team.


FAQ Section

1. How far back does OKX’s historical market data go?
Data is available from 2021 for most instruments, including spot and futures trades.

2. Can non-VIP users access order book history?
No. Only VIP users can download the last three months of futures/perpetual contract order book data.

3. What formats are available for downloading OHLC data?
OKX provides OHLC data in CSV and JSON formats for easy integration.

4. Are there restrictions on using this data for research?
Yes. Commercial use requires prior authorization from OKX’s compliance team.

5. How frequently is the funding rate data updated?
Perpetual swap funding rates are archived daily and available for download.

6. Where can I find the latest updates on data accessibility?
Refer to OKX’s official announcements or help center for real-time policy changes.

For deeper analysis, explore our advanced trading tools.