How to import data via MEXC Global API key?

How do I get my MEXC Global API key?

  1. Log into your MEXC Global account.
  2. Click on the profile button in the upper-right corner and select API.
  3. Now go to API Settings and click on Create API.
  4. Now enter "blockpit" as Notes for your API key and only grant all "Read information permissions"  and deactivate all other permissions as shown in the image below.
  5. Do not use IP whitelisting for Blockpit.

    MEXC Blockpit Integration API settings.png

  6. Now click Create, request your mail verification code, enter it along with your authentication code and click Confirm.
  7. Your API key and Secret are now visible in the API-List.
    Your Secret is now shown only once and available to copy!
  8. To import your data, you must first create an Integration in the Blockpit Web App.
    To do so, click + Integration in the upper navigation.
  9. Select MEXC from the list of exchanges, and then copy the API key and the secret into the designated fields. Confirm your entries by clicking Create.

Your API key will have to be renewed every 3 months. You can edit the Integration and renew your API key there.


Which data can be imported via MEXC Global API?

Your complete transaction history always serves as the basis for your tax report. Preferably, automatic API solutions are used to import your transactions. Our team is committed to implementing all API data provided by your exchange for you.

Using the following list, you can identify all products that are implemented:


icon-clock.svg Import of trade history via API on the exchange side limited to 30 days retroactively! (Spot Market Trades)


check.png Crypto Deposits & Withdrawals
check.png Fee Payments
check.png Spot Market Trades
check.png PnL for Future Trades (Profit, Loss, Fee, Funding)

In case of missing transactions, you can identify them in the history of your exchange and help our support team via ticket to include them in our import spectrum.

Not Supported

x.png Margin Trades
x.png Earn: Rewards & Distributions (Staking, Lending, Airdrops, Hard Forks)
x.png Credit Card Trades / P2P Trades
x.png Fiat Deposits & Withdrawals*

If an import of your transactions via API is not available on exchange side, you can also add these transactions manually or by migrating your CSV data into our Excel template.

Synced Balance:

check.png Complete import scope

Please note the information about how the asset balance is calculated in this article.
If balances are displayed incorrectly, you can help our support team via Ticket to add them to our API import scope.

Here you will find instructions on how to create an API-Integration in Blockpit.


Will MEXC Global automatically deduct the tax for me?

Was this article helpful?