How to get an API key for MEXC Global(MXC)

This page explains how to get an API key for MEXC Global(MXC)'s transaction history.

* For details on how to add the API connectivity, please refer to here.

If the transactions fetched via the API and the transactions in the downloaded file are different, we cannot determine which is more accurate. Please check the transaction details thoroughly after they are fetched via the API. If you find any missing transactions, please send us the downloaded file and the API details via the Support button at the bottom right. We will check the details.

Attention (as of June 9, 2022)

Regarding the "Dust conversion to KCS" history of MEXC, the information "which coins were used and how many coins were converted to KCS" is not delivered via the API, so the transaction history cannot be reflected automatically. Please upload the information as a custom transaction separately. Please refer to here for how to describe a custom transaction.

 

Attention (as of February 17, 2022)

We have confirmed that due to the specification on the exchange side, you can only fetch CASH Trades history for the past 30 days (and withdrawals for the past 60 days). For history older than 30 days, please upload them as custom trades and do API synch within the next 30 days. After that please periodically do API synch to fetch history. 

 

Attention (as of February 17, 2022)

API connection is only supported for SPOT Trades. For other trades, please upload them separately as custom trades.

 

1. After logging in, click the Person icon at the top right and select "API".mceclip0.png

2. Enable "Trade: Read order information and Withdrawal: Read the deposit/withdrawal information, then click "Create".

mceclip1.png

* Notes is a required field. Please enter some value.

* For security reasons, we do not disclose IP addresses. Please leave the IP address field blank.

3. Enter the security verification information and click Confirm.

mceclip2.png

 

4. Take note of your Access Key and Secret Key, and add API connectivity via Connect to your exchanges.

* Please be sure to take note of your Secret Key as it is displayed only once upon creation. If you miss this opportunity, your Secret Key will be displayed in asterisks and you will need to create it again.

mceclip3.png

 

* Due to the specification on the exchange side, API keys that are not bound to any IP address expire in 90 days. After 90 days, please repeat the above procedure to re-generate API Key and API secret and re-establish connectivity. This should not result in fetching the same trade again.

 

Disclaimer

Please note that we will not be held responsible for any damages caused by unauthorized use or other accidents due to API connections. When connecting, please be sure to use the API key specified by us.