How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

MEXC Margin API

The Margin API from MEXC — 14 operation(s) for margin.

MEXC Margin API is one of 12 APIs that MEXC publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Margin. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 19 operations across 14 paths. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://contract.mexc.com.

19 operations 14 paths 0 schemas 2 DELETE13 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.mexc.com
Authentication
API Key
Resource Areas
1

Authentication & Security 1

MEXC Margin API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-MEXC-APIKEY (ApiKeyAuth).

Paths & Operations 19

Across 14 paths, the API surfaces 19 operations — 2 DELETE, 13 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Margin 19
POST
/api/v3/margin/tradeMode
Change Trade Mode
change_trade_mode 5 params → 200
POST
/api/v3/margin/order
Margin Account New Order
margin_account_new_order 8 params → 200
DELETE
/api/v3/margin/order
Margin Account Cancel Order
margin_account_cancel_order 5 params → 200
GET
/api/v3/margin/order
Query Margin Account's order
query_margin_account_s_order 5 params → 200
POST
/api/v3/margin/loan
Margin Account Borrow
margin_account_borrow 6 params → 200
GET
/api/v3/margin/loan
Query Loan Record
query_loan_record 4 params → 200
POST
/api/v3/margin/repay
Margin Account Repay
margin_account_repay 7 params → 200
GET
/api/v3/margin/repay
Query Repay Record
query_repay_record 5 params → 200
DELETE
/api/v3/margin/openOrders
Margin Account Cancel all Open Orders on a Symbol
margin_account_cancel_all_open_orders_on_a_symbol 3 params → 200
GET
/api/v3/margin/openOrders
Query Margin Account's Open Order
query_margin_account_s_open_order 4 params → 200
GET
/api/v3/margin/allOrders
Query Margin Account's All Order
query_margin_account_s_all_order 4 params → 200
GET
/api/v3/margin/myTrades
Query Margin Account's Trade List
query_margin_account_s_trade_list 4 params → 200
GET
/api/v3/margin/maxTransferable
Query Margin Account's maxTransferable
query_margin_account_s_maxtransferable 4 params → 200
GET
/api/v3/margin/priceIndex
Query Margin Account's priceIndex
query_margin_account_s_priceindex 3 params → 200
GET
/api/v3/margin/isolated/account
Query Isolated Margin Account Info
query_isolated_margin_account_info 4 params → 200
GET
/api/v3/margin/trigerOrder
Query Margin Account's trigerOrder
query_margin_account_s_trigerorder 2 params → 200
GET
/api/v3/margin/maxBorrowable
Query Margin Account's maxBorrowable
query_margin_account_s_maxborrowable 4 params → 200
GET
/api/v3/margin/isolated/pair
Query Solated Pair
query_solated_pair 3 params → 200
GET
/api/v3/margin/forceLiquidationRec
Query forceLiquidationRec
query_forceliquidationrec 3 params → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mexc-margin-api-openapi.yml Raw ↑

Other APIs MEXC publishes across the network.

MEXC Spot WebSocket Streams
MEXC Futures WebSocket API
MEXC Broker API
MEXC Accounts and Transactions API
MEXC EFT API
MEXC Market Date Endpoints API
MEXC Parent child account API
MEXC Quote API
MEXC Rebate API
MEXC Spot Account/Trade API
MEXC Wallet API
Where this information came from

This is an independent, third-party profile of MEXC Margin API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.