MEXC logo

MEXC

MEXC is a global cryptocurrency exchange providing REST and WebSocket APIs for spot trading, perpetual futures, market data, order management, account management, and wallet operations across 1,200+ trading pairs. MEXC supports institutional users through a Broker API with sub-account management and a Market Maker Program with tiered rate limits and competitive fee schedules.

5 APIs 8 Features
CryptocurrencyExchangeTradingFuturesMarket DataFinanceBlockchain

APIs

MEXC Spot REST API

The MEXC Spot REST API (v3) provides programmatic access to MEXC's spot exchange, supporting over 1,200 cryptocurrency trading pairs. Developers can retrieve real-time and histo...

MEXC Spot WebSocket Streams

The MEXC Spot WebSocket Streams deliver real-time market data and user account updates via persistent WebSocket connections. Public channels provide ticker data, order book dept...

MEXC Futures REST API

The MEXC Futures REST API provides access to MEXC's perpetual futures trading platform. Public endpoints expose contract details, order book depth, index prices, fair prices, fu...

MEXC Futures WebSocket API

The MEXC Futures WebSocket API streams real-time derivatives market data and account events over persistent WebSocket connections. Public channels include ticker data, trade tra...

MEXC Broker API

The MEXC Broker API enables institutional partners to manage sub-accounts and provide trading services to their users. MEXC supports three broker modes: API Broker for copy-trad...

Features

Spot Trading

Buy and sell 1,200+ cryptocurrency pairs with limit, market, and stop-loss orders.

Futures Trading

Trade perpetual futures contracts with leverage via REST and WebSocket APIs.

Market Data

Real-time and historical price tickers, order book depth, klines, and funding rates.

WebSocket Streams

Low-latency real-time market data and account event streams.

Wallet Management

Manage deposits, withdrawals, deposit addresses, and currency information.

Sub-Account Management

Create and manage up to 30 sub-accounts per master account with independent API keys.

Broker Program

API Broker, Independent Broker, and OAuth Broker modes for institutional partners.

Market Maker Program

Tiered market maker program with enhanced API rate limits and competitive fee rebates.

Use Cases

Algorithmic Trading

Build automated trading bots using MEXC REST and WebSocket APIs for spot and futures.

Market Data Aggregation

Aggregate real-time prices, order books, and trade feeds across 1,200+ pairs.

Portfolio Management

Track and rebalance cryptocurrency portfolios across spot and futures accounts.

Arbitrage Trading

Exploit price differences across MEXC spot and futures markets programmatically.

Broker Integration

Build copy-trading platforms, trading bots, and wallet apps using the Broker API.

Resources

🌐
Portal
Portal
🔗
Documentation
Documentation
🚀
GettingStarted
GettingStarted
👥
GitHubOrganization
GitHubOrganization
📦
SDKs
SDKs
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps
🔗
Announcements
Announcements
🟢
Status
Status
💬
Support
Support
🔗
JSONLd
JSONLd
🔗
Vocabulary
Vocabulary

Sources

Raw ↑
aid: mexc
url: https://raw.githubusercontent.com/api-evangelist/mexc/refs/heads/main/apis.yml
modified: '2026-06-13'
apis:
  - aid: mexc:spot-rest-api
    name: MEXC Spot REST API
    tags:
      - Cryptocurrency
      - Exchange
      - Market Data
      - Spot
      - Trading
    image: https://kinlane-productions2.s3.amazonaws.com/apis-json/apis-json-logo.jpg
    baseURL: https://api.mexc.com
    humanURL: https://mexcdevelop.github.io/apidocs/spot_v3_en/
    properties:
      - url: https://mexcdevelop.github.io/apidocs/spot_v3_en/
        type: Documentation
      - url: openapi/mexc-spot-rest-api-openapi.json
        type: OpenAPI
    description: >-
      The MEXC Spot REST API (v3) provides programmatic access to MEXC's spot exchange, supporting over
      1,200 cryptocurrency trading pairs. Developers can retrieve real-time and historical market data,
      manage orders, query account balances, and handle wallet operations including deposits, withdrawals,
      and address management. Authentication uses HMAC SHA256 signed requests with API key credentials
      provided via the X-MEXC-APIKEY header. The API enforces IP-based and UID-based rate limits of
      300 and 500 weight units per 10-second window respectively.
  - aid: mexc:spot-websocket-streams
    name: MEXC Spot WebSocket Streams
    tags:
      - Cryptocurrency
      - Market Data
      - Real-Time
      - Streaming
      - WebSocket
    image: https://kinlane-productions2.s3.amazonaws.com/apis-json/apis-json-logo.jpg
    baseURL: wss://wbs-api.mexc.com/ws
    humanURL: https://mexcdevelop.github.io/apidocs/spot_v3_en/#websocket-market-streams
    properties:
      - url: https://mexcdevelop.github.io/apidocs/spot_v3_en/#websocket-market-streams
        type: Documentation
    description: >-
      The MEXC Spot WebSocket Streams deliver real-time market data and user account updates via
      persistent WebSocket connections. Public channels provide ticker data, order book depth, trade
      feeds, and kline/candlestick streams. Private (authenticated) channels deliver order status
      updates and account balance changes. Each connection supports a maximum of 30 channel subscriptions,
      with a rate limit of 100 messages per second. Connections are valid for up to 24 hours and require
      periodic ping/pong keepalives.
  - aid: mexc:futures-rest-api
    name: MEXC Futures REST API
    tags:
      - Cryptocurrency
      - Derivatives
      - Exchange
      - Futures
      - Trading
    image: https://kinlane-productions2.s3.amazonaws.com/apis-json/apis-json-logo.jpg
    baseURL: https://contract.mexc.com
    humanURL: https://mexcdevelop.github.io/apidocs/contract_v1_en/
    properties:
      - url: https://mexcdevelop.github.io/apidocs/contract_v1_en/
        type: Documentation
      - url: openapi/mexc-futures-rest-api-openapi.json
        type: OpenAPI
    description: >-
      The MEXC Futures REST API provides access to MEXC's perpetual futures trading platform. Public
      endpoints expose contract details, order book depth, index prices, fair prices, funding rates,
      k-line data, and transaction history without authentication. Authenticated endpoints support
      account asset management, position management, order placement and cancellation, leverage and
      margin adjustments, trigger orders, and stop-limit orders. Authentication uses HMAC SHA256
      with the ApiKey, Request-Time, and Signature headers. Standard rate limits apply at 20 requests
      per 2-second window. API Futures trading is subject to a separate fee schedule: maker 0.06%
      and taker 0.08% as of June 1, 2026.
  - aid: mexc:futures-websocket-api
    name: MEXC Futures WebSocket API
    tags:
      - Cryptocurrency
      - Derivatives
      - Futures
      - Real-Time
      - Streaming
      - WebSocket
    image: https://kinlane-productions2.s3.amazonaws.com/apis-json/apis-json-logo.jpg
    baseURL: wss://contract.mexc.com/edge
    humanURL: https://mexcdevelop.github.io/apidocs/contract_v1_en/#websocket-api
    properties:
      - url: https://mexcdevelop.github.io/apidocs/contract_v1_en/#websocket-api
        type: Documentation
    description: >-
      The MEXC Futures WebSocket API streams real-time derivatives market data and account events over
      persistent WebSocket connections. Public channels include ticker data, trade transactions, order
      book depth, k-line streams, and funding rate updates. Private channels (requiring login) stream
      order status changes, position updates, asset balance changes, and ADL level alerts. The API uses
      the same base domain as the Futures REST API and supports both public and authenticated channel
      subscriptions in a single connection.
  - aid: mexc:broker-api
    name: MEXC Broker API
    tags:
      - Account Management
      - Broker
      - Cryptocurrency
      - Enterprise
      - Sub-Account
    image: https://kinlane-productions2.s3.amazonaws.com/apis-json/apis-json-logo.jpg
    baseURL: https://api.mexc.com
    humanURL: https://mexcdevelop.github.io/apidocs/
    properties:
      - url: https://mexcdevelop.github.io/apidocs/
        type: Documentation
    description: >-
      The MEXC Broker API enables institutional partners to manage sub-accounts and provide trading
      services to their users. MEXC supports three broker modes: API Broker for copy-trading and
      trading bot platforms, Independent Broker for wallet and market-data aggregation platforms, and
      OAuth Broker for third-party applications using OAuth 2.0. Brokers can create and manage
      sub-accounts, generate deposit addresses, process withdrawals, enable futures for sub-accounts,
      perform universal transfers between spot and futures accounts, and track rebate history. Up to 30
      sub-accounts can be maintained per master account.
common:
  - type: Portal
    url: https://www.mexc.com/mexc-api
  - type: Documentation
    url: https://mexcdevelop.github.io/apidocs/spot_v3_en/
  - type: GettingStarted
    url: https://www.mexc.com/api-docs/spot-v3/introduction
  - type: GitHubOrganization
    url: https://github.com/mexcdevelop
  - type: SDKs
    url: https://github.com/mexcdevelop/mexc-api-sdk
  - type: Plans
    url: plans/mexc-plans-pricing.yml
  - type: RateLimits
    url: rate-limits/mexc-rate-limits.yml
  - type: FinOps
    url: finops/mexc-finops.yml
  - type: Announcements
    url: https://www.mexc.com/announcements/api-updates
  - type: Status
    url: https://www.mexc.com/support/articles/17827791520875
  - type: Support
    url: https://t.me/MEXC_API
  - type: JSONLd
    url: json-ld/mexc-jsonld.json
  - type: Vocabulary
    url: vocabulary/mexc-vocabulary.json
  - type: Features
    data:
      - name: Spot Trading
        description: Buy and sell 1,200+ cryptocurrency pairs with limit, market, and stop-loss orders.
      - name: Futures Trading
        description: Trade perpetual futures contracts with leverage via REST and WebSocket APIs.
      - name: Market Data
        description: Real-time and historical price tickers, order book depth, klines, and funding rates.
      - name: WebSocket Streams
        description: Low-latency real-time market data and account event streams.
      - name: Wallet Management
        description: Manage deposits, withdrawals, deposit addresses, and currency information.
      - name: Sub-Account Management
        description: Create and manage up to 30 sub-accounts per master account with independent API keys.
      - name: Broker Program
        description: API Broker, Independent Broker, and OAuth Broker modes for institutional partners.
      - name: Market Maker Program
        description: Tiered market maker program with enhanced API rate limits and competitive fee rebates.
  - type: UseCases
    data:
      - name: Algorithmic Trading
        description: Build automated trading bots using MEXC REST and WebSocket APIs for spot and futures.
      - name: Market Data Aggregation
        description: Aggregate real-time prices, order books, and trade feeds across 1,200+ pairs.
      - name: Portfolio Management
        description: Track and rebalance cryptocurrency portfolios across spot and futures accounts.
      - name: Arbitrage Trading
        description: Exploit price differences across MEXC spot and futures markets programmatically.
      - name: Broker Integration
        description: Build copy-trading platforms, trading bots, and wallet apps using the Broker API.
description: >-
  MEXC is a global cryptocurrency exchange providing REST and WebSocket APIs for spot trading, perpetual
  futures, market data, order management, account management, and wallet operations across 1,200+
  trading pairs. MEXC supports institutional users through a Broker API with sub-account management and
  a Market Maker Program with tiered rate limits and competitive fee schedules.
name: MEXC
kind: contract
access: 3rd-Party
position: Consuming
image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg
tags:
  - Cryptocurrency
  - Exchange
  - Trading
  - Futures
  - Market Data
  - Finance
  - Blockchain
created: '2026-06-13'
specificationVersion: '0.19'
maintainers:
  - FN: Kin Lane
    email: [email protected]