MEXC
Coming SoonCrypto — Major Exchanges
connectorType: "mexc"Crypto exchange with extensive token listings
Connection Architecture
MEXC
WebSocket / REST→
Connector
libs/exchange-mexc→
Provider
:8081/api→
Detector
Advisor
Studio
The connector feeds exchange data to Provider. Detector receives market data, Studio receives read views, and Advisor sees only signed candidate evidence.
Technologies
Transport
WebSocketREST
Authentication
API Key + SecretData Format
JSONBest for
- MEXC is the primary connector choice for new token listing strategies, including first-minute price discovery, listing-gap arbitrage, and basket rotation into freshly-launched assets.
- It suits high-throughput altcoin scanners that need to monitor hundreds of low-cap pairs for breakout conditions.
- Barfinex users building token-launch signal pipelines or running multi-exchange listing monitors will find MEXC's breadth of coverage essential for completeness.
Connect via code
1Environment variables (.env)
MEXC_API_KEY=your_key_here MEXC_API_SECRET=your_secret_here
2Connector configuration
// config/config.provider.json
{
"provider": {
"connectors": [
{
"connectorType": "mexc",
"enabled": true,
"key": "${MEXC_API_KEY}",
"secret": "${MEXC_API_SECRET}",
"markets": [
{ "marketType": "spot", "symbols": [{ "name": "BTCUSDT" }] }
],
"subscriptions": [
{ "type": "PROVIDER_MARKETDATA_CANDLE", "symbols": ["BTCUSDT"], "intervals": ["min1", "h1"], "active": true },
{ "type": "PROVIDER_MARKETDATA_TRADE", "symbols": ["BTCUSDT"], "active": true },
{ "type": "PROVIDER_MARKETDATA_ORDERBOOK", "symbols": ["BTCUSDT"], "active": true }
]
}
]
}
}3Verify and query data
Public verification 1. Configure credentials in the private Provider environment. 2. Verify connector status in the internal Studio/Provider console. 3. Use Barfinex public pages to inspect market data. Operator Provider commands and tokens remain in internal runbooks only.
Available via Barfinex API
/api/candles/mexc/...
/api/trades/mexc/...
/api/orderbook/mexc/...
/api/account/mexc/...
/api/symbols/mexc/...
/api/assets/mexc/...
Studio graphical setup — in development, coming in the next release.
Important
Permissions required: Read + Trade.
MEXC uses HMAC-SHA256 signed requests.
Note that MEXC imposes strict restrictions on API access by jurisdiction — users in the United States are not permitted to use the MEXC API.
Spot rate limits are relatively generous (typically up to 500 requests/sec for public endpoints), but futures endpoints have tighter limits.
MEXC futures are on a separate contract account and require distinct API activation.
Always verify the listing status of target pairs before deploying a strategy, as MEXC delists tokens frequently.
Supported Markets
SpotFutures
Websitewww.mexc.com
Connect in Studio(soon)
Exchange Website