This API is for making requests that have been marked as Under maintenance
in MEXC API docs. (example here)
The MEXC Contract API allows you to access and manage various aspects of the MEXC Futures trading platform programmatically. The API provides access to functionalities such as managing assets, orders, positions, and account settings.
This document details all available endpoints. Those that are marked Under maintenance
have been bypassed, which means they are available to use without any restrictions.
Code is currently only available in Typescript, Python and as Postman collection (more here). Python version is fully typed. Other languages available upon request.
- Telegram: @vecful (I am usually on here)
- Discord: @vecful
If you don't feel comfortable with the simple way, we can always do escrow services.










If you are interested in spot bypass instead, you can find more information here: mexc-spot-bypass
Does it fully support placing, cancelling, and tracking all types of futures orders (market, limit, stop-limit, etc.)?
Yes. For more info, look at endpoints overview section.
Can the bypass API fetch account info, open positions, and adjust leverage/margin?
Yes. For more info, look at endpoints overview section.
How does authentication work – do I need an API key, or does it use something else?
It doesn't use API keys.
Is there any setup guide or quick demo so I know what I’m getting?
Brief setup guide can be seen in the example files. For a quick demo, I can send you one in a private message.
Is the library provided as open source or as compiled/obfuscated code?
Currently, everything is open-sourced, nothing is obfuscated.
Can the library be used with multiple accounts, or is the authentication tied to a single one?
No limitation on number of accounts.
Does it use anything third-party to make those requests?
No.
- Endpoint:
/private/account/assets
- Endpoint:
/private/account/asset/{currency}
- Endpoint:
/private/account/transfer_record
- Endpoint:
/private/position/list/history_positions
- Endpoint:
/private/position/open_positions
- Endpoint:
/private/order/list/open_orders
- Endpoint:
/private/order/list/history_orders
- Endpoint:
/private/order/create
- Endpoint:
/private/order/cancel
- Endpoint:
/private/order/cancel_all
- Endpoint:
/private/order/cancel_with_external
- Endpoint:
/private/planorder/list/orders
- Endpoint:
/private/planorder/place
- Endpoint:
/private/planorder/cancel
- Endpoint:
/private/planorder/cancel_all
- Endpoint:
/private/stoporder/list/orders
- Endpoint:
/private/stoporder/cancel
- Endpoint:
/private/stoporder/cancel_all
- Endpoint:
/private/account/risk_limit
- Endpoint:
/private/position/change_margin
- Endpoint:
/private/position/leverage
- Endpoint:
/private/position/change_leverage
- Endpoint:
/private/position/position_mode
- Endpoint:
/private/position/change_position_mode