/v1/user
A competitor's profile(s)
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/codeforces-api/v1/user" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/codeforces-api/v1/user", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/codeforces-api/v1/user");
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/codeforces-api/v1/user",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 1,
"users": [
{
"city": "Gomel",
"rank": "legendary grandmaster",
"handle": "tourist",
"rating": 3428,
"country": "Belarus",
"max_rank": "tourist",
"max_rating": 4009,
"registered": "2010-02-12T15:08:08.000Z",
"title_photo": "https://userpic.codeforces.org/422/title/50a270ed4a722867.jpg",
"contribution": 59,
"organization": "ITMO University",
"friend_of_count": 88991
}
]
},
"meta": {
"timestamp": "2026-06-01T16:23:51.698Z",
"request_id": "8a317bb3-4aa2-4a7e-b192-e48a5c1e3d9e"
},
"status": "ok",
"message": "User retrieved",
"success": true
}