NO NONSENSE DATA.

Aggregated Steam, Faceit, and Leetify statistics — all from a single, blazing-fast endpoint. Plus, access to all underlying UI assets.

BASE URL: https://cs2.space/api

Authentication

All API endpoints (except static assets) require an API key. You can generate a free key from the developer dashboard. Pass the key in the x-api-key request header.

BASH
curl -H "x-api-key: cs2_YOUR_KEY" https://cs2.space/api/profile/76561198160154018

GET /profile/:id

The primary endpoint. Fetches and aggregates full player data from Steam, Faceit, and Leetify. Accepts either a SteamID64 or a Custom Steam Vanity URL.
NOTE: Free tier accounts only receive Steam data and assets. Upgrade to PRO for Faceit/Leetify aggregation.

Valid: 76561198160154018Valid: the_c0unter_str1ker

Response Structure:

JSON
{
  "steamId": "76561198160154018",
  "steam": {
    "player": { "personaname": "PlayerName", "avatarfull": "https://..." },
    "level": 32,
    "bans": { "VACBanned": false, "NumberOfVACBans": 0 },
    "ownedGames": [...],
    "cs2Stats": { "total_kills": 42000, "total_wins": 500, ... }
  },
  "faceit": {
    "player_id": "faceit-uuid-here",
    "nickname": "PlayerName_FCT",
    "games": {
      "cs2": {
        "skill_level": 10,
        "faceit_elo": 2540,
        "region": "EU"
      }
    }
  },
  "leetify": {
    "meta": { "name": "PlayerName" },
    "games": [{
      "dataSource": "matchmaking",
      "skillLevel": 18 // Global Elite
    }],
    "recentGameRatings": { "aim": 78, "positioning": 65, "utility": 45 }
  }
}

GET /steamid/:id

A lightweight endpoint specifically for resolving Steam Vanity URLs to SteamID64s, and converting between Steam ID formats (Steam2, Steam3, Steam32). Also returns basic profile info.

JSON
{
  "steam32": 199888290,
  "steam64": "76561198160154018",
  "steam2": "STEAM_0:0:99944145",
  "steam3": "[U:1:199888290]",
  "profile_url": "https://steamcommunity.com/id/...",
  "avatar": "https://avatars.steamstatic.com/..._full.jpg",
  "name": "PlayerName"
}

API Key Management

Programmatic management of your API keys. Requires an active session via cookie (authenticated via Steam/Google on the dashboard).

POST /keys/generate
Generates a new API key tied to your account. Returns { "apiKey": "cs2_..." }
GET /keys
Returns an array of your active keys and their usage counts.

Rate Limits & Status Codes

To ensure stable performance, the API enforces rate limiting and monthly quotas. Limits are calculated across all keys associated with your account.

  • Free Tier: 500 calls/mo @ 1 req/sec
  • Pro Tier: 10,000 calls/mo @ 10 req/sec
  • Developer Tier: 100,000+ calls/mo @ 50+ req/sec
  • Exceeding these limits will result in a 429 Too Many Requests response.

HTTP Status Codes:

200 OK - The request was successful.
400 Bad Request - Invalid parameters (e.g., malformed SteamID).
401 Unauthorized - Missing or invalid API Key.
403 Forbidden - API key does not have access to this endpoint.
404 Not Found - The requested profile or asset does not exist.
429 Too Many Requests - Rate limit exceeded.
500 Internal Server Error - Something went wrong on our end.

Asset Explorer

We serve all necessary CS2 SVGs and PNGs so you don't have to hunt them down. These do not require an API key. Click on a category below to browse the available assets and their exact URL paths. Or use the base prefix: https://cs2.space/api/assets/

Silver I
1.svg
Silver I
Silver II
2.svg
Silver II
Silver III
3.svg
Silver III
Silver IV
4.svg
Silver IV
Silver Elite
5.svg
Silver Elite
Silver Elite Master
6.svg
Silver Elite Master
Gold Nova I
7.svg
Gold Nova I
Gold Nova II
8.svg
Gold Nova II
Gold Nova III
9.svg
Gold Nova III
Gold Nova Master
10.svg
Gold Nova Master
Master Guardian I
11.svg
Master Guardian I
Master Guardian II
12.svg
Master Guardian II
Master Guardian Elite
13.svg
Master Guardian Elite
Distinguished Master Guardian
14.svg
Distinguished Master Guardian
Legendary Eagle
15.svg
Legendary Eagle
Legendary Eagle Master
16.svg
Legendary Eagle Master
Supreme Master First Class
17.svg
Supreme Master First Class
The Global Elite
18.svg
The Global Elite
Unranked
none.svg
Unranked

Ready to build?