How to create a read-only MEXC API key
A key that can read your MEXC balances and nothing else: no trading, no transfers, no withdrawals. These are the steps Sovereign shows when you connect MEXC.
We checked these steps against MEXC's own documentation on 25 September 2026. MEXC can rename a button at any time. If a label differs, look for the same permission.
Before you start
- MEXC may require a phone number, email and Google Authenticator linked to your account before you can create a key.
- Netherlands residents: MEXC is winding down Dutch accounts. Its own announcement gives a final batch deadline of 23 October 2026, with restrictions from 24 October and offboarding complete on 31 October. From 00:00 UTC on 24 October MEXC itself closes any open futures position at a fair price, so those positions disappear from a Dutch account on a sync that otherwise succeeds — that is the wind-down, not a fault here, and reconnecting cannot bring them back. A Dutch account will stop returning balances — connect it only if MEXC still serves you.
Permissions
Turn on only:
- View Account Details (spot)
- View Account Details (futures, only if you hold futures)
- View Order Details (futures, only if you hold futures)
Keep these off:
- Order Placing (spot and futures)
- Any withdrawal permission, including View Deposit/Withdrawal Details
- Read transfer information and any other transfer permission
- Edit Account Info
- Margin and P2P permissions
Steps
Sovereign connects to MEXC from one fixed IP address. The connection form in Sovereign shows it next to these steps, with a copy button.
- Press “Open MEXC API Management” above and sign in to MEXC.
- In the spot permissions, tick “View Account Details”. Leave “Order Placing” and every withdrawal, transfer, margin and P2P box unticked.
- If you hold futures, also tick “View Account Details” and “View Order Details” in the futures permissions.
- In “Notes (Required)”, type Sovereign.
- In “Link IP Address (optional)”, paste Sovereign's IP address, and nothing else.
- Tick “I have read and agree to the Risk Reminders for API Users”.
- Click “Create” and complete MEXC's security verification.
- Copy the access key and the secret key now. MEXC shows the secret key only once.
- In “My API Key”, check your new key's “Remaining Validity (Days)”.
- Paste the access key into API KEY and the secret key into API SECRET in Sovereign, then press “Connect & Sync”.
Where each value goes in Sovereign:
- Access key → API KEY
- Secret key → API SECRET
Does a MEXC API key expire?
- With an IP restriction: Not confirmed by MEXC — check “Remaining Validity (Days)” in “My API Key”.
- Without an IP restriction: Switched off after 90 days (you can renew it from 5 days before).
MEXC publishes no clear expiry rule. If the key stops working, Sovereign marks the connection as expired and asks for a new key.
Spot balances, your futures account equity and open futures positions sync. MEXC has no funding wallet and no API for Earn or the fiat/P2P balance, so those never appear. In the futures permissions, “View Account Details” reads your futures account equity and “View Order Details” your open positions; without them the spot balances still come through, so tick them only if you hold futures. Each sub-account needs its own key.
If something goes wrong
- If MEXC asks for “API Usage”: choose “Open API”, not “MEXC-CLI”.
- If you can't tick the futures boxes: skip them; your spot balances still connect.
- If you lose the secret key: create a new key, because MEXC shows it only once.
Which permissions does a read-only MEXC API key need?
Turn on: View Account Details (spot); View Account Details (futures, only if you hold futures); View Order Details (futures, only if you hold futures). Keep off: Order Placing (spot and futures); Any withdrawal permission, including View Deposit/Withdrawal Details; Read transfer information and any other transfer permission; Edit Account Info; Margin and P2P permissions.
Can Sovereign trade or withdraw with my MEXC key?
No. Sovereign's code does not trade or move funds: it reads balances and positions. A key made with this guide also has no trading, transfer or withdrawal permission, so MEXC itself refuses such a request.
Sources
- www.mexc.com/user/openapi
- www.mexc.com/mexc-api
- www.mexc.com/api-docs/spot-v3/spot-account-trade/account-information
- www.mexc.com/api-docs/futures/account-and-trading-endpoints/get-open-positions
- www.mexc.com/announcements/product-updates