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.

In API, we support "spot trades", "future trades" and "withdrawal trades".

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


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



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.



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



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.