MEXC API

mc_institution_banner_title
Trading Support
REST Interface
Provides API spot trading services for over 1,200 types of cryptocurrencies.
WebSocket Push
Direct pushes about depth, price changes, orders, transactions, and more.
Technical Support
SDK
SDK
Provides 6 types of DEMO examples: PYTHON, JAVA, GO, DOTNET, NODE.JS, and Postman Collections.
Technical Support
Technical Support
We provide professional technical support. Should you face any issues while accessing MEXC API, kindly contact us for assistance.
Collaborations & Services
Brokers
Brokers
MEXC Broker adapts an industry-leading high percentage profit sharing system, while providing one-stop technical services and customized solutions.
API Broker
Independent Broker
Market Makers
Market Makers
MEXC provides professional institutional services and interest-free loans to market makers, empowering partner institutions to make great profits at lower costs.
High Amount Limit
Dedicated Customer Service
Security & Features
API Key Renewal
API Key Renewal
The renewal feature allows a 90-day API key extension to reduce leakage risks caused by multiple applications for API key.
Trading Pairs Settings
Trading Pairs Settings
Set the trading pairs that can be traded while using API key to prevent market manipulation caused by API key leakage.
Frequently Asked Questions (FAQ)
1

How do I create and use an API key?

  1. Log in to your MEXC account and click the profile icon in the top-right corner.
  2. Select API Management from the dropdown menu.
  3. Choose the required permissions, add a note, and link IP addresses.
  4. Click Create and complete the security verification. Once created, the key is ready to use. For more details, please refer to the official API documentation.
2

What trading does the API support?

MEXC currently supports Spot trading APIs for all users. Futures API trading is currently available to institutional users only. For institutional inquiries, contact institution@mexc.com. Updates on Futures API access will be posted in the Announcement Center.
3

Where can I find API error codes?

You can find error code explanations in the Error Codes section of our official API documentation. Use the returned errorCode to look up the meaning and recommended actions.
4

Which trading pairs are supported by the API?

You can retrieve the full list of supported Spot trading pairs here: https://api.mexc.com/api/v3/defaultSymbols This endpoint updates in real time. Custom trading pair requests are not currently supported.
5

Does the API provide a test or sandbox environment?

MEXC API connects directly to the live trading environment. We don't currently offer a sandbox or test environment.
6

Which programming languages are supported by the MEXC API SDK?

MEXC API supports multiple programming languages, including Python, Java, Node.js, Go, and .NET. Please note that only SDKs listed in our official API documentation are supported. MEXC is not responsible for any issues or losses from using third-party tools or libraries.