SkillAgentSearch skills...

Mexc Api SDK

🔷 Unofficial MEXC API SDK - Get your access to MEXC Futures & Spot APIs during maintenance. PHP · Node.js · Python · Go · Rust · Java · C# libraries

Install / Use

npx skills add aptyp4uk1337/mexc-api-sdk

Installs into whichever agent you are using.

README

<div align="center"> <img src="/assets/mexc-logo.png" height="150" width="150"> </div> <div align="center"> <a href="https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/php"><img src="https://img.shields.io/badge/php-%23777BB4.svg?&logo=php&logoColor=white" alt="PHP"></a> <a href="https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/python"><img src="https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=white" alt="Python"></a> <a href="https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/nodejs"><img src="https://img.shields.io/badge/Node.js-6DA55F?logo=node.js&logoColor=white" alt="Node.js"></a> <a href="https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/go"><img src="https://img.shields.io/badge/Go-%2300ADD8.svg?&logo=go&logoColor=white" alt="Go"></a> <a href="https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/rust"><img src="https://img.shields.io/badge/Rust-%23000000.svg?e&logo=rust&logoColor=white" alt="Rust"></a> <a href="https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/java"><img src="https://img.shields.io/badge/Java-%23ED8B00.svg?logo=openjdk&logoColor=white" alt="Java"></a> <a href="https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/csharp"><img src="https://custom-icon-badges.demolab.com/badge/C%23-%23239120.svg?logo=cshrp&logoColor=white" alt="C#"></a> </div>

🔷 Unofficial MEXC API SDK

This is an unofficial MEXC API SDK with support for futures and spot trading, as well as many other methods, providing full trading and account access, even if some routes are marked as "Under maintenance".

<br> <div align="center"> <img src="/assets/preview.gif" title="Telegram"> </div>

🎖 Features

  • ⚡ Blazing fast (200 - 400 ms)
  • 🔐 No third-party requests
  • 🌐 Works on mainnet & testnet
  • 🔀 Support for batch requests
  • 🥷🏻 Multi-accounting and proxy support (HTTP/HTTPS/SOCKS5)
  • 🫂 Ability to work with multiple accounts at the same time
  • ⚙️ Compatible with any programming language
  • ⌨️ Simple PHP, Python, Go, Rust, Java & Node.js library

❓ FAQ

Does it fully support placing, cancelling, and tracking all types of futures orders?

  • Yes, including market, limit, stop-limit, and trigger orders.

How many orders can be sent per second, per minute, per day?

Can the bypass API fetch account info, open positions, and adjust leverage/margin?

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?

  • In the test version and subscription mode, all requests go through our server. When purchasing the source code, all requests go directly.

Will I get a risk control ban for using the library?

  • In my experience - no. For more information on risk control, see here 🛡️ Risk Control on MEXC.

⏱️ Rate Limit Test

<div align="center"> <img src="/assets/rate-limit-test.png" title="Telegram"> </div>

💥 Node.js example

import { MexcBypass } from './MexcBypass.js';

const client = new MexcBypass('YOUR_MEXC_WEB_KEY', true, null);

try {
  const results = await client.batch({
    assets: () => client.getFuturesAssets({ currency: 'USDT' }),
    positions: () => client.getFuturesOpenPositions(),
    ticker_btc: () => client.getFuturesTickers({ symbol: 'BTC_USDT' }),
  });

  console.log('USDT Balance:', results.assets?.data?.availableBalance ?? 'N/A');
  console.log('Open positions:', results.positions?.data ?? []);
  console.log('BTC Price:', results.ticker_btc?.data?.lastPrice ?? 'N/A');

  const order = await client.createFuturesOrder({
    symbol: 'BTC_USDT',
    side: 1,
    type: 5,
    open_type: 1,
    vol: 1,
    leverage: 10
  });

  console.log('Order created:', JSON.stringify(order, null, 2));
} catch (error) {
  console.error('Error:', error);
}

📖 Available Methods

The library supports 50+ endpoints including:

  • Placing, modifying and canceling orders on spot and futures
  • Accessing wallet and asset data
  • Managing open positions, leverage and margin
  • Retrieving contract info and price feeds

📚 Full method documentation is available in /docs/methods/


▶ Live preview: placing and cancelling a futures order

<video src="https://github.com/user-attachments/assets/d51a6a12-a596-440e-bc3c-147ef8aad5b0" align="center"> 👀 <a href="https://www.youtube.com/shorts/wMQ-Iq3xHHQ">Watch Live Preview</a> </video>

💌 Contact me

<a href="https://t.me/aptyp4uk1337_bot?text=%F0%9F%91%8B%20Hi%2C%20I%20am%20writing%20regarding%20the%20acquisition%20of%20MEXC%20API%20SDK."><img src="https://img.shields.io/badge/Telegram-2CA5E0?logo=telegram&logoColor=white" title="Telegram"></a>

Related Skills

View on GitHub
GitHub Stars137
CategoryDevelopment
Updated21d ago
Forks3

Languages

PHP

Security Score

100/100

Audited on Jul 17, 2026

No findings