Discover/csstats.org API
live

csstats.org APIcsstats.org

Access CS2 player profiles, match history, leaderboards, ban stats, and heatmap data from csstats.gg via a single structured API.

Endpoints
7
Updated
3mo ago
Try it
Steam ID (e.g. 76561198088771412), Steam Profile Link, or Custom Steam URL
api.parse.bot/scraper/8e04485d-f2ca-441f-a18c-e1d6ac48b195/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X POST 'https://api.parse.bot/scraper/8e04485d-f2ca-441f-a18c-e1d6ac48b195/search_player' \
  -H 'X-API-Key: $PARSE_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "query": "76561198012345678"
}'
All endpoints · 7 totalclick to expand

Search for a player by Steam ID, Steam Profile Link, or Custom Steam URL. Returns the player's full profile including stats, weapon stats, map stats, and rank history. Players without CS2 match data will return empty stats and rank_history.

Input
ParamTypeDescription
queryrequiredstringSteam ID (e.g. 76561198088771412), Steam Profile Link, or Custom Steam URL
Response
{
  "type": "object",
  "fields": {
    "stats": "object containing overall stats, totals, weapons, maps, past10, best, and matches",
    "avatar": "string or null, avatar image URL",
    "steam_id": "string, the player's SteamID64",
    "username": "string or null, player display name",
    "ban_status": "string, ban status such as 'Clean'",
    "rank_history": "array of rank history entries with date, adr, premier, csrank, faceit"
  },
  "sample": {
    "data": {
      "stats": {
        "overall": {
          "hs": 56,
          "wr": 74,
          "adr": 98,
          "kpd": 1.57,
          "rating": 1.51
        }
      },
      "avatar": null,
      "steam_id": "76561198088771412",
      "username": "AceaS",
      "ban_status": "Clean",
      "rank_history": [
        {
          "adr": 86,
          "date": 1695850598000,
          "csrank": null,
          "faceit": null,
          "premier": 0
        }
      ]
    },
    "status": "success"
  }
}

About the csstats.org API

The csstats.gg API exposes 7 endpoints covering CS2 player profiles, match history, leaderboards, and ban statistics. The get_player_profile endpoint returns a detailed stats object including weapon breakdowns, map performance, recent 10-match trends, rank history with ADR and Premier rating over time, and a player's current ban status — all keyed by SteamID64.

Player Profiles and Stats

Use search_player or get_player_profile to retrieve a full CS2 player profile by SteamID64, Steam profile URL, or custom URL. Both endpoints return the same response shape: a stats object with sub-keys for totals, weapons, maps, past10, best, and matches, plus avatar, username, ban_status, and a rank_history array. Each rank_history entry includes date, adr, premier, csrank, and faceit fields, letting you reconstruct a player's rating trajectory. Players with no recorded CS2 matches return empty stats and rank_history without an error.

Match History and Heatmaps

get_player_matches returns a paginated list of recent match IDs and a total_matches count for a given SteamID64. Feed those match_id values into get_match_details to retrieve per-match heatmap coordinate arrays — kills, deaths, shots, damage, hurt, smoke, flash, and he — useful for spatial analysis or visualization. Match info includes a match_title via the match_info object.

Leaderboards and Ban Statistics

get_leaderboard returns a ranked list of players for the premier leaderboard type, with each entry containing rank, steam_id, and username. get_ban_stats returns 30 days of global daily VAC and Game Ban counts as a daily_bans array of {date, num} objects, giving a rolling view of ban activity across the CS2 player base.

Social Graph

get_player_played_with retrieves the list of players a given Steam user has shared matches with, including shared stats. The endpoint supports pagination via an offset parameter, and each returned player entry includes a vac field indicating ban status.

Common use cases
  • Build a CS2 stat tracker that displays a player's Premier rating trend using rank_history entries over time
  • Render in-game kill and death heatmaps from get_match_details coordinate arrays for a specific match
  • Monitor a team roster's ban_status fields to flag newly VAC-banned accounts
  • Populate a leaderboard widget using get_leaderboard premier rankings with steam_id and username
  • Analyze weapon performance across a player's profile using the weapons sub-key in the stats object
  • Track global VAC ban volume trends by polling get_ban_stats daily_bans over rolling 30-day windows
  • Map a player's frequent teammates using get_player_played_with to identify squad patterns
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does csstats.gg have an official developer API?+
csstats.gg does not publish a documented public developer API. This Parse API provides structured access to player profiles, match data, leaderboards, and ban statistics from the site.
What does rank_history actually contain?+
Each entry in the rank_history array includes a date, the player's ADR (average damage per round) for that period, their Premier rating, their CS rank tier (csrank), and their Faceit level if linked. Players with no recorded CS2 activity return an empty rank_history array rather than an error.
Does get_leaderboard support multiple leaderboard types beyond premier?+
Currently only the premier type is reliably supported and returns ranked player data. Other leaderboard types are not guaranteed to return results. You can fork this API on Parse and revise it to add support for additional leaderboard types if the underlying source exposes them.
Is individual match performance per player available from get_match_details?+
get_match_details returns heatmap coordinate data (kills, deaths, shots, damage, smoke, flash, he) and a match title, but does not currently return per-player scorecards or round-by-round breakdowns. You can fork this API on Parse and revise it to add per-player match statistics if that data is available from the source.
How does pagination work in get_player_played_with?+
The endpoint accepts an optional offset integer parameter to paginate through a player's list of co-players. The response echoes back the current offset alongside the players array. There is no explicit page_size parameter exposed — stepping through results requires incrementing offset manually.
Page content last updated . Spec covers 7 endpoints from csstats.org.
Related APIs in SportsSee all →
athletic.net API
Search and analyze cross country and track & field performance data across the US, including athlete profiles, meet results, team rosters, and rankings. Access comprehensive meet information, historical records, and state-level competition data to track athlete progress and discover top performers.
maxpreps.com API
Access high school sports data from MaxPreps. Search for schools, retrieve team rosters and schedules, look up athlete profiles, and browse national or state rankings across all sports.
vg.no API
Access VG.no's latest news, articles, sports scores, and TV guides through a single interface where you can browse the front page, search articles by topic, view category-specific content, and find related stories. Get real-time sports scores and television schedules alongside comprehensive news coverage from Norway's leading news outlet.
vegasinsider.com API
Retrieve MLB betting odds from major sportsbooks including bet365, FanDuel, and DraftKings, covering Moneyline, Total, and Runline markets for any supported date. Easily compare odds across books to identify the best available lines.
puntoticket.com API
Browse and search events happening in Chile with PuntoTicket, viewing featured shows, filtering by category, and checking detailed pricing and availability for concerts, theater, sports, and more. Find the perfect event by exploring all listings or discovering what's trending right now.
130point.com API
Search for sold trading cards across eBay, Goldin, Heritage Auctions, Pristine Auction, MySlabs, and Fanatics Collect to find historical prices, sale dates, and marketplace information all in one place. Get comprehensive sales data to research card values and track market trends across multiple platforms instantly.
wynncraft.com API
Access detailed Wynncraft game information to look up item metadata and search across the complete item database, retrieve player statistics and character inventories, and browse guild information and global search results. Use this data to compare gear, track player progress, analyze guild rosters, or build tools for the Wynncraft community.
whoscored.com API
Search for players and teams, then dive deep into their performance metrics, match statistics, and detailed passing data to analyze football games and player abilities. Get comprehensive insights on team performance, individual player stats, and play-by-play event information to power your football analysis and decision-making.