How to Connect MEXC to ZeroLoss: API Key Setup
ZeroLoss trades MEXC USDT-M perpetual futures on your own MEXC account. It connects through an API key that you create on MEXC, not through your password, and the key only needs permission to read your account and trade futures. Your money stays on MEXC the whole time. This guide shows how to create that key, restrict it, and connect it to ZeroLoss. It takes about five minutes.
Want to see the bot trade before connecting anything? The free 7-day paper test needs no exchange at all.
Before you start
- A MEXC account with identity verification (KYC) completed. MEXC requires KYC to enable futures trading permission on an API key.
- Two-factor authentication turned on.
- At least 100 USDT in your futures account. On the web: Futures → Transfer → from Spot to Futures → USDT. In the app: Wallets → Transfer, Spot to Futures.
- A ZeroLoss account. You can start with the free paper test and connect later.
Step 1: Create the API key on MEXC
- Log in on the MEXC website and open API Management from the profile icon at the top right.
- Start a new key and give it a note you will recognise, such as “ZeroLoss”.
- Set the permissions (Step 2) and the IP binding (Step 3) on the same screen.
- Click create and complete MEXC’s security verification.
- Copy the Access Key and the Secret Key. MEXC shows the secret only once.
Step 2: Choose the permissions
Give the key permission to read the account and to trade futures. Leave the withdrawal permission off, and leave any transfer permission off too: ZeroLoss never moves money between wallets. MEXC also has a trading pairs setting; leave it open so the bot can trade the coins it chooses.
Step 3: Restrict the key to ZeroLoss’s IP addresses
Restricting a key to a few IP addresses means it only works from those servers, even if someone copied it. In the ZeroLoss app, open Connect Exchange; the step Add our IPs lists ZeroLoss’s server addresses with a Copy all button. Paste them into the IP restriction field on MEXC.
On MEXC, binding IPs is optional but worth doing for a second reason: a key with no IP binding is only valid for 90 days (you can renew it from five days before it expires). A bound key does not have that limit, so it will not stop the bot without warning.
Step 4: Connect the key in ZeroLoss
- Log in to ZeroLoss and open Connect Exchange.
- Under 1 · Pick your exchange, choose MEXC.
- Under 2 · Paste your API key, paste your API key and secret key.
- Click Verify & connect. ZeroLoss checks the key and reads your futures balance. The connection needs at least 100 USDT in your MEXC futures account.
Check that the key is safe
Open the API management page on MEXC and look at the key you created. It should allow reading and futures trading, with withdrawals off. To stop ZeroLoss at any time, delete the key on MEXC; trading through it ends immediately, without any action from us. Our guide to trade-only API keys explains why this is the setting that matters.
Common problems
- Futures permission cannot be ticked: KYC is not finished. Complete identity verification on MEXC first.
- The bot stopped after about three months: the key had no IP binding and expired after 90 days. Create a new key bound to ZeroLoss’s IPs.
- “Invalid API Key or Secret”: a character was missed when copying. Copy both again; if the secret was not saved, delete the key and create a new one.
- “API key missing required permissions”: futures trading or reading is not ticked on the key. Edit the key, or create a new one with both.
- “API IP restriction issue”: the key is restricted, but not to all of ZeroLoss’s addresses. Use Copy all in the app and paste the full list again.
- “Minimum 100 USDT required in Futures wallet”: your USDT is still in the Spot account. Transfer it from Spot to Futures on MEXC and try again.
Good to know about MEXC
MEXC opened futures trading through its API on 31 March 2026, for all futures pairs except its Innovation Zone. Availability can vary by region, and MEXC applies its own API fee rates to trades placed through a key.
Crypto futures trading carries a high risk of loss, and automation does not remove it. Exchange screens change from time to time; if a menu looks different, the permission names above are what to look for. This page is general information, not financial advice. See our Risk & Liability Disclaimer.