/v1/contest
A member contest rating and ranking
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/leetcode-api/v1/contest" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/leetcode-api/v1/contest", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/leetcode-api/v1/contest");
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/leetcode-api/v1/contest",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"rating": 2092.47,
"source": "LeetCode",
"username": "votrubac",
"global_ranking": 13247,
"top_percentage": 1.59,
"attended_contests": 487,
"total_participants": 874213
},
"meta": {
"timestamp": "2026-06-10T14:01:41.122Z",
"request_id": "405e7280-1478-4c4c-923c-35115203e678"
},
"status": "ok",
"message": "Contest ranking retrieved successfully",
"success": true
}