/tennis/rankingsTennis singles ranking
The ATP or WTA singles ranking, read daily, by rank; optionally the players of one country (nationality as in the ranking, "Italy").
Parameters
tourstring · queryrequiredatp or wta
limitinteger · queryMaximum results (1-500)
Default:100offsetinteger · queryResults to skip
Default:0countrystring · queryOnly players of this country
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataarray of objectmovementstringup, down or same since the last list
namestringnationalitystringphoto_urlstringplayer_idintegerpointsintegerrankintegererrorobjectcodestringmessagestringmetaobjectattributionstringAttribution a data source's licence asks for (Cricsheet's history).
limitintegeroffsetintegertotalintegersuccessboolean
Errors
| Status | Code | When |
|---|---|---|
| 400 | INVALID_PARAM | A parameter is missing or wrong, and the message names it. Fix the request; do not retry it. |
| 401 | UNAUTHORIZED | The key is missing, mistyped or was rotated. |
| 402 | x402 offers | No key and no valid payment: the body lists what to pay. Only a 200 answer is charged. |
| 403 | FORBIDDEN | The sport or feature is not in your plan (FEATURE_NOT_IN_PLAN for Insights and other plan features). |
All errors have the shape described in Errors and limits.
Generated from the OpenAPI file, version 1.0. See it as JSON