Rankings
This endpoint allows you to retrieve the rankings for ATP and WTA.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
langattribute. Example:lang=en.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every 30 minutes.
Recommended Calls: Limit calls to 1 per hour.
Use Cases
Get official rankings for ATPhttps://tennis.sportmicro.com/rankings?type=eq.atp&class=eq.official
Get live rankings for ATPhttps://tennis.sportmicro.com/rankings?type=eq.atp&class=eq.now
Get official rankings for WTAhttps://tennis.sportmicro.com/rankings?type=eq.wta&class=eq.official
Get live rankings for WTAhttps://tennis.sportmicro.com/rankings?type=eq.wta&class=eq.now
Query Parameters
- type text
The type of the ranking (atp|wta)
Example: eq.atp - class text
The class of the ranking (official|now)
Example: eq.now - offset string
Default value:
0Limiting and Pagination
Example: 0 - limit string
Default value:
50Limiting and Pagination
Example: 50 - lang string
Default value:
enMulti-language
Example: en
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- type text
The type of the ranking (atp|wta)
- class text
The class of the ranking (official|now)
- team_id integer
The id of the team
- team_name text
The name of the team
- team_hash_image character varying
Possible values:
<= 64 charactersThe hash image of the team
- rank integer
The rank of the team
- points integer
The points of the team
- next_win_points integer
The next win points of the team
- max_points integer
The max points of the team
- best_rank integer
The best rank of the team
- previous_points integer
The previous points of the team
- tournaments_count integer
The tournaments count of the team
[
{
"type": "atp",
"class": "now",
"team_id": 138,
"team_name": "Jannik Sinner",
"team_hash_image": "b1f4dc58d39cd76fa6753046391d74c72fcc68c72200d5e5461b944748c6703e",
"rank": 1,
"points": 13710,
"next_win_points": 13750,
"max_points": 14700
}
]