Get A Battle

Update Time: 2021-08-05 21:36

Introduction

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

Request

  • Path: /esport/lol/match/live_battle
  • Method: GET
  • Calls: Unlimited calls for paid plans, 200 calls per day for free trial.
  • Recommend Calls: 10 second/call
  • Parameters:
ParameterValueRequiredDescription
battle_idlongtrueBattle_id can be collected from List Lives matchsand Get past matches

Response

ParameterValueDescription
battle_id long
match_id long
duration intMatch duration, value in seconds
index intCurrent battlestart from 1
economic_diff listMoney dif
time intmatch duration
diff intBlue team / Red team
xp_diff list Experience dif
time int match duration
diff int Blue team / Red team
status int 0Ongoing 1Finished
start_time longValue in milliseconds
player_stats objectStats for players
battle_id long
player_id long
player_name stringName in game
player_avatar string
team_id long
hero_id longSearch the hero id through Get a hero
hero_level intLevel of champions
hero_name string
hero_avatar stringChampion's avatar
kill_count intKills
death_count intDeaths
assist_count intAssists
last_hit_count intNumber of the last hit
last_hit_minute intNumber of the last hit per minute
damage_count intDamage that player made
damage_minute intDamage that player made per minute
damage_percent doubleDamage percent of the team
damage_taken_count intDamage that player taken
damage_taken_minute intDamage taken percent of the team
damage_taken_percent doubleDamage taken percent of the team
kda doublethe ration between Kills Deathes and Assists
money_count intMoney that players made
money_minute intMoney players got per minute
offered_rate doubleThe rate that players were involved in team fights
score intPerformance score
equip_ids long[]Search the euipd id through List items
skill_ids long[]Search the skill id through List Spells
team_stats object
battle_id long
team_id long
money intMoney that whole teams made
kill_count intKills
death_count intDeaths
assist_count intAssists
big_dragon_count intBaron that teams killed
small_dragon_count intDragons that teams killed
tower_success_count intNumber of destroyed tower
inhibitor_success_count int
pick_ids long[]Search the hero id through List champions
ban_ids long[]Search the hero id through List champions
is_win boolT/F
is_first_big_dragon boolT/F
is_first_small_dragon boolT/F
is_first_blood boolT/F
is_five_kills boolT/F
is_ten_kills boolT/F
is_first_tower boolT/F
side stringBlue/red
pick_list listList Champions
hero_id longSearch the hero id through List champions
hero_name string
avatar string
ban_list list
hero_id longSearch the hero id through Get a hero
hero_name string
avatar string

Example Request

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