Discover/csgostats.gg API
live

csgostats.gg APIcsgostats.gg

Retrieve CS2 player stats, match history, weapon breakdowns, and leaderboards from csgostats.gg via a structured JSON API.

Endpoints
7
Updated
14d ago
Try it
Steam ID of the player (e.g. 76561198779774220)
api.parse.bot/scraper/cc6a7862-b65e-4a6f-b3b7-fd13a5228d53/<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 GET 'https://api.parse.bot/scraper/cc6a7862-b65e-4a6f-b3b7-fd13a5228d53/get_player_profile?player_id=76561198000000000' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Get player profile overview including name, avatar, and current ranks across game modes.

Input
ParamTypeDescription
player_idrequiredstringSteam ID of the player (e.g. 76561198779774220)
Response
{
  "type": "object",
  "fields": {
    "name": "string, player display name",
    "ranks": "array of rank objects with rank_image and type",
    "avatar": "string, URL to Steam avatar image",
    "steam_id": "string, the queried Steam ID"
  },
  "sample": {
    "data": {
      "name": "John Doe",
      "ranks": [
        {
          "type": "rank",
          "rank_image": "https://static.csstats.gg/images/ranks/faceit/level10.png"
        },
        {
          "type": "best",
          "rank_image": "https://static.csstats.gg/images/ranks/9.png"
        }
      ],
      "avatar": "https://avatars.steamstatic.com/a66c5b6685dabbd3d8ab0a493b1c57d0325f3a69_full.jpg",
      "steam_id": "76561198779774220"
    },
    "status": "success"
  }
}

About the csgostats.gg API

The csgostats.gg API exposes 7 endpoints covering CS2 player profiles, detailed statistics, match history, and leaderboards. Use get_player_stats to retrieve per-weapon headshot percentages and accuracy figures, or get_match_details to pull full team scoreboards for any match ID. All responses return structured JSON keyed to Steam IDs, making it straightforward to cross-reference players across endpoints.

Player Profiles and Statistics

get_player_profile returns a player's display name, Steam avatar URL, Steam ID, and an array of rank objects — each with a rank_image and type field — covering multiple game modes. get_player_stats goes deeper, returning a summary object with aggregate fields like played, won, lost, kills, deaths, assists, headshots, damage, and rounds, plus a weapons array where each entry includes the weapon name, kill count, headshot count, hs_pct, and accuracy. Optional filters — date (e.g. 7d, 30d, 6mo, 12mo), maps, modes, source (e.g. cs2, csgo), and platforms — let you scope statistics to a specific time window or context.

Match History and Details

get_player_matches returns a paginated list of matches for a given Steam ID, controlled via an offset parameter. Each match object includes match_id, date, map, score, kills, deaths, assists, and a direct url. The match_id values are numeric strings you can pass directly into get_match_details, which returns the full scoreboard: map name, match date, and a teams array where each team has a team_name, score, and a players array with per-player stats.

Leaderboards and Global Feeds

get_leaderboard accepts a mode parameter (premier or competitive) and returns top players with rank, name, wins, steam_id, and current_rank (the numeric rating score). get_recent_matches requires no inputs and returns a rolling global feed of recent matches with map, score, kills, deaths, date, match_id, and a url. get_player_played_with returns an array of players associated with a given Steam ID, useful for building social graphs around frequent teammates or opponents.

Common use cases
  • Track a player's win rate and KD ratio over the last 30 days using the date filter in get_player_stats.
  • Build a weapon performance dashboard showing per-weapon headshot percentage and accuracy from the weapons array.
  • Display a player's ranked history by pulling get_player_matches with pagination and rendering map-by-map results.
  • Populate a team scouting tool by combining get_match_details scoreboards with get_player_profile rank data.
  • Monitor CS2 premier leaderboard standings by polling get_leaderboard with mode=premier on a schedule.
  • Identify frequent teammates or opponents for a given player using get_player_played_with.
  • Feed a live match ticker by consuming the get_recent_matches global feed for maps, scores, and kill counts.
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 csgostats.gg have an official developer API?+
csgostats.gg does not publish an official public developer API. The Parse API is an independent way to access structured data from that source.
What filters does get_player_stats support?+
get_player_stats accepts five optional filters: date (values like 7d, 30d, 6mo, 12mo), maps, modes, source (e.g. cs2 or csgo to separate game generations), platforms, and vac. These can be combined to narrow results to a specific time range, map pool, or game mode.
How does match pagination work in get_player_matches?+
The endpoint returns a count field with the total number of matches and an array of up to N matches per call. Use the offset integer parameter to page through the full history. Each match object includes a match_id you can pass to get_match_details for the full scoreboard.
Does the API return individual round-by-round data within a match?+
Not currently. get_match_details returns per-player statistics aggregated at the match level along with team scores, map name, and match date. Round-by-round timelines are not included in the current response shape. You can fork the API on Parse and revise it to add an endpoint targeting that level of detail if the source exposes it.
Are player statistics available for CSGO (pre-CS2) matches separately?+
get_player_stats includes a source filter that accepts values like cs2 and csgo, allowing you to separate statistics by game version. However, deep per-era breakdowns beyond what the summary and weapons objects expose are not currently available as distinct endpoints. You can fork the API on Parse and revise it to add further era-specific filtering.
Page content last updated . Spec covers 7 endpoints from csgostats.gg.
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.