Skip to main content
The Stats API returns structured JSON error objects for failure cases. Your integration should parse the response body instead of assuming an HTML page or empty body.

Error format

Error codes

Coverage behavior

Some endpoints use endpoint-specific behavior when optional coverage is unavailable:

Handling errors in code

Always include the Bearer prefix in the Authorization header. Sending Authorization: YOUR_API_KEY without Bearer returns 401 unauthorized.
Some endpoints require competition_id and season_id together. Supplying only one of the pair can return 400 invalid_request.