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

To calculate your taxes accurately, you must import all transactions from OKX to Coinpanda. 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
Staking rewardscheck solid greencheck solid green
Mining rewardscheck solid greencheck solid green
Referral rewardscheck solid greencheck solid green
Affiliate commissionscheck solid greencheck solid green
Other bonuses/rewards/adjustmentscheck solid greencheck solid green
RECOMMENDED

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’
    (https://www.okx.com/account/my-api)
  2. Click ‘Create V5 API Key’
  3. Keep ‘API Trading’ checked
  4. Give your API key a name and passphrase
  5. Leave ‘IP Address’ empty and only ‘Read’ checked
  6. Click ‘Confirm’
  7. Enter the codes and click ‘Confirm’
  8. Copy the API Key, API Secret, and Passphrase to Coinpanda
  9. Click ‘Confirm’ to close the modal

OKX only allows exporting trade history data for the past three months from their API. You will also need to upload a CSV file with older transactions if you have trades older than that. Only deposits and withdrawals older than three months can be imported from API at this current time.

Upload a CSV file to Coinpanda

Trade history

  1. Hover over ‘Assets’ in the header menu and click on ‘Order center’
    (https://www.okx.com/balance/report-center/unified/order-open)
  2. Select the ‘Trading account history’ tab
  3. Click ‘Download’
  4. Select ‘All’ for Account Type
  5. Select a date range up to a maximum of 1 year. You might need to export several files covering your entire trade history.
  6. Click ‘Export’ to export the file
  7. Download the file when ready
  8. Upload the CSV file(s) to Coinpanda

The CSV files exported from OKX will not always include all historical trades from previous years. We recommend contacting OKX customer support if you need help with exporting your complete trade history.

Deposits and withdrawals

  1. Hover over ‘Assets’ in the header menu and click on ‘Order center’
    (https://www.okx.com/balance/report-center/unified/order-open)
  2. Select the ‘Funding account history’ tab
  3. Click ‘Download’
  4. Keep ‘Hide internal transfers’ checked
  5. Select a date range up to a maximum of 1 year. You might need to export several files covering your entire history.
  6. Click ‘Export’ to export the file
  7. Download the file when ready
  8. Upload the CSV file(s) to Coinpanda

Should you have any further questions, please contact support:

JOIN COINPANDA

See it for yourself

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