Skip to main content
All CollectionsIntegrations
How to import and report your MEXC transactions
How to import and report your MEXC transactions

How to quickly and easily import your MEXC transactions into Crypto Tax Calculator for tax reporting

David Melbourne avatar
Written by David Melbourne
Updated over 2 months ago

Supported transactions

To calculate your taxes accurately, you must import all transactions from MEXC into Crypto Tax Calculator. CTC supports the following transactions from MEXC:

Tx Type

API

File upload

Deposits

Withdrawals

Spot Trades

Futures (Inc fees & funding)

The MEXC API currently only gives access to the last 30 days of transaction history and expires after 90 days. Due to this and the missing deposit, withdrawal and futures transactions, we recommend importing your data via file upload instead of API.

How to connect MEXC to Crypto Tax Calculator via file upload

Depending on your trading history you may need to import up to four different files.
Follow the below steps to download each file:

Spot Trades

  1. On the top menu bar click 'Orders' and select 'Spot Orders'

  2. Select 'Trade History' and click the 'Export' button.(https://www.mexc.com/orders/spot?tab=deal)

  3. In the popup window, select the time range you wish to download, and press the 'Generate’ button to export your transaction records

  4. Upload the XLSX files to Crypto Tax Calculator

Note: MEXC have a 3 year export limit for spot trades, if you have trades older that this you should contact MEXC support to request the older transactions.

Deposits and withdrawals

  1. For deposit history data: On the top menu bar click 'Wallets' and select 'Funding History'

  2. Select 'Deposit' and click the 'Export' button (https://www.mexc.com/assets/record)

  3. In the popup window, select the time range you wish to download, deselect ‘Encrypt the file’ and press the 'Generate’ button to export your deposit records

  4. For withdrawal history data: On the top menu bar click 'Wallets' and select 'Funding History'

  5. Select 'Withdrawal' and click the 'Export' button (https://www.mexc.com/assets/record)

  6. In the popup window, select the time range you wish to download, deselect ‘Encrypt the file’ and press the 'Generate’ button to export your withdrawal records

  7. Upload the XLSX files to Crypto Tax Calculator

Note: MEXC have a 1 year export limit for deposits and withdrawals, if you have deposits and withdrawals older that this you should contact MEXC support to request them.

Futures PnL

  1. On the top menu bar click 'Orders' and select 'Futures Orders'

  2. Select 'Order & Trade History' and click the 'Export Order History' button (https://futures.mexc.com/orders/contract?type=historic)

  3. In the popup window, select the time range you wish to download, select ‘EXCEL’ for the Export Format and press the 'Export' button to export your transaction records

  4. Upload the XLSX files to Crypto Tax Calculator

Note: MEXC have a 2 year export limit for Futures data, if you have futures trades older that this you should contact MEXC support to request the older transactions.

How to connect MEXC to Crypto Tax Calculator via API

  1. Log into your MEXC account

  2. In the top right of the screen, hover over the account picture and select 'API Management' from the dropdown list (https://www.mexc.com/user/openapi)

  3. Under the 'Spot' heading, select 'Account: View Account Details' and 'Trade: View Order Details'

  4. In the Notes (Required), provide a nickname for the API key, such as 'Crypto Tax Calculator'

  5. Tick the 'I have read and agree to the Risk Reminders for API Users' and click the button 'Create'

  6. Copy the 'Access Key' and 'Secret Key' and enter them both into Crypto Tax Calculator

How to troubleshoot MEXC import errors

  1. Use CSV Instead of API
    With MEXC we highly recommend using the CSV option over the API due to the MEXC API limitations mentioned above.

  2. File/API Fails to Import

    • Double-check that you’ve followed the provided instructions for file/API preparation and import.

    • If the file/API still fails to import, the exchange may have updated their format or endpoints. Please share the file or API key & secret with our support team so we can investigate and add support for the updated format.

  3. Missing Transactions

    • Ensure that all relevant date ranges have been exported and uploaded.

    • Confirm that all files have been successfully uploaded without errors.

    • If you locate the missing transactions on the exchange or in your original files, share this information with our support team. We will investigate the cause and implement any necessary fixes.

Did this answer your question?