Coinpanda logo

Last updated:

How to Report Your OKX Taxes

Coinpanda integrates directly with OKX to simplify your tax reporting. Learn how to calculate your taxes and generate all required tax documents for OKX quickly.

API Import
CSV File Upload
Connect to OKX

Supported transactions

To calculate your taxes accurately, you must import all transactions from OKX to Coinpanda. Coinpanda supports the following transactions 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

How to connect OKX 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.

Follow these steps to add your OKX account to Coinpanda with API:

  1. Hover over the user icon and click ‘API keys’
    (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 from their API for the past three months. You must also upload a CSV file with older transactions if you have trades older than that.

How to connect OKX with CSV

Follow these steps to export your transactions from OKX:

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 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

You should keep ‘All‘ selected for account type to ensure both spot, margin, and derivatives transactions are exported. Coinpanda supports all trading activities on OKX.

Funding 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 ‘Funding 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

How are OKX transactions taxed?

The exact tax implications on OKX transactions depend on which country you live in and the type of transactions you have made. In general, you must pay either capital gains tax or income tax on your cryptocurrency transactions on OKX.

  • Capital gains tax: Whenever you sell a cryptocurrency for more than you purchased it for, you generate a capital gain. On the other hand, if you sell the cryptocurrency for less than you paid initially, you have a capital loss, which can offset other gains in most cases.
  • Income tax: Earned cryptocurrency on OKX, such as staking, interest, bonuses, and referral rewards, is typically seen as taxable income from a tax perspective and must be reported in your tax return.

To learn more about how OKX transactions are taxed in your country, we recommend reading our in-depth guides to cryptocurrency taxes.

How do I file my OKX taxes?

First, you must calculate capital gains and income from all taxable transactions on OKX. When you have this information ready, you can report capital gains and income together with other forms of income such as employment and dividends in your annual tax return.

To calculate your capital gains, you must first export a complete history of all transactions made on OKX. Once you have this data, you can calculate your capital gains or losses by determining the price at which you bought the cryptocurrency (your cost basis) and the price at which you sold it (your proceeds). Luckily, Coinpanda can help you with this and generate ready-to-file tax forms quickly and easily.

After downloading your OKX tax statements from Coinpanda, the last step is to report the capital gains and income on your tax return before the deadline. Most countries allow you to self-declare taxes online in 2023, but you can also get help from a professional tax accountant to file taxes for you.

Calculate your OKX taxes

Sign up free today to calculate your OKX taxes

How do I troubleshoot the imported OKX transactions to Coinpanda?

While we strive every day to ensure the highest possible accuracy for importing transactions from OKX to Coinpanda, it can happen that either not all transactions are imported or that some data is imported incorrectly. Some reasons for this can be:

  • Changes in the OKX API
  • Updated CSV file format
  • OKX does not provide a complete record of all transactions

To get the best help from Coinpanda support, you must first identify which transactions are missing or incorrectly imported. To do this, we recommend comparing your transaction history on OKX with the transactions imported into your Coinpanda account. See also our help article with an overview of known exchange API limitations.

The quickest way to get help from our dedicated support team is to send a message in the Live Chat.

Start Live Chat!

Other options for contacting support:

01
Forum

Find answers in our community forum

02
Email

Create a support ticket by email

03
Twitter / X

Ask or send us a message on Twitter

04
Discord

Chat with our support team on Discord

Frequently asked questions

Does OKX provide tax documents?

No, OKX does not provide complete and ready-to-file tax documents. This is because OKX does not have knowledge of your transactions on other exchanges, platforms, or from your self-custody wallets.

How do I get OKX tax documents?

The easiest way to get tax documents and reports is to connect your OKX account with Coinpanda which will automatically import your transactions. After that, you can download complete tax reports for OKX.

Does OKX provide financial or end-of-year statements?

No, OKX does not provide a complete financial or end-of-year statement for your crypto transactions. However, you can get this using a crypto tax calculator.

Do I have to pay taxes on OKX?

Yes, all transactions on OKX involving the disposal of a crypto asset are in most cases taxable. You must also pay income tax on earned crypto such as staking, interest, or referral rewards.

Is transferring to OKX taxable?

No, transferring cryptocurrency to OKX is not taxed as long as you transfer between your personal wallets or exchange accounts.

How do I avoid paying taxes on OKX?

It is impossible to avoid paying taxes completely on OKX legally if you live in a country that taxes cryptocurrency. However, there are several ways you can reduce your taxes, such as tax loss harvesting.

Can OKX calculate my taxes?

OKX cannot calculate your taxes since it does not have knowledge of your transactions made on other exchanges or platforms. However, if you have only interacted with crypto on OKX your entire life, it could technically do so.

Is OKX safe?

OKX is generally considered to be a safe exchange. Although OKX follows industry best practices for safety and to prevent malicious attacks, there is always a risk associated with keeping your crypto on centralized third-party exchanges including OKX.

OKX Tax Calculator

Calculate your OKX taxes

Calculate your taxes in under 20 minutes.

Get started for free