OpenViSTAI · Agents · Blockchain · Crypto
Menu
Exchanges & Trading

Mexc Futures SDK

MEXC Futures SDK is an unofficial, MIT-licensed TypeScript library for accessing MEXC Futures through REST and WebSocket interfaces. It includes examples for retrieving ticker data, submitting orders, receiving real-time market data, and subscribing to private order, position and balance updates.

Independent OpenViST project profile, based on linked sources.

Mexc Futures SDK — OpenViST project profile in Exchanges & Trading.
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Install the package with the command below.

    Documented command
    npm install mexc-futures-sdk
  2. Sign in to MEXC Futures in a browser and open Developer Tools to the Network tab.

  3. 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.
Source-based practical guide

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

  1. Create an API key and secret in MEXC API Management.

  2. Enable futures trading permissions for the key.

  3. 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.
Evidence and transparency

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