Get A Battle

Update Time: 2021-12-28 11:54

Introduction

Get the battle data by battle id which you can collect from List Lives matchs and Get Past Matches

Related Plans

You can use this api by subscribing plans:  DOTA2.

Request

  • Path: /esport/dota/match/battle
  • Method: GET
  • Calls: Unlimited calls for paid plans, 200 calls per day for free trial.
  • Recommend Calls: 10 second/call
  • Parameters:
ParameterValueRequiredDescription
battle_idlong true

Response

ParameterValueDescription
battle_id long
duration longMatch duration, value in seconds
status int 0Upcoming 1Ongoing 2Finished
match_id string
index intThe current mapstart from map1
economic_diff listEconomic diff
diff int
time intThe current timevalues in seconds
xp_diff listExperience diff
diff int
time intThe current timevalues in seconds
team_stats objectTeams info
team_id long
name stringTeam full name
logo string
score intMatch score
camp stringThe camp that the team belongs
is_win boolTrue of false
first_blood_time intsecond, sometime does not have data
is_first_blood boolTrue or false
is_five_kills boolTrue or false
is_ten_kills boolTrue or false
kill_count intKills
tower_destroy intThe number of tower that have been destroied
barrack_destroy intThe number of barrack that have been destroied
battle_id long
pick_ids listThe hero id of pick list
ban_ids listThe hero id of ban list
pick_list listHero list
hero_id long
name stringName of hero
logo stringLogo of hero
ban_list listHero list
hero_id long
name stringName of hero
logo stringLogo of hero
gold long
xp int
last_hit_count int
hero_level int
players list Players info
player_id long
name stringName of player
position int
avatar string
hero_id long
hero_level int
hero_avatar string
hero_talents
kill_count intKills
death_count intDeaths
assist_count intAssists
last_hit_count intThe last ht
deny_count intThe last deny
gold int
gold_per_min doubleMoney that players got in every minute
xp_per_min doubleExperience that players got in one minute
battle_id long
team_id long
item_ids list
damage_count int

Example Request

JavaPythonGOPHPC#

Example Response

{}
    Get the battle data by battle id which you can collect from List Lives matchs and Get Past Matches

    Get A BattleiSportsAPI

    Contact