Skip to main content
GET /v1/games/{game}/states returns one row per player per sample, sampled every 32 ticks from freeze end to round end, plus the round end tick. It costs 5 units. Rows are ordered by tick, then steamid. A game without player state (has_state: false) returns 404.

Columns

Positions are in Hammer world units of the map. Angles are in degrees. Example inventory: M9 Bayonet|Smoke Grenade|USP-S. Split on |.
flash is not a countdown. In the data it holds a constant value (for example 1.85) for the whole time it is non-zero, then drops to 0; it does not decrease sample by sample. Treat flash > 0 as “currently flashed” and the value as the total length of that flash. Its exact reset behaviour (for example on death) has not been verified.

Things to know

  • Dead players keep appearing with alive: false and hp: 0. Ignore their other columns.
  • Coaches can appear: they occupy a team slot but are never alive. Drop any player who is never alive in the round, or keep only players in the game’s roster (GET /v1/games/{game}).
  • Missing values are filled: hp, armor, clip, ammo, cash and equip are 0, and the booleans are false, when the game did not record them. Older games may not carry clip.
  • weapon and inventory use display names (AK-47), while weapon in kills and damage uses engine names (ak47).
  • spotted and spotted_by are the game’s own approximate visibility flags, not a computed line of sight.

Every tick

The same signals, plus key presses (FORWARD, FIRE, JUMP, …), 3D velocity, duck_amount, zoom_lvl, shots_fired, flash_max_alpha, in_buy_zone and per-player running totals, are in the ticks parquet file at every tick. See Files.