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
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:
Parameter | Value | Required | Description |
---|---|---|---|
battle_id | long | true |
Response
Parameter | Value | Description | ||
---|---|---|---|---|
battle_id | long | |||
duration | long | Match duration, value in seconds | ||
status | int | 0Upcoming 1Ongoing 2Finished | ||
match_id | string | |||
index | int | The current mapstart from map1 | ||
economic_diff | list | Economic diff | ||
diff | int | |||
time | int | The current timevalues in seconds | ||
xp_diff | list | Experience diff | ||
diff | int | |||
time | int | The current timevalues in seconds | ||
team_stats | object | Teams info | ||
team_id | long | |||
name | string | Team full name | ||
logo | string | |||
score | int | Match score | ||
camp | string | The camp that the team belongs | ||
is_win | bool | True of false | ||
first_blood_time | int | second, sometime does not have data | ||
is_first_blood | bool | True or false | ||
is_five_kills | bool | True or false | ||
is_ten_kills | bool | True or false | ||
kill_count | int | Kills | ||
tower_destroy | int | The number of tower that have been destroied | ||
barrack_destroy | int | The number of barrack that have been destroied | ||
battle_id | long | |||
pick_ids | list | The hero id of pick list | ||
ban_ids | list | The hero id of ban list | ||
pick_list | list | Hero list | ||
hero_id | long | |||
name | string | Name of hero | ||
logo | string | Logo of hero | ||
ban_list | list | Hero list | ||
hero_id | long | |||
name | string | Name of hero | ||
logo | string | Logo of hero | ||
gold | long | |||
xp | int | |||
last_hit_count | int | |||
hero_level | int | |||
players | list | Players info | ||
player_id | long | |||
name | string | Name of player | ||
position | int | |||
avatar | string | |||
hero_id | long | |||
hero_level | int | |||
hero_avatar | string | |||
hero_talents | ||||
kill_count | int | Kills | ||
death_count | int | Deaths | ||
assist_count | int | Assists | ||
last_hit_count | int | The last ht | ||
deny_count | int | The last deny | ||
gold | int | |||
gold_per_min | double | Money that players got in every minute | ||
xp_per_min | double | Experience that players got in one minute | ||
battle_id | long | |||
team_id | long | |||
item_ids | list | |||
damage_count | int |
Example Request
Example Response
{}