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

Resolve a SteamID

GETx-api-key required

Converts a custom profile URL name or SteamID64 into every SteamID format, plus name and avatar.

OpenAPI 3.1 llms.txt
HTTP ENDPOINT

Endpoint URI

GET/api/steamid/{id}

Full example URL: https://cs2.space/api/steamid/ChetCS

idSTRINGREQUIRED

SteamID64 (17 digits, e.g. 76561197963540638) or custom profile URL name (e.g. ChetCS).

curl -H "x-api-key: YOUR_KEY" "https://cs2.space/api/steamid/ChetCS"
RESPONSE · 200 OK · long arrays shortened to one entry
{  "steam32": 3274910,  "steam64": "76561197963540638",  "steam2": "STEAM_0:0:1637455",  "steam3": "[U:1:3274910]",  "profile_url": "https://steamcommunity.com/id/ChetCS/",  "avatar": "https://avatars.steamstatic.com/7eff590c73206f7f0bb6bfbbf9fd3f3e46c95826_full.jpg",  "name": "Chet"}
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": "Inventory data requires a PRO or DEVELOPER plan.",
  "code": "PLAN_UPGRADE_REQUIRED",
  "upgradeUrl": "https://cs2.space/#pricing"
}
404 Not FoundThe SteamID or profile name doesn't match a player.
{
  "error": "Player not found",
  "code": "PLAYER_NOT_FOUND"
}
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."
}

See all error responses on the Errors reference page.

Was this page helpful?

Ready to build?

GET YOUR FREE KEY NOW →