If you are tax resident in South Africa, SARS taxes your worldwide crypto disposals, including trades on an offshore exchange like OKX. Where the exchange is based does not change what you have to declare. Spot sales, swaps between coins, and spending crypto are disposals, and each needs a rand value and a base cost.
Whether a gain counts as revenue or capital depends on how and why you trade, not on the platform. That distinction, together with FIFO base cost and record-keeping, is covered in our guide to how SARS taxes crypto in South Africa. What follows here is the OKX-specific part: which files to download from OKX, how to bring them into Coinfig, and what Coinfig does with them.
How to export your OKX history
Coinfig does not sync OKX by API yet, so your OKX history comes in as files. OKX keeps trades, funding movements and deposits or withdrawals in separate histories, so plan on more than one download.
Trading history (your trades):
- On the OKX website, go to Assets, then Order center, then Trading history, and select Download.
- Choose the instrument, date range, time zone and accounts, pick CSV as the file format, and export.
- When the file is ready, save it. If you copy the download link instead, it expires one hour after you copy it.
OKX shows up to one year of trading history on screen, and the download goes back to 28 January 2021.
Official guide: How can I view my order history, position history, and trading history?
Funding history and deposits or withdrawals:
- For funding history, select Funding history from the menu bar, then Download. Choose a date range, select Export, and select Download when the file is ready. The earliest date you can choose is 1 February 2021.
- For deposits or withdrawals, open the Deposit or Withdrawal page and select Export. Choose your dates, select Export, and select Download when the statement is ready. The file includes the network and transaction ID for each movement, which helps match transfers to your other accounts.
OKX's order history page only displays the last 90 days, so use the downloads rather than the screen for a full tax year. Statements can only be downloaded on a T+1 basis, which means the most recent day is not in the file yet.
Official guide: How do I download my account statements?
Checked on OKX's help centre on 14 November 2026.
Bring the files into Coinfig
- In Coinfig, add a new source and choose OKX.
- Choose Upload a file and add your trading history, funding history and deposit and withdrawal files together.
- Cover every year you have used OKX, so the purchases behind later sales are in the calculation.
OKX Web3 wallet activity
What you do in the OKX Web3 wallet happens on chain, not on the exchange, so it is not in the exchange downloads above. Add that wallet to Coinfig by its public address, for each network Coinfig supports, so on-chain swaps and transfers are included and can be matched to your exchange account.
What SARS expects on your return
For each tax year (1 March to end February) you need:
- Every disposal: proceeds and base cost in rand.
- Income items, such as rewards, at their value when you received them.
- Records that show transfers between your own accounts, so they are not counted as disposals.
- A split between revenue and capital items where your activity calls for one.
How Coinfig handles OKX
- Imports your OKX trades, funding movements, deposits and withdrawals from the files you upload.
- Converts every amount to rand at the time of the transaction.
- Works out base cost with the FIFO method across OKX and every other source you add.
- Matches OKX withdrawals to deposits on your other exchanges and wallets.
- Runs a completeness check that flags gaps, such as a missing year, before you rely on the figures.
Coinfig is a calculation and reporting tool, not a tax adviser. For complex treatment questions, have a qualified practitioner review the output. To see how a single disposal is worked out, try the crypto tax calculator, and for other venues see all exchange tax report guides.
Frequently asked questions
Which OKX files do I need for my tax return?
Your trading history, your funding history, and your deposit and withdrawal history, covering every year you have used OKX. Trades alone miss the movements in and out of your account.
Can I connect OKX with an API key?
Not yet. Coinfig does not sync OKX by API at the moment, so download your history from OKX and upload the files.
How far back can I download my OKX history?
OKX's help centre says trading history downloads go back to 28 January 2021 and funding history to 1 February 2021.
Are my OKX Web3 wallet transactions in the exchange files?
No. The Web3 wallet works on chain. Add its public address to Coinfig so those transactions are included.
Is OKX taxed differently because it is offshore?
No. Tax residency decides your obligation, not where the exchange is based. South African tax residents generally declare worldwide crypto gains. The practical difference is converting values to rand and matching transfers to your local exchanges.
Get started on Coinfig to upload your OKX history, check for gaps, and generate the figures for your return.
This article is general information, not tax advice. Crypto tax outcomes depend on your specific circumstances. For complex situations, consult a qualified tax practitioner.