Skip to main content

COUNTER-STRIKE 2
STATS API

Aggregate unified player data from Steam, Faceit, and Leetify with a single API call. Fast. Scalable. Developer-first.

Stats & assets for the masses

GET/api/profile/ChetCS
Faceit Elo
1,018
LEVEL 4 · NA
Premier rating
14,067
2,297 matches
Leetify ratings
AIM62.6
POSITIONING57.5
UTILITY45.8
Faceit Elo, Premier rating and Leetify ratings in one call1/4 →
WHY CS2.SPACE

EVERYTHING YOU NEED.
NOTHING YOU DON'T.

01

Steam Integration

Resolve vanity URLs to 64-bit SteamIDs. Full profiles, ban records, playtime, owned games, friend counts — all in one shot.

02

Faceit Elo

Live Matchmaking Elo, Skill Level, rank tier, region standing, and Faceit avatar — globally accurate.

03

Leetify Metrics

Aiming mechanics, recent match history, clutch rates, flash assists, opening duels, and overall performance scores.

04

Unified JSON

One request, one cleanly structured response combining all three platforms. No stitching required.

05

CS2 & Dota 2 Inventories

Every skin with exact float, pattern seed, stickers, working inspect link and a live USD price. Dota 2 items by hero, rarity and quality.

GET STARTED IN SECONDS

ONE ENDPOINT.
TOTAL INTEL.

Pass any Steam ID or vanity URL. Get back a comprehensive JSON document with stats from Steam, Faceit, and Leetify — aggregated, normalized, and ready to use.

# Request
curl \
-H "x-api-key: cs2_your_key" \
https://cs2.space/api/profile/76561197963540638
# Response (truncated)
{
"steamId": "76561197963540638",
"steam": { ... profile, bans, level },
"faceit": { ... elo, rank, skill_level },
"leetify": { ... rating, kd, clutches }
}
PLANS

START FREE.
SCALE WHEN READY.

FREE
$0/mo
  • ✓500 Monthly Calls
  • ✓Steam Data & Assets
  • ✓1 req / sec
7-DAY TRIAL
PRO
$9.99/mo

Unlock advanced CS2 metrics. Ideal for small Discord bots and community leads needing unified Steam, Faceit, and Leetify stats.

  • ✓10,000 Monthly Calls
  • ✓Faceit & Leetify Data
  • ✓CS2 & Dota 2 Inventories
  • ✓HD Steam Level Badges (SVG & PNG)
  • ✓10 req / sec
MOST POPULAR
DEVELOPER
$29.99/mo

Scalable CS2 data for high-traffic apps and professional tools. Features full aggregation and high-performance rate limits.

  • ✓100,000+ Monthly Calls
  • ✓Faceit & Leetify Data
  • ✓CS2 & Dota 2 Inventories
  • ✓HD Steam Level Badges (SVG & PNG)
  • ✓50+ req / sec
FREQUENTLY ASKED QUESTIONS

COUNTER-STRIKE 2 DEVELOPER FAQ

What is the CS2.SPACE API?+

A REST API for Counter-Strike 2 and Dota 2. Pass a SteamID64 or custom profile name and get the player's Steam profile and CS2 stats, Faceit Elo, Leetify ratings, or their parsed inventory with live prices, as clean JSON. Get a free key at cs2.space/dashboard and send it in the x-api-key header.

How do I get a player's Premier rating and Faceit Elo from their SteamID?+

Call GET https://cs2.space/api/profile/{steamId}. The response includes leetify.ranks.premier, per-map Competitive ranks, faceit.games.cs2.faceit_elo and skill_level, Leetify aim, positioning and utility ratings, and the player's medals with image URLs. Faceit and Leetify data need the PRO plan.

Is there a CS2 inventory API with prices?+

Yes. GET https://cs2.space/api/inventory/{steamId} returns every item with category, rarity, exterior, exact float, pattern seed, Doppler phase, StatTrak kill count, stickers with their scrape level, charms, name tag, a working inspect link and a live USD market price with current listings and recent sales, plus the inventory's total value. Available on the PRO and DEVELOPER plans.

Do you have a Dota 2 inventory API?+

Yes. GET https://cs2.space/api/dota2/inventory/{steamId} returns each item's hero, slot, type, rarity, quality and USD price. Filter with ?hero= or ?category= and sort with ?sort=price_desc. Available on the PRO and DEVELOPER plans.

Is there a free tier?+

Yes. The free plan includes 500 requests a month with Steam profile data, SteamID conversion and all rank images. PRO ($9.99 a month, 7-day free trial) adds Faceit, Leetify, CS2 and Dota 2 inventories with prices, and HD Steam level badges (SVG & PNG), with 10,000 requests; DEVELOPER ($29.99) gives 100,000 requests.

Do you have a Steam level badge API?+

Yes. PRO and DEVELOPER plans include GET https://cs2.space/api/steam-level/{level}.svg and .png for all 6,200 Steam levels (0–6199) at any ?size=16..512 — rendered as pure crisp vectors up to 999 and 4× high-resolution artwork up to 6100 Crown. Use .png for Discord bots and embeds.

How do I convert a Steam vanity URL to a SteamID64?+

GET https://cs2.space/api/steamid/{name} turns a custom profile name into SteamID64, Steam32, Steam2 and Steam3, and returns the player's name and avatar.

Can I use the rank and badge images in my app or Discord bot?+

Yes. Matchmaking ranks, Premier badges for any rating, Wingman ranks, Faceit levels, medals, maps and weapons are free to use under https://cs2.space/api/assets/ with no API key. Browse them all in the docs.

Which languages work with the API?+

Anything that can make an HTTP request: JavaScript, Python, Go, Rust, PHP, Java, C# and more. There's no SDK to install. You can also generate a typed client from https://cs2.space/openapi.json.

How do I use this API with an AI coding assistant?+

Point it at https://cs2.space/llms.txt, a plain-text reference of every endpoint with real example responses, or at the OpenAPI spec at https://cs2.space/openapi.json.