Skip to main content

Error response format

All API errors return a JSON body:
Validation errors include location details:

HTTP status codes

Rate limiting

The MM API enforces 2,000 requests/minute per client API key. When rate limited, the API returns 429 Too Many Requests. Implement exponential backoff in your retry logic (wait 1s, 2s, 4s, etc.).

Common errors

Authentication (401)

Your API key is missing, invalid, or not in UUID format.

Not found (404)

The requested resource doesn’t exist:

Validation errors (422)

Required query parameters are missing or have invalid values. Check the loc field to identify the problematic parameter.

WebSocket upgrade (426)

If you call the WebSocket endpoint via HTTP instead of upgrading to a WebSocket connection, you receive a 426 Upgrade Required.

WebSocket errors

When subscribing to the WebSocket, these error messages may be returned: