Counter-Strike: Global Offensive

🎞️ Frames

CS:GO frames contain the teams playing (in counter_terrorists and terrorists fields), game, match, and tournament ids, as well as the current map (object), timestamp (integer), round (integer; starts at 1), and game_number (integer; starts at 1).

If the game has already ended, the game object's finished (boolean) key will update and will also contain the winner_id of the victorious team.

Unlike in League of Legends, the current_timestamp (integer) is not actually a timestamp, but the time elapsed since the beginning of the current round, in seconds. This makes it highly unreliable for timekeeping, and its inclusion is only for clients to easily differentiate frames.

The team objects in the counter_terrorists and terrorists each contain their id, name (string), score (integer) (score in the BO) and round_score (integer), as well as their players (array).

Player objects in the players (array) contain their id, name, kills, deaths, as well as whether the player is_alive (boolean).

Frame example

πŸ’₯ Events

A CS:GO event type can be any of the following:

  • Kills - payload type: kill
  • Round starts - payload type: round_start
  • Round ends - payload type: round_end

Alll events have the following fields:

  • id: event id (integer)
  • type: event type (string)
  • ts: event timestamp in milliseconds (integer)
  • match: current match information (object)
  • game: current game information (object)
  • playload: event detailed information (object)

Event example


Did this page help you?