/v1/rankings
Player rankings
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/tennislive-api/v1/rankings" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tennislive-api/v1/rankings", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tennislive-api/v1/rankings");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/tennislive-api/v1/rankings",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"tour": "atp",
"count": 150,
"players": [
{
"id": "3623",
"rank": 1,
"trend": "-",
"player": "Jannik Sinner",
"points": 14750,
"previous": 1
},
{
"id": "3782",
"rank": 2,
"trend": "-",
"player": "Carlos Alcaraz",
"points": 11960,
"previous": 2
},
{
"id": "2375",
"rank": 3,
"trend": "-",
"player": "Alexander Zverev",
"points": 5705,
"previous": 3
},
{
"id": "296",
"rank": 4,
"trend": "-",
"player": "Novak Djokovic",
"points": 4460,
"previous": 4
},
{
"id": "9250",
"rank": 5,
"trend": "+1",
"player": "Ben Shelton",
"points": 4070,
"previous": 6
},
{
"id": "3209",
"rank": 6,
"trend": "-1",
"player": "Felix Auger-Aliassime",
"points": 4050,
"previous": 5
},
{
"id": "2651",
"rank": 7,
"trend": "+2",
"player": "Alex de Minaur",
"points": 3855,
"previous": 9
},
{
"id": "2383",
"rank": 8,
"trend": "-1",
"player": "Daniil Medvedev",
"points": 3760,
"previous": 7
},
{
"id": "2946",
"rank": 9,
"trend": "-1",
"player": "Taylor Fritz",
"points": 3720,
"previous": 8
},
{
"id": "2865",
"rank": 10,
"trend": "-",
"player": "Alexander Bublik",
"points": 3320,
"previous": 10
},
{
"id": "3764",
"rank": 11,
"trend": "-",
"player": "Lorenzo Musetti",
"points": 3115,
"previous": 11
},
{
"id": "3754",
"rank": 12,
"trend": "+2",
"player": "Jiri Lehecka",
"points": 2665,
"previous": 14
},
{
"id": "2642",
"rank": 13,
"trend": "-",
"player": "Andrey Rublev",
"points": 2460,
"previous": 13
},
{
…