Practical overview
When it fits
Use it when a TypeScript application needs an integration path to MEXC Futures market data, order submission or live account events, and the developer accepts the constraints of an unofficial interface.
Who it is for
- TypeScript developers building MEXC Futures trading automation.
- Developers creating tools for futures market monitoring or order and account-event handling.
Documented uses
- Retrieve futures ticker data and submit orders through the REST client.
- Stream market data and subscribe to private trading and account updates over WebSocket.
- Build a futures trading workflow that responds to order, position or balance events.
Requirements & limits
The repository is public and MIT-licensed. REST authentication uses a browser session token; the WebSocket example uses an API key and secret with futures trading permissions enabled.
- REST and WebSocket access serve different tasks and use separate documented authentication methods.
- The project uses browser session tokens and reverse-engineered endpoints; MEXC does not officially support futures trading through API.
- Zero-fee pair eligibility is account-specific and can change; the README points to order-history fee rates for checking fees applied to filled orders.
- The SDK is written in TypeScript and is distributed as the npm package mexc-futures-sdk.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install the SDK and prepare REST authentication
Add the package to a TypeScript project and obtain the browser session token used by the documented REST client.
Before you start
- A TypeScript project using npm.
- A MEXC Futures browser session.
Steps
Install the package with the command below.
npm install mexc-futures-sdkSign in to MEXC Futures in a browser and open Developer Tools to the Network tab.
Make a request to futures.mexc.com and copy the authorization header value beginning with WEB.
Expected outcome
The package is installed and the REST authentication token described by the README is available for client configuration.
Guide limitations
- The README describes browser session tokens and reverse-engineered endpoints; MEXC does not officially support futures trading through API.
- This covers installation and credential preparation, not a verified trading result.
Prepare WebSocket access for account updates
Create the API credentials and permissions needed for the documented WebSocket login and private-data subscription flow.
Before you start
- Access to MEXC API Management.
Steps
Create an API key and secret in MEXC API Management.
Enable futures trading permissions for the key.
Use the key and secret in the SDK's WebSocket configuration, then follow the README's connect, login and subscription example.
Expected outcome
The documented setup path is prepared for subscribing to private events such as order, position and balance updates.
Guide limitations
- The repository describes an unofficial integration and warns that MEXC does not officially support futures trading through API.
- This guide covers the documented credential and subscription setup, not a tested connection.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 8 October 2026
- Original website title
- oboshto/mexc-futures-sdk · Official homepage title · retained in its source language

