{"id":51152129,"url":"https://github.com/aptyp4uk1337/mexc-api-sdk","last_synced_at":"2026-06-26T07:01:31.714Z","repository":{"id":295328958,"uuid":"989817218","full_name":"aptyp4uk1337/mexc-api-sdk","owner":"aptyp4uk1337","description":"🔷 Unofficial MEXC API SDK - Get your access to MEXC Futures \u0026 Spot APIs during maintenance. PHP · Node.js · Python · Go · Rust · Java · C# libraries","archived":false,"fork":false,"pushed_at":"2026-06-23T11:16:35.000Z","size":180328,"stargazers_count":138,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-06-23T13:28:45.930Z","etag":null,"topics":["api","bypass","mexc","mexc-api","mexc-api-sdk","mexc-bypass","mexc-futures","mexc-futures-api","mexc-sdk","mexc-spot","mexc-spot-api","trading","under-maintainance"],"latest_commit_sha":null,"homepage":"https://mexc-bypass.xyz","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aptyp4uk1337.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":"https://t.me/send?start=IVsYW1WTPxmW"}},"created_at":"2025-05-24T22:15:53.000Z","updated_at":"2026-06-23T11:16:41.000Z","dependencies_parsed_at":"2025-06-26T22:38:01.425Z","dependency_job_id":"5673252c-950f-42ed-822d-414dfd1eff27","html_url":"https://github.com/aptyp4uk1337/mexc-api-sdk","commit_stats":null,"previous_names":["aptyp4uk1337/mexc-futures-api-bypass","aptyp4uk1337/mexc-api-sdk"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aptyp4uk1337/mexc-api-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptyp4uk1337%2Fmexc-api-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptyp4uk1337%2Fmexc-api-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptyp4uk1337%2Fmexc-api-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptyp4uk1337%2Fmexc-api-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aptyp4uk1337","download_url":"https://codeload.github.com/aptyp4uk1337/mexc-api-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptyp4uk1337%2Fmexc-api-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34806448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-26T02:00:06.560Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","bypass","mexc","mexc-api","mexc-api-sdk","mexc-bypass","mexc-futures","mexc-futures-api","mexc-sdk","mexc-spot","mexc-spot-api","trading","under-maintainance"],"created_at":"2026-06-26T07:01:00.380Z","updated_at":"2026-06-26T07:01:31.682Z","avatar_url":"https://github.com/aptyp4uk1337.png","language":"PHP","funding_links":["https://t.me/send?start=IVsYW1WTPxmW"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n   \u003cimg src=\"/assets/mexc-logo.png\" height=\"150\" width=\"150\"\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/php\"\u003e\u003cimg src=\"https://img.shields.io/badge/php-%23777BB4.svg?\u0026logo=php\u0026logoColor=white\" alt=\"PHP\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/python\"\u003e\u003cimg src=\"https://img.shields.io/badge/Python-3776AB?logo=python\u0026logoColor=white\" alt=\"Python\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/nodejs\"\u003e\u003cimg src=\"https://img.shields.io/badge/Node.js-6DA55F?logo=node.js\u0026logoColor=white\" alt=\"Node.js\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/go\"\u003e\u003cimg src=\"https://img.shields.io/badge/Go-%2300ADD8.svg?\u0026logo=go\u0026logoColor=white\" alt=\"Go\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/rust\"\u003e\u003cimg src=\"https://img.shields.io/badge/Rust-%23000000.svg?e\u0026logo=rust\u0026logoColor=white\" alt=\"Rust\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/java\"\u003e\u003cimg src=\"https://img.shields.io/badge/Java-%23ED8B00.svg?logo=openjdk\u0026logoColor=white\" alt=\"Java\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/aptyp4uk1337/mexc-api-sdk/tree/main/src/csharp\"\u003e\u003cimg src=\"https://custom-icon-badges.demolab.com/badge/C%23-%23239120.svg?logo=cshrp\u0026logoColor=white\" alt=\"C#\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n# 🔷 Unofficial MEXC API SDK\n\nThis 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](https://mexcdevelop.github.io/apidocs/contract_v1_en/#order-under-maintenance)\".\n\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"/assets/preview.gif\" title=\"Telegram\"\u003e\n\u003c/div\u003e\n\n---\n\n## 🎖 Features\n\n- ⚡ Blazing fast _(200 - 400 ms)_\n- 🔐 No third-party requests\n- 🌐 Works on mainnet \u0026 testnet\n- 🔀 Support for batch requests\n- 🥷🏻 Multi-accounting and proxy support _(HTTP/HTTPS/SOCKS5)_\n- 🫂 Ability to work with multiple accounts at the same time\n- ⚙️ Compatible with any programming language\n- ⌨️ Simple PHP, Python, Go, Rust, Java \u0026 Node.js library\n\n---\n\n### ❓ FAQ\n\n\u003e Does it fully support placing, cancelling, and tracking all types of futures orders?\n- Yes, including market, limit, stop-limit, and trigger orders.\n\n\u003e How many orders can be sent per second, per minute, per day?\n- See the [results of the Rate Limit Test](#-rate-limit-test) for 200 requests.\n\n\u003e Can the bypass API fetch account info, open positions, and adjust leverage/margin?\n- Yes. For more info, look at [available methods](#-available-methods) section.\n\n\u003e Is the library provided as open source or as compiled/obfuscated code?\n- Currently, everything is open-sourced, nothing is obfuscated.\n\n\u003e Can the library be used with multiple accounts, or is the authentication tied to a single one?\n- No limitation on number of accounts.\n\n\u003e Does it use anything third-party to make those requests?\n- In the test version and subscription mode, all requests go through our server. When purchasing the source code, all requests go directly.\n\n\u003e Will I get a risk control ban for using the library?\n- In my experience - no. For more information on risk control, see here 🛡️ [Risk Control on MEXC](/docs/risk_control_en.md).\n\n\n---\n\n### ⏱️ Rate Limit Test\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"/assets/rate-limit-test.png\" title=\"Telegram\"\u003e\n\u003c/div\u003e\n\n---\n\n### 💥 Node.js example\n\n```JS\nimport { MexcBypass } from './MexcBypass.js';\n\nconst client = new MexcBypass('YOUR_MEXC_WEB_KEY', true, null);\n\ntry {\n  const results = await client.batch({\n    assets: () =\u003e client.getFuturesAssets({ currency: 'USDT' }),\n    positions: () =\u003e client.getFuturesOpenPositions(),\n    ticker_btc: () =\u003e client.getFuturesTickers({ symbol: 'BTC_USDT' }),\n  });\n\n  console.log('USDT Balance:', results.assets?.data?.availableBalance ?? 'N/A');\n  console.log('Open positions:', results.positions?.data ?? []);\n  console.log('BTC Price:', results.ticker_btc?.data?.lastPrice ?? 'N/A');\n\n  const order = await client.createFuturesOrder({\n    symbol: 'BTC_USDT',\n    side: 1,\n    type: 5,\n    open_type: 1,\n    vol: 1,\n    leverage: 10\n  });\n\n  console.log('Order created:', JSON.stringify(order, null, 2));\n} catch (error) {\n  console.error('Error:', error);\n}\n```\n\n---\n\n\n### 📖 Available Methods\n\nThe library supports **50+ endpoints** including:\n\n- Placing, modifying and canceling orders on spot and futures\n- Accessing wallet and asset data\n- Managing open positions, leverage and margin\n- Retrieving contract info and price feeds\n\n📚 **[Full method documentation](/docs#-available-methods)** is available in `/docs/methods/`\n\n---\n\n### ▶ Live preview: placing and cancelling a futures order\n\n\u003cvideo src=\"https://github.com/user-attachments/assets/d51a6a12-a596-440e-bc3c-147ef8aad5b0\" align=\"center\"\u003e\n  👀 \u003ca href=\"https://www.youtube.com/shorts/wMQ-Iq3xHHQ\"\u003eWatch Live Preview\u003c/a\u003e\n\u003c/video\u003e\n\n### 💌 Contact me\n\n\u003ca href=\"https://t.me/aptyp4uk1337_bot?text=%F0%9F%91%8B%20Hi%2C%20I%20am%20writing%20regarding%20the%20acquisition%20of%20MEXC%20API%20SDK.\"\u003e\u003cimg src=\"https://img.shields.io/badge/Telegram-2CA5E0?logo=telegram\u0026logoColor=white\" title=\"Telegram\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faptyp4uk1337%2Fmexc-api-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faptyp4uk1337%2Fmexc-api-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faptyp4uk1337%2Fmexc-api-sdk/lists"}