Live dota-2 reference

This documentation refers to the latest version of the API (2.13.8)

At the root of the frame you will find the dire and radiant keys, each containing the relevant team, as well as the current_timestamp (integer) in seconds, whether it is daytime (boolean) within the map (object), the tournament id, match id, and the game id accompanied by finished (boolean) informing you of whether the current game has ended or not. In addition, the winner_id will be set when the game has ended.

Within the team keys you will find a plethora of information which we shall cover key by key:

  • id: team id
  • score: games won by this team so far (integer)
  • towers: number of towers destroyed and remaining (object; maximum 11)
  • barracks: number of barracks destroyed and remaining (object; maximum 6)
  • players: team players and their information (array)

Team players are stored as objects in an array:

  • id: player id
  • name: player name (string)
  • hero: hero name and id (object)
  • level: hero level (integer)
  • alive: whether the player hero is alive (boolean)
  • cs: player creep score (integer)
  • kills: player kills (integer)
  • deaths: player deaths (integer)
  • assists: player assists (integer)

Frame example

Send us your feedback

Thank you for your feedback!

We will get back to you as soon as possible.

Further communication will be conducted by email.

A problem has occurred.

This call has encountered an error:
Please email directly.