/v1/user
Player profile + TETRA LEAGUE standing
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/tetrio-api/v1/user" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tetrio-api/v1/user", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tetrio-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/tetrio-api/v1/user",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"xp": 49012827,
"role": "user",
"league": {
"tr": 24727.19,
"vs": 437.19,
"apm": 223.82,
"pps": 3.91,
"rank": "x+",
"glicko": 4236.2,
"games_won": 400,
"games_played": 461,
"global_standing": 3
},
"source": "TETR.IO",
"country": "US",
"username": "caboozled_pie",
"games_won": 9511,
"supporter": true,
"badge_count": 33,
"games_played": 16679,
"win_rate_pct": 57.02
},
"meta": {
"timestamp": "2026-06-10T14:02:23.729Z",
"request_id": "ca2e47a7-a1ac-41e4-8028-9fba44463f22"
},
"status": "ok",
"message": "User retrieved successfully",
"success": true
}