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 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. 

■Spot trade history/Futures history

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

2. For Spot trade history Enable ①"Trade: Read order information and②” Withdrawal: Read the deposit/withdrawal information”, for Futures history Enable ③”Read order information” .(※If you don't have a transacation in Futurse you don't need to tick off the  box③.)④Notes is a required field. Please enter some value.⑤ Click "Create".

__________20221201_135610.png

* 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.