Skip to main content

What each game has

GET /v1/games/{game} (and each game in GET /v1/matches/{match_id}) carries flags. Check them before you request a dataset: Where a dataset is missing, the related fields are null (not zero) or the endpoint returns 404. null always means unknown or not recorded; 0 is a real zero. GET /v1/health gives the current totals. For a training set, select games with the flags you need, for example has_state and has_kill_detail and valid.

Validation

Every game is checked when the data is built. Failed checks are listed in the game’s issues, and valid is true when there are none other than teams_unresolved. In the November 2026 build, over 99% of games were valid. A recording that starts late misses round 1 (or more): the game’s missing_rounds lists them, and /rounds returns the rounds that exist.

Known quirks

  • Attacker Steam IDs are snapped to the roster. Upstream, attacker ids in the raw event data lose precision (they are rounded to a multiple of 16). The API matches each to the nearest Steam ID in the game roster (within 16). If you read the state_ev parquet file yourself, do the same.
  • Kill attackers come from names. Kill attacker and victim ids are matched from in-game names to the roster. Where a game has no player state there is no roster, so those ids are null while the names are filled.
  • Coaches are dropped from rosters, player stats and round player lines (they occupy a team slot but are never alive). They can still appear in raw /states rows and the parquet files with alive: false all round.
  • Bomb site names. bomb_site and the bomb site are A or B, taken from the planter’s map callout; on very rare plants the callout is another place name (seen: Water, Hut).
  • Round reasons. A handful of rounds have reason 0 (unknown); winner_side is still set.
  • Assists. Assists and KAST counts that use them are only known where the game has kill detail; elsewhere assists is null and KAST counts kills, survival and trades only.
  • Damage start hp. dmg_health assumes every player starts the round at 100 hp, which is how competitive CS2 works.
  • Display vs engine names. Weapons in /states are display names (AK-47); in kills and damage, engine names (ak47).