Full LLM thinking from the 4-phase benchmark pipeline.
{
"service_type": "crypto_app",
"base_url": "https://api.mexc.com",
"auth_method": "api_key_header",
"auth_config": {
"headers": {
"X-MEXC-APIKEY": "your_api_key"
},
"signature": {
"type": "hmac_sha256",
"params": ["timestamp", "recvWindow"],
"query_param": "signature"
}
},
"endpoints": [
{"path": "/api/v3/ping", "method": "GET", "purpose": "test connectivity"},
{"path": "/api/v3/time", "method": "GET", "purpose": "server time"},
{"path": "/api/v3/exchangeInfo", "method": "GET", "purpose": "exchange trading rules and symbol info"},
{"path": "/api/v3/depth", "method": "GET", "purpose": "order book depth"},
{"path": "/api/v3/trades", "method": "GET", "purpose": "recent trades"},
{"path": "/api/v3/klines", "method": "GET", "purpose": "candlestick data"},
{"path": "/api/v3/ticker/price", "method": "GET", "purpose": "latest price for a symbol"},
{"path": "/api/v3/ticker/24hr", "method": "GET", "purpose": "24hr ticker price change statistics"},
{"path": "/api/v3/avgPrice", "method": "GET", "purpose": "current average price"},
{"path": "/api/v3/account", "method": "GET", "purpose": "account information"},
{"path": "/api/v3/order", "method": "POST", "purpose": "place new order"},
{"path": "/api/v3/order", "method": "GET", "purpose": "query order status"},
{"path": "/api/v3/order", "method": "DELETE", "purpose": "cancel order"},
{"path": "/api/v3/openOrders", "method": "GET", "purpose": "current open orders"},
{"path": "/api/v3/allOrders", "method": "GET", "purpose": "all account orders"},
{"path": "/api/v3/myTrades", "method": "GET", "purpose": "account trade list"}
],
"pricing_model": {
"type": "tiered",
"details": {
"spot": {
"maker_fee": "0.00%",
"taker_fee": "0.05%",
"notes": "VIP tiers reduce fees based on 30-day trading volume and MX token holdings"
},
"futures": {
"maker_fee": "0.01%",
"taker_fee": "0.05%"
}
}
},
"rate_limits": {
"spot_rest": {
"limit_per_minute": 1200,
"limit_weight_per_minute": 1200,
"endpoint_weights": {
"default": 1,
"order": 2,
"cancel": 2,
"depth_5": 1,
"depth_20": 5,
"depth_100": 25,
"depth_500": 125,
"depth_1000": 250,
"depth_5000": 1250
}
},
"websocket": {
"connections_per_ip": 300,
"messages_per_minute": 1200,
"subscriptions_per_connection": 30
}
},
"capabilities": [
"spot_trading",
"futures",
"margin_trading",
"staking",
"portfolio",
"websocket",
"orderbook"
],
"crypto_specifics": {
"supported_chains": [
"Ethereum",
"Bitcoin",
"Solana",
"BNB Chain",
"Polygon",
"Avalanche",
"Tron",
"Arbitrum",
"Optimism",
"Base"
],
"token_count": 2500,
"has_websocket": true,
"has_orderbook": true,
"fee_structure": "maker/taker",
"security_features": [
"api_key_withdrawal_disabled_by_default",
"ip_access_control",
"2fa",
"withdrawal_whitelist",
"cold_storage",
"anti_phishing_code",
"device_management"
]
}
}{
"tests": [
{
"name": "ping_connectivity",
"endpoint": "/api/v3/ping",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns empty JSON object indicating API is reachable.",
"metrics": ["latency", "status_code"],
"validation": {"field": "", "type": "object"}
},
{
"name": "server_time",
"endpoint": "/api/v3/time",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns server time in milliseconds.",
"metrics": ["latency", "status_code"],
"validation": {"field": "serverTime", "type": "number"}
},
{
"name": "exchange_info",
"endpoint": "/api/v3/exchangeInfo",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns trading rules and symbol info including rate limits.",
"metrics": ["latency", "status_code"],
"validation": {"field": "symbols", "type": "array", "min_length": 1}
},
{
"name": "ticker_price_btcusdt",
"endpoint": "/api/v3/ticker/price?symbol=BTCUSDT",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns latest price for BTCUSDT.",
"metrics": ["latency", "status_code"],
"validation": {"field": "price", "type": "string"}
},
{
"name": "ticker_24hr_btcusdt",
"endpoint": "/api/v3/ticker/24hr?symbol=BTCUSDT",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns 24hr price change statistics for BTCUSDT.",
"metrics": ["latency", "status_code"],
"validation": {"field": "lastPrice", "type": "string"}
},
{
"name": "orderbook_depth",
"endpoint": "/api/v3/depth?symbol=BTCUSDT&limit=20",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns order book with bids and asks arrays.",
"metrics": ["latency", "status_code"],
"validation": {"field": "bids", "type": "array", "min_length": 1}
},
{
"name": "account_info",
"endpoint": "/api/v3/account",
"method": "GET",
"headers": {"X-MEXC-APIKEY": "your_api_key"},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns account information including balances. Requires valid signature.",
"metrics": ["latency", "status_code"],
"validation": {"field": "balances", "type": "array", "min_length": 0}
},
{
"name": "missing_api_key",
"endpoint": "/api/v3/account",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 401,
"intent": "auth",
"expected_behavior": "Rejects request without API key, returning 401 Unauthorized.",
"metrics": ["status_code"],
"validation": {"field": "code", "type": "number"}
},
{
"name": "invalid_symbol_ticker",
"endpoint": "/api/v3/ticker/price?symbol=INVALIDPAIR",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Rejects invalid symbol with 400 Bad Request and error message.",
"metrics": ["status_code"],
"validation": {"field": "msg", "type": "string"}
},
{
"name": "invalid_order_params",
"endpoint": "/api/v3/order",
"method": "POST",
"headers": {"X-MEXC-APIKEY": "your_api_key", "Content-Type": "application/json"},
"payload": {"symbol": "BTCUSDT", "side": "INVALID", "type": "LIMIT", "quantity": "0.001", "price": "50000"},
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Rejects order with invalid side parameter, returning 400 with error details.",
"metrics": ["status_code"],
"validation": {"field": "code", "type": "number"}
},
{
"name": "rate_limit_headers",
"endpoint": "/api/v3/ping",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "validation",
"expected_behavior": "Checks for rate limit headers (X-MBX-USED-WEIGHT-1M) indicating weight usage.",
"metrics": ["status_code", "headers"],
"validation": {"field": "X-MBX-USED-WEIGHT-1M", "type": "string"}
}
],
"pricing_probes": [
{
"name": "fee_schedule_spot",
"description": "Query account info or exchange info to verify spot maker/taker fee structure.",
"endpoint": "/api/v3/exchangeInfo",
"method": "GET",
"payload": {},
"check": "Response should contai7/11 tests passed
| Test | Endpoint | Status | Latency |
|---|---|---|---|
| ping_connectivity | GET /api/v3/ping | 200 | 216ms |
| server_time | GET /api/v3/time | 200 | 177ms |
| exchange_info | GET /api/v3/exchangeInfo | 200 | 75ms |
| ticker_price_btcusdt | GET /api/v3/ticker/price?symbol=BTCUSDT | 200 | 279ms |
| ticker_24hr_btcusdt | GET /api/v3/ticker/24hr?symbol=BTCUSDT | 200 | 472ms |
| orderbook_depth | GET /api/v3/depth?symbol=BTCUSDT&limit=20 | 400 | 180ms |
| account_info | GET /api/v3/account | 400 | 168ms |
| missing_api_key | GET /api/v3/account | 400 | 181ms |
| invalid_symbol_ticker | GET /api/v3/ticker/price?symbol=INVALIDPAIR | 200 | 933ms |
| invalid_order_params | POST /api/v3/order | 400 | 175ms |
```json
{
"overall": 48,
"dimensions": {
"token_efficiency": 7.5,
"first_try_success": 4.0,
"response_parseability": 6.5,
"error_clarity": 5.5,
"doc_quality": 6.0,
"auth_simplicity": 5.0,
"latency": 5.5,
"consistency": 4.0
},
"pricing_normalized": {
"maker_fee_bps": null,
"taker_fee_bps": null,
"withdrawal_fee_usd": null,
"free_tier_requests": null
},
"issues": [
{
"severity": "critical",
"title": "symbol query parameter silently ignored on ticker endpoints",
"detail": "/api/v3/ticker/price?symbol=BTCUSDT returned the FULL symbol list instead of a single BTCUSDT ticker. Same for ?symbol=INVALIDPAIR (200 OK, full list). Agents cannot scope market-data queries per symbol — every price lookup burns the whole symbol table and requires client-side filtering."
},
{
"severity": "critical",
"title": "BTCUSDT pair does not exist on this venue",
"detail": "/api/v3/depth?symbol=BTCUSDT returns {'code': -1121, 'msg': 'Invalid symbol.'} while ticker/price silently returns all symbols. Symbol universe appears to be METAL/NEX/PYTH/AO/etc. — no BTCUSDT. Any agent assuming BTCUSDT works will fail on first depth/orderbook call."
},
{
"severity": "high",
"title": "Invalid symbol returns success instead of error",
"detail": "GET /api/v3/ticker/price?symbol=INVALIDPAIR returned HTTP 200 with the full ticker list. Silent failure — agent gets plausible-looking data with no signal that its query was rejected."
},
{
"severity": "high",
"title": "exchangeInfo.rateLimits and exchangeFilters are empty arrays",
"detail": "rateLimits: [] means an agent has no programmatic way to know request budgets. Combined with missing rate-limit headers on ping, agents must hardcode or fail blind."
},
{
"severity": "medium",
"title": "No rate-limit response headers exposed",
"detail": "Ping and other responses only carry HSTS. No X-MBX-USED-WEIGHT, no Retry-After, no X-RateLimit-*. Agent cannot back off proactively."
},
{
"severity": "medium",
"title": "Ambiguous auth error codes",
"detail": "'Api key info invalid' (10072) and 'api key required' (400) are both 400. No distinguishing 401/403 status. Agent can't tell 'missing key' from 'bad key' from 'bad signature' without parsing msg."
},
{
"severity": "medium",
"title": "No fee schedule in exchangeInfo or docs",
"detail": "maker/taker fee bps not returned by any probed endpoint nor in exchangeInfo. Agents cannot compute expected costs."
},
{
"severity": "low",
"title": "count field is null in 24hr ticker",
"detail": "Trade count returned as null rather than 0 or a number, breaking uniform numeric parsing."
},
{
"severity": "low",
"title": "Latency variance",
"detail": "Observed 75ms–933ms. Same-host calls (ping 216ms, time 177ms, exchangeInfo 75ms) vary 3x. Invalid-symbol path took 933ms, suggesting unindexed full-table scan on bad input."
}
],
"recommendations": [
"Fix the symbol filter on /api/v3/ticker/price and /api/v3/ticker/24hr — a single-symbol query must return a single object (or an error), not the full table.",
"Return HTTP 400 with {'code': -1121, 'msg': 'Invalid symbol.'} for unknown symbols on ALL market-data endpoints, matching /depth behavior.",
"Populate exchangeInfo.rateLimits with actual weights and expose X-MBX-USED-WEIGHT / Retry-After headers so agents can self-throttle.",
"Publish a maker/taker fee schedule and withdrawal fees in a /api/v3/fees or documentation endpoint.",
"Use distinct HTTP status codes for auth failures (401 missing key, 403 invalid signature/key) rather than uniform 400.",
"Document the actual tradable symbol universe — BTCUSDT is absent, which breaks the most common agent default.",
"Replace null trade count with 0 in 24hr ticker for clean numeric parsing.",
"Reduce tail latency on invalid-input paths to match valid-path latency."
]
}
```Show your live agent-readiness score on your own site. Free, no auth — it updates as your score changes.
<a href="https://prowl.world/service/mexc">
<img src="https://prowl.world/badge/mexc.svg" height="56" alt="Agent-readiness on Prowl">
</a>
See operational metrics, LLM evaluations, agent readiness, and more.
Open in Dashboard