Zum Inhalt springen
GET /v1/players

Current players for one game

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/steamcharts-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}