API reference / Sports
GET
/sportsList available sports
Returns a list of sports that have future matches, filtered by the API key's permissions
In the plans that cover this sportNo charge per call without a key (x402)
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataarray of objectlabelstringvaluestringerrorobjectcodestringmessagestringmetaobjectattributionstringAttribution a data source's licence asks for (Cricsheet's history).
limitintegeroffsetintegertotalintegersuccessboolean
Errors
| Status | Code | When |
|---|---|---|
| 401 | UNAUTHORIZED | The key is missing, mistyped or was rotated. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests (QUOTA_EXCEEDED for the daily limit). Wait for Retry-After. |
| 500 | INTERNAL_ERROR | Our side. Try again after a few seconds and check the status page. |
All errors have the shape described in Errors and limits.
Generated from the OpenAPI file, version 1.0. See it as JSON
Was this page helpful?