Support Desk

Submit a ticket My Tickets
Welcome
Login  Sign up

OKX Import Restrictions

FAQ: OKX Import Restrictions

TL;DR:
 OKX imports have limitations—both the API and CSV only support 3 months of data at a time. To retrieve your full history, you must export multiple files or use a combination of CSV and API methods. Some transaction types (e.g., Margin PnL, Earn, Loan) are not supported and must be entered manually.


How should I import OKX data into CoinTracking?

Option 1 – If your first OKX transaction is older than 3 months:

  • Use both the CSV and API Importers.

  • CSV will retrieve your historical data.

  • API will sync newer transactions going forward.

Option 2 – If your first OKX transaction is within the last 3 months:

  • Use only the API Import for recent and future transactions.

You can find both options outlined here: OKX Import Guide


What are the known import restrictions?

Currently, the following OKX transaction types cannot be imported due to incomplete or missing data from OKX’s API and CSV files:

  • Margin PnL

  • Earn (partially supported)

  • Loan

  • Jumpstart

  • DOT & KSM Slot Auctions

  • Pool transactions

These transactions must be entered manually on the Transactions page or using the Custom Exchange Importer.


Are there time limits on API and CSV imports?

Yes, both methods are limited:

  • API Import: Only retrieves data from the last 3 months.

  • CSV Export from OKX: Also limited to 3-month intervals per file.

To get your full transaction history, you must export multiple CSV files, each covering 3 months. If you're missing data and cannot generate all the necessary files, please reach out to OKX support for assistance.


Summary

OKX imports are limited by API and CSV restrictions:

  • Use CSV + API for older accounts

  • Use API only for recent accounts

  • Some transaction types are unsupported and require manual entry

  • Export multiple CSV files if needed to cover full history


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.