Skip to main content
All MM client endpoints require authentication via the X-API-Key header (UUID format).

Client API authentication

Pass your API key (UUID format) in the X-API-Key header:
curl -H "X-API-Key: YOUR_API_KEY" \
  https://mmapi.55-tech.com/api/v1/me
Your API key is bound to a specific client entity. All data returned is filtered to your client — you only see your own orders, bets, and positions.

WebSocket authentication

For WebSocket connections, send your API key in the subscribe message:
{
  "type": "subscribe",
  "api_key": "YOUR_API_KEY",
  "channels": ["orders", "bets", "accounts", "scores"]
}
You must send the subscribe message within 30 seconds of connecting, or the connection is closed. See WebSocket for details.

Rate limiting

Rate limits are enforced per client:
  • REST API: 100 requests per minute
  • WebSocket: Maximum 5 concurrent connections per API key
  • Exceeded: Returns 429 Too Many Requests

Error responses

StatusMeaning
401Invalid or missing API key (must be valid UUID)
429Rate limit exceeded
{"detail": "Invalid or missing API key"}