Home โ€บ Crypto Exchange APIs โ€บ MEXC

MEXC API โ€” how to get keys, cost & limits

โœ“ Last verified: 2026-07-15ยท Source: official provider pricing pageยท Auto-monitored โ€” report change โ†’

MEXC is fast to list new tokens and exposes a straightforward REST + WebSocket API for spot and futures. Here's how to get keys and what it costs.

What the API does & cost

UseCost
Market data (REST/WS)Free
Spot maker/taker~0.0โ€“0.1%
Futures taker~0.02โ€“0.06%
API accessFree
โš ๏ธ The MEXC API is free to use โ€” you only pay trading fees on the trades it places. Fees and limits change; confirm on the official docs. Market-data (read-only) endpoints cost nothing. ยท Report outdated price โ†’
New to MEXC?
Create an account with our referral link. You support APICostCalc (we may earn a small share of fees, at no extra cost to you).
Sign up on MEXC โ†’

How to get your MEXC API keys (step by step)

1. Sign up / log in at mexc.com and complete verification.
2. Go to Account โ†’ API Management and click Create API.
3. Label the key, choose permissions (Read / Trade) and add an IP allow-list.
4. Copy the Access Key and Secret Key โ€” the secret shows once.
5. Keep withdrawals off for API trading keys.

Quick test

# public market data โ€” no key needed
curl "https://api.mexc.com/api/v3/ticker/price?symbol=BTCUSDT"

Security โ€” read this

Never share your secret โ€” regenerate it if leaked. For data-only bots enable read-only. Always whitelist your server IP and disable withdrawals on API keys unless you truly need them โ€” a leaked withdraw-enabled key can drain your account.

Alternatives

MEXC is great for early listings; for liquidity on majors use Binance or OKX.

โ† All crypto exchange APIs ยท trade safely โ€” size positions with RektCalc.

Not affiliated with MEXC. Exchange link is a referral link.

Host your project:DigitalOcean โ€” $200 free โ†—Hostinger VPS

Exchanges

BybitBinanceOKXKuCoinBitgetGate.ioMEXC

Tools & Hosting

๐Ÿ“ˆ TradingView๐Ÿ”’ NordVPN๐Ÿ’ณ RevolutDigitalOcean $200Hostinger