Feeds / Crypto exchanges (live)

MEXC

Spot. Full 20-level book in every message; each push replaces the book.

Live in productionWebSocket20 levels per side

Live now

-
books live
-
messages / s
-
level changes / s
-
KB / s

Messages / s and KB / s are what our handler receives from the exchange (KB after decompression, REST snapshots included); level changes / s are counted after normalization, for the markets we publish.

Open live books

How we connect

Market
Spot
WebSocket
wss://wbs-api.mexc.com/ws
Channels
[email protected]@{SYMBOL}@20 — 20-level book, protobuf
[email protected]@100ms@{SYMBOL} — aggregated trades, 100 ms, protobuf
Update model
Full 20-level book in every message; each push replaces the book.
Sequencing
None needed: each push is a complete book (the protobuf version field is not used).
On a gap
Not applicable; reconnect and resubscribe after a socket error or 30 s without data.
Depth
20 levels per side
Authentication
none
Heartbeat
Client sends {"method":"PING"} every 20 s; WebSocket pings answered.
Symbol format
BTCUSDT

Subscribe message

{"method":"SUBSCRIPTION","params":["[email protected]@BTCUSDT@20","[email protected]@100ms@BTCUSDT",...],"id":1}

What our handler takes care of

Instruments

loading...

Upcoming and recent changes

2026-10-23InfoNew error code 30035 for order limit
Error code 30035 was added, returned when the order limit is triggered.
Details

A new error code 30035 ('You have triggered the order limit, please contact us by submitting a ticket') was added. It relates to order placement, not public market data. No action is needed for a market-data-only client.

Our handler: Order-related error code; our handler uses only public depth and aggregated deals WebSocket channels.

Source ↗

2026-09-11InfoUniversal transfer supports new OTC account type
The universal transfer endpoints now accept 'OTC' as a fromAccountType and toAccountType value, alongside SPOT and FUTURES.
Details

This applies to POST and GET /api/v3/capital/transfer and the tranId query. These are account and wallet endpoints. No action is needed for a public market data client.

Our handler: Account transfer endpoints (/api/v3/capital/transfer) are not used by our public market data handler.

Source ↗

2026-08-24InfoDocumentation added for GET /api/v3/apiKeyInfo
MEXC documented the endpoint that queries API key information, including permissions, IP whitelist and remaining validity.
Details

The endpoint needs the SPOT_ACCOUNT_READ permission and has IP weight 1. It is an account endpoint. No action is needed for a market data client.

Our handler: Account/API key endpoint; we use no authenticated endpoints.

Source ↗

2026-08-14InfoexchangeInfo adds conceptPlateIds and conceptPlates fieldsMay affect market data
GET /api/v3/exchangeInfo responses now document the new fields conceptPlateIds and conceptPlates.
Details

The sample response was updated. These are additive fields. Our handler does not use the REST exchangeInfo endpoint as described, but strict parsers of this endpoint should tolerate the new fields.

Our handler: exchangeInfo is symbol metadata; we do not list it among the endpoints in use but it could feed symbol reference data.

Source ↗

2026-08-14InfoTrade stream [email protected] adds version fieldAffects our handler
The aggregated trade WebSocket stream documentation now includes a response field named version, with an updated sample payload.
Details

This is the aggregated deals channel our handler subscribes to ([email protected]@100ms@{SYMBOL}). The new field is additive. Ensure the protobuf decoder tolerates the unknown field; no action is required unless you want to use it.

Our handler: Touches the [email protected] channel we consume for aggregated trades.

Source ↗

2026-07-21InfoNew error code 157005 for withdrawal protection
Error code 157005 was added: withdrawal is currently locked by withdrawal protection.
Details

This relates to wallet withdrawals only. No action is needed for a market data client.

Our handler: Withdrawal error code; outside public market data channels.

Source ↗

Collected from the exchange's changelog and notices, summarized automatically; check the source before acting. All changes for this feed

Official documentation

MEXC Spot V3 — WebSocket market streams ↗www.mexc.comMEXC Spot V3 — market data endpoints ↗www.mexc.comMEXC Spot V3 — change log ↗www.mexc.comMEXC WebSocket protobuf definitions (GitHub) ↗github.com

Links go to the exchange's own documentation; it is theirs and may change. Our handler follows the version described above.