/v1/stats
Player rating stats
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/chess-api/v1/stats" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chess-api/v1/stats", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chess-api/v1/stats");
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/chess-api/v1/stats",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"fide": 2814,
"blitz": {
"best": 3465,
"rating": 3322,
"record": {
"win": 34665,
"draw": 4282,
"loss": 5431
}
},
"daily": {
"best": 2464,
"rating": 2239,
"record": {
"win": 73,
"draw": 4,
"loss": 11
}
},
"rapid": {
"best": 2927,
"rating": 2839,
"record": {
"win": 201,
"draw": 209,
"loss": 67
}
},
"bullet": {
"best": 3570,
"rating": 3431,
"record": {
"win": 16317,
"draw": 1089,
"loss": 2324
}
},
"username": "hikaru",
"tactics_highest": 2730,
"puzzle_rush_best": 123
},
"meta": {
"timestamp": "2026-05-30T05:35:00.652Z",
"request_id": "f7644ca1-8289-4ef3-aaba-878c6f48abb7"
},
"status": "ok",
"message": "Stats retrieved",
"success": true
}