Get ranking by name
GET
/api/tennis/rankingCurrent standings for a tennis ranking list (ATP, WTA, Davis Cup Finals, and others), selected by the ranking name query parameter.
Query Params
namestringrequiredTry Get ranking by name with live data
Run this request in the Sportbex trial panel and see the real response.
curl -X GET 'http://xx.xx.xx.xx/api/tennis/ranking?name=ATP_RANKINGS'Example response
The real API responds in this shape — but the values below are a fixed example and may be stale. This is here to show what the output looks like, not to reflect current data.
[
{
"rank": 1,
"player": "Player One",
"country": "ESP",
"points": 9860
},
{
"rank": 2,
"player": "Player Two",
"country": "SRB",
"points": 8920
},
{
"rank": 3,
"player": "Player Three",
"country": "ITA",
"points": 7770
}
]