URL: wss://mmapi.55-tech.com/ws/subscribe
Connection Limits: Maximum 5 concurrent connections per API key.
Connect to /ws/subscribe
Subscribe (within 30 seconds):
{
"type": "subscribe",
"api_key": "your-client-api-key-uuid",
"channels": ["orders", "bets", "accounts", "scores", "emergency"]
}
{"type": "subscribed", "subscription_id": 1, "channels": ["orders", "bets"]}
{
"type": "broadcast",
"channel": "orders",
"event": "UPDATE",
"payload": {"id": 123, "orderStatus": "FILLED"},
"old": {"orderStatus": "PLACED"}
}
Keep-alive: Send {"type": "ping"} → Receive {"type": "pong"}
Heartbeat: Server sends {"type": "heartbeat"} every 60s
Unsubscribe: Send {"type": "unsubscribe"}
| Channel | Description | Filtered |
|---|---|---|
orders | Order placement, updates, fills | By client |
bets | Hedge bet updates | By client |
accounts | Balance changes | By client |
scores | Live score updates | Global |
emergency | Emergency mode status | Global |
api_key required - Missing api_keyInvalid api_key format - Must be UUIDInvalid API key - Not found or inactiveConnection limit exceeded - Max 5 per API keyReturns 426 - use WebSocket connection instead