If you are tax resident in South Africa, SARS taxes your worldwide crypto disposals, including trades on an offshore exchange like MEXC. 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, and active trading points more strongly towards revenue. 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 MEXC-specific part: creating a read-only API key, exporting your older history, and what Coinfig does with it.
Connect MEXC with a read-only API key
Coinfig has a direct MEXC API connection. MEXC's API only returns your last 30 days of trades and 90 days of deposits and withdrawals, so most people need the key for recent activity and an export for everything older (below).
- Log in on the MEXC website and open the API management page.
- Create a key and give it read-only access. MEXC's own guidance is to enable read-only access for data queries and to enable trading only when you place orders, which Coinfig never does.
- Click Create and complete the security verification.
- Copy the Access Key and the Secret Key. MEXC shows the Secret Key only once, so copy it before you leave the page.
- In Coinfig, add a new source, choose MEXC, and paste both keys.
Official guides: MEXC API Opening Tutorial and Configure API Key
How to export your MEXC history
For anything older than the API returns, and for airdrops and event rewards, use MEXC's Account Data Export.
- On the MEXC website, scroll to the bottom of the home page and click Help Center, then Account Data Export under Self-Services.
- Select your reason for exporting, then click Next.
- Choose a data type: Spot, Futures, Funding History, Fiat, Earn or Sub-account. For tax, export at least Spot and Funding History, plus Futures and Earn if you used them.
- Set the time range and choose Excel as the format.
- Click Export. Tick Email me once generated if you want an email, or download the file later from the Export History page. The download link stays valid for seven days.
Each report covers up to three years, and MEXC's help centre says data from 1 October 2024 onward is available. You can export Spot, Futures and Funding History up to 10 times each per calendar month, so plan your date ranges before you start.
Official guide: How to Use MEXC's Account Data Export Function
Checked on MEXC's help centre on 14 November 2026.
What to declare to SARS from MEXC
- Every spot disposal, including coin-to-coin swaps, at its rand value on the day.
- Profits and losses on futures, which you should discuss with your practitioner, since they are not a simple sale of a coin you own.
- Airdrops, event rewards and Earn rewards, as income at their rand value when received.
- Transfers between MEXC and your other accounts, documented so they are not counted as sales.
How Coinfig handles MEXC
- Imports your recent MEXC history through the read-only API, and older history from the export files you upload.
- Converts every amount to rand at the time of the transaction.
- Works out base cost with the FIFO method across MEXC and every other source you add.
- Matches MEXC withdrawals to deposits on your other exchanges and wallets.
- Runs a completeness check that flags gaps, such as history older than the API returns, 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
Does the MEXC API cover my whole history?
No. MEXC's API returns only your last 30 days of trades and 90 days of deposits and withdrawals. Add the rest from Account Data Export.
Which MEXC export do I need for tax?
Spot and Funding History at minimum, plus Futures and Earn if you used them. Choose Excel as the format and cover every period you traded.
Can the MEXC API key trade or withdraw?
Not if you give it read-only access, which is all Coinfig needs. Leave trading and withdrawal permissions off.
Is MEXC 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 connect MEXC via read-only API or upload your exports, 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.