CS2.SPACEDocumentationAPI
HomeDASHBOARD →
Base URL: https://cs2.space

CS2 server status

GETx-api-key required

Counter-Strike 2's live status from Valve: players online, matchmaking (players searching, average search time, servers online), Steam services and the load and capacity of every datacenter.

OpenAPI 3.1 llms.txt
HTTP ENDPOINT

Endpoint URI

GET/api/status/cs2

Full example URL: https://cs2.space/api/status/cs2

  • Refreshed at most once a minute (updatedAt says when).
  • datacenters is keyed by datacenter name (EU Frankfurt, US Virginia, ...), each with capacity and load. The example shows two of about 30.
  • Works on every plan and counts as one request.
curl -H "x-api-key: YOUR_KEY" "https://cs2.space/api/status/cs2"
RESPONSE · 200 OK · long arrays shortened to one entry
{  "playersOnline": 885357,  "matchmaking": {    "scheduler": "normal",    "online_servers": 213396,    "online_players": 748906,    "searching_players": 14236,    "search_seconds_avg": 83  },  "services": {    "SessionsLogon": "normal",    "SteamCommunity": "normal",    "IEconItems": "offline",    "Leaderboards": "idle"  },  "datacenters": {    "Peru": {      "capacity": "full",      "load": "idle"    },    "EU Frankfurt": {      "capacity": "full",      "load": "medium"    }  },  "perfectworld": {    "logon": {      "availability": "online",      "latency": "normal"    },    "purchase": {      "availability": "online",      "latency": "normal"    }  },  "app": {    "version": 14200,    "timestamp": 1795380967,    "time": "Sun Nov 22 12:56:07 2026"  },  "updatedAt": "2026-11-22T20:56:18.983Z"}
TROUBLESHOOTING

Status codes

401 UnauthorizedNo API key was sent.
{
  "error": "API key required"
}
403 ForbiddenInvalid API key, the player's inventory is private (code INVENTORY_PRIVATE), or the endpoint needs a PRO or DEVELOPER plan (code PLAN_UPGRADE_REQUIRED).
{
  "error": "Steam level badges require a PRO or DEVELOPER plan.",
  "code": "PLAN_UPGRADE_REQUIRED",
  "upgradeUrl": "https://cs2.space/#pricing"
}
429 Too Many RequestsRate limit or monthly quota exceeded, or Steam is rate limiting inventory requests (code STEAM_RATE_LIMIT). Retry later.
{
  "error": "Monthly API quota exceeded",
  "tier": "FREE",
  "limit": 500,
  "usage": 500,
  "message": "Please upgrade your plan or wait for next month's reset."
}
502 Bad GatewaySteam failed to return the inventory. Retry shortly.
{
  "error": "Failed to load inventory from Steam. Please retry shortly."
}

See all error responses on the Errors reference page.

Was this page helpful?

Ready to build?

GET YOUR FREE KEY NOW →