Skip to content
API reference / Sports
GET/sports

List 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 object
  • labelstring
  • valuestring
  • errorobject
  • codestring
  • messagestring
  • metaobject
  • attributionstring

    Attribution a data source's licence asks for (Cricsheet's history).

  • limitinteger
  • offsetinteger
  • totalinteger
  • successboolean

Errors

StatusCodeWhen
401UNAUTHORIZEDThe key is missing, mistyped or was rotated.
429RATE_LIMIT_EXCEEDEDToo many requests (QUOTA_EXCEEDED for the daily limit). Wait for Retry-After.
500INTERNAL_ERROROur 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?