How to Report Your OKX Taxes

Coinpanda has direct integration with OKX to simplify tracking your trades and tax reporting. Calculate your taxes and generate all required tax reports and forms easily.

Last updated:

API Sync

File Upload

Supported transaction types

It is important that you import all transactions from OKX to Coinpanda to calculate your taxes accurately. Coinpanda supports the following transaction types from OKX today:

Tx TypeAPI importCSV file upload
Depositscheck solid greencheck solid green
Withdrawalscheck solid greencheck solid green
Tradescheck solid greencheck solid green

Import trades automatically with API

We are only requesting view permissions. This does not give us access to your private keys or the ability to move your funds.

To add your OKX account to Coinpanda, follow these steps:

  1. Hover over the user icon and click ‘API’.
  2. Click ‘Create V5 API Key’.
  3. Give your API key a name and Passphrase.
  4. Leave ‘Read’ checked. ‘Withdraw’ and ‘Trade’ should be unchecked.
  5. Click ‘Get code’ to receive an SMS code to your phone.
  6. Enter the code and click ‘Confirm’.
  7. Click ‘View’ and enter your Passphrase and SMS code to view the API keys.
  8. Copy your API Key, API Secret and Passphrase to Coinpanda.​

Note that OKX only allows for data export of the trade history for the past 3 months from their API. If you have trades older than that, you will need to upload a CSV file with older transactions as well. Only deposits + withdrawals older than 3 months can be imported from API at this current time.

Upload a CSV file to Coinpanda

  1. Hover over ‘Trade’ in the header menu and click on ‘Spot’.
  2. Click ‘Spot account history’ in the left menu.
  3. Click ‘Download’ and select your desired time range.
  4. Click ‘Export’ and wait for the file to be ready (it can take 5-10 minutes).
  5. When the file is ready, click ‘Download’ to save the file to your computer.
  6. Upload your CSV file to Coinpanda.

OKX offers only trade history for the past 3 months. If you have transactions older than that, please contact OKX customer support to get the complete transaction history. You can import the historical transactions Excel file to Coinpanda as well.

Should you have any further questions, please contact support:


See it for yourself

Sign up for free. Calculate your taxes in less than 15 minutes.