/tennis/leaguesGet tennis categories
Returns a list of all available tennis categories with optional filtering
Parameters
futurestring · queryFilter to categories with future matches (true)
tourstring · queryFilter by tour
disciplinestring · queryFilter by discipline
stagestring · queryFilter by stage
surfacestring · queryFilter by surface
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataarray of objectcategory_idintegercategory_namestringdisciplinestringstagestringsurfacestringtourstringerrorobjectcodestringmessagestringmetaobjectattributionstringAttribution 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. |
| 403 | FORBIDDEN | The sport or feature is not in your plan (FEATURE_NOT_IN_PLAN for Insights and other plan features). |
| 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