/v1/players
Current players for one game
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/steamcharts-api/v1/players" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/steamcharts-api/v1/players", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/steamcharts-api/v1/players");
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/steamcharts-api/v1/players",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"name": "Counter-Strike 2",
"note": "The number of people playing one Steam game right now. Pass appid (the Steam store id, e.g. 730 for Counter-Strike 2); omit it for the current #1 most-played game.",
"appid": 730,
"source": "Steam",
"store_url": "https://store.steampowered.com/app/730",
"current_players": 1195420
},
"meta": {
"timestamp": "2026-06-14T17:03:38.549Z",
"request_id": "c33caf39-119c-4096-a04a-fcc025b42266"
},
"status": "ok",
"message": "Players retrieved successfully",
"success": true
}