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-sdkInstalls into whichever agent you are using.
README
🔷 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?
- See the results of the Rate Limit Test for 200 requests.
Can the bypass API fetch account info, open positions, and adjust leverage/margin?
- Yes. For more info, look at available methods section.
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
coding-agent
385.5kDelegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
gh-issues
385.5kFetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
notion
385.5kNotion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.
