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 Type | API import | CSV file upload |
---|---|---|
Deposits | ||
Withdrawals | ||
Trades | ||
Staking rewards | ||
Mining rewards | ||
Referral rewards | ||
Affiliate commissions | ||
Other bonuses/rewards/adjustments |
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:
- Hover over the user icon and click ‘API’
(https://www.okx.com/account/my-api) - Click ‘Create V5 API Key’
- Keep ‘API Trading’ checked
- Give your API key a name and passphrase
- Leave ‘IP Address’ empty and only ‘Read’ checked
- Click ‘Confirm’
- Enter the codes and click ‘Confirm’
- Copy the API Key, API Secret, and Passphrase to Coinpanda
- 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
- Hover over ‘Assets’ in the header menu and click on ‘Order center’
(https://www.okx.com/balance/report-center/unified/order-open) - Select the ‘Trading account history’ tab
- Click ‘Download’
- Select ‘All’ for Account Type
- Select a date range up to a maximum of 1 year. You might need to export several files covering your entire trade history.
- Click ‘Export’ to export the file
- Download the file when ready
- 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
- Hover over ‘Assets’ in the header menu and click on ‘Order center’
(https://www.okx.com/balance/report-center/unified/order-open) - Select the ‘Funding account history’ tab
- Click ‘Download’
- Keep ‘Hide internal transfers’ checked
- Select a date range up to a maximum of 1 year. You might need to export several files covering your entire history.
- Click ‘Export’ to export the file
- Download the file when ready
- Upload the CSV file(s) to Coinpanda