Explore the sports data API quickstart
Concepts

Errors

Use the HTTP status and the error message to decide what your application should do.

Read the failure

Check the response status before reading the normal data envelope. A failed request returns a JSON object with an error message and the numeric status. An ambiguous ID lookup also returns its candidate matches.

json
{ "error": "Event not found", "status": 404 }

Choose the next action

HTTP statusMeaningAction
400A parameter needs attentionCheck the types, date formats, and filters
401The key is missing, unknown, or disabledCheck the X-API-Key or Authorization header
402The key has too few credits for this requestBuy credits or reduce detail requests
404No matching recordCheck the path, the complete ID, and the competition slug
409An identifier matches more than one recordSupply scope and type, or choose from matches
429The per-minute request limit was reachedWait for the Retry-After interval
5xxService-side failureUse a bounded retry and keep the last successful result

A failed request costs no credits.

Collect a useful report

Include the method, endpoint, UTC timestamp, and status when contacting support. Remove the X-API-Key or Authorization header and review query parameters for private identifiers before sharing a log excerpt. Contact support · Rate limits