> ## Documentation Index
> Fetch the complete documentation index at: https://cs2-data-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Rounds and events

> Rounds, kills, per-hit damage, grenades and bomb events.

All event endpoints take `round`, are [paginated](https://cs2-data-api.mintlify.site/concepts/pagination.md) (default 200 rows) in `(round_no, seq)` order,
and accept `format=csv`. `/kills`, `/damage` and `/grenades` also take `player_id`, which matches any player column of
the event (attacker, victim or assister; thrower for grenades). Positions are Hammer world units.

## Rounds

`GET /v1/games/{game}/rounds` returns every round of the game in one response.

| Field | Meaning |
| - | - |
| `round_no` | 1-based; overtime continues the count |
| `freeze_end_tick`, `end_tick` | Live round time runs between these ticks |
| `duration_s` | Seconds from freeze end to round end |
| `ct_name`, `t_name`, `ct_team_id`, `t_team_id` | Team on each side this round (ids `null` until [resolved](https://cs2-data-api.mintlify.site/concepts/ids.md)) |
| `score_ct_before`, `score_t_before` | Score of the CT and T sides before the round |
| `winner_side` | `CT` or `T`. Use this as the round label |
| `winner_team_id` | Winning team's id, `null` until resolved |
| `reason` | `t_elim` (Ts eliminated, CT win), `ct_elim` (CTs eliminated, T win), `bomb` (exploded, T win), `defuse` (CT win), `time` (time ran out, CT win) |
| `bomb_site`, `plant_tick` | Site (`A` or `B`) and tick of the plant; `null` when not planted |
| `n_kills` | Kills in the round |
| `ct_equip`, `t_equip` | Team equipment value of living players at freeze end (\$) |
| `ct_cash`, `t_cash` | Team money at freeze end (\$) |

Per-player economy at round start (`cash_start`, `equip_start`, `armor_start`, `helmet`, `kit`) and per-round player
lines are in `GET /v1/games/{game}/rounds/{round_no}/players`.

## Kills

`GET /v1/games/{game}/kills`

| Field | Meaning | Needs |
| - | - | - |
| `round_no`, `seq`, `tick`, `t_round` | When | |
| `attacker_steamid`, `attacker_name`, `attacker_side` | Killer. `attacker_steamid` is `null` for world deaths (fall, bomb) and where the game has no roster | |
| `victim_steamid`, `victim_name` | Victim | |
| `weapon` | Engine weapon name: `ak47`, `m4a1_silencer`, `awp`, `hegrenade`, `inferno`, `planted_c4`, `world`, ... | |
| `headshot` | Headshot | |
| `victim_x`, `victim_y`, `victim_z` | Victim position at death | `has_events` |
| `assister_steamid` | Assister (`null` = no assist) | `has_kill_detail` |
| `flash_assist` | The assist was a flash | `has_kill_detail` |
| `through_smoke` | Shot through a smoke | `has_kill_detail` |
| `noscope` | Scoped weapon fired unscoped | `has_kill_detail` |
| `attacker_blind` | Attacker was flashed | `has_kill_detail` |
| `attacker_in_air` | Attacker was airborne | `has_kill_detail` |
| `wallbang` | The bullet penetrated a surface | `has_kill_detail` |
| `distance` | Attacker to victim distance as the game reports it, in **meters** (world units x 0.0254) | `has_kill_detail` |
| `attacker_x`, `attacker_y`, `attacker_z` | Attacker position | `has_kill_detail` |

Fields marked `has_kill_detail` come from the tick-level data and are `null` in every kill of a game whose
`has_kill_detail` is `false`. In such games `null` in `assister_steamid` means "unknown", not "no assist", and the
`assists` / `flash_assists` player stats are `null` too.

A kill can have `attacker_steamid == victim_steamid` (suicide, own grenade), and the attacker can be on the victim's
side (team kill). Player aggregates exclude self-kills.

## Damage

`GET /v1/games/{game}/damage`: every hit. Needs `has_events`.

| Field | Meaning |
| - | - |
| `round_no`, `seq`, `tick` | When |
| `attacker_steamid` | `null` for world damage (falls), whose `weapon` is an empty string |
| `victim_steamid` | Who was hit |
| `weapon` | Engine name, including `hegrenade`, `inferno`, `molotov`, `smokegrenade`, `flashbang` (grenade impact) |
| `hitgroup` | `head`, `neck`, `chest`, `stomach`, `left_arm`, `right_arm`, `left_leg`, `right_leg`, `generic` (grenades, fire, falls) |
| `dmg_raw` | Damage the game reported for the hit. It can exceed the hp the victim had (a 118 headshot on a 100 hp player) |
| `dmg_health` | Hp the hit actually removed: 0 to 100, computed from the victim's earlier hits in the round, starting from 100 hp |
| `victim_x`, `victim_y`, `victim_z` | Victim position at the hit |

Use `dmg_health` for ADR-style numbers (the API's own `adr` and `damage` do, and exclude team damage). Use `dmg_raw`
when you care about the weapon's output, e.g. damage per shot. Team and self damage are included in this list.

## Grenades

`GET /v1/games/{game}/grenades`. Needs `has_events`. Filter with `type`.

| Field | Meaning |
| - | - |
| `type` | `smoke`, `flash`, `he`, `fire` (molotov or incendiary) |
| `phase` | `start`: detonation (a fire starts burning). `end`: a smoke expires or a fire burns out. Only smokes and fires have `end` |
| `thrower_steamid` | Who threw it |
| `x`, `y`, `z` | Where it detonated (or ended) |
| `round_no`, `seq`, `tick` | When |

To know whether a smoke is up at tick `t`, pair its `start` with the next `end` of the same type near the same
position. Decoys are not included. Every projectile's full flight path, tick by tick, is in the `grenades` parquet
file ([Files](https://cs2-data-api.mintlify.site/data/files.md)).

## Bomb

`GET /v1/games/{game}/bomb`. Takes `round` (no `player_id`).

| Field | Meaning |
| - | - |
| `event` | `pickup`, `dropped`, `planted`, `defused`, `exploded` |
| `player_steamid` | The player the game attaches to the event (carrier, planter, defuser) |
| `site` | On `planted` only: `A` or `B` |
| `x`, `y`, `z` | Position of that player |
| `round_no`, `seq`, `tick` | When |

Games without `has_events` have only `planted`, `defused` and `exploded`, with `player_steamid` and positions `null`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.