Skip to main content

Dota2GamePlayer

Player's data for a game

Properties

NameTypeRequiredDescription
abilitiesDota2PerHeroAbility[]
assistsnumberPlayer's number of assists for a game
campsStackednumber
creepsStackednumber
damageTakennumber
deathsnumber
deniesnumberNumber of denies performed by a player
factionDota2GamePlayerFaction
gameIdnumber
goldPerMinnumber
goldRemainingnumber
goldSpentnumber
healnumberHealing (in HP) performed by the player
heroDota2GamePlayerHero
heroDamagenumber
heroLevelnumber
itemsDota2Item[]
killsnumber
laneCreepnumber
lastHitsnumber
netWorthnumberNet worth of the player
neutralCreepnumber
observerUsednumber
observerWardsDestroyednumber
observerWardsPurchasednumber
opponentDota2GamePlayerOpponent
playerBasePlayer
rolenumberPosition of the player (1, 2, 3, 4, 5)
sentryUsednumber
sentryWardsDestroyednumber
sentryWardsPurchasednumber
teamIdnumber
towerDamagenumber
towerKillsnumber
xpPerMinnumber

Dota2GamePlayerFaction

Properties

NameTypeRequiredDescription
DIREstring"dire"
RADIANTstring"radiant"

Dota2GamePlayerHero

Properties

NameTypeRequiredDescription
idnumber
imageUrlstring
localizedNamestring
namestring

Dota2GamePlayerOpponent

Opponent1_2

Properties

NameTypeRequiredDescription
activebooleanWhether player is active
agenumberAge of the player, null if unknown. When birthday is null, age is an approxiamation. Read more about players' age
Note: This field is only present for users running the Historical plan or above.
birthdaystringBirth day of the player, YYYY-MM-DD format. null if unknown.
Note: This field is only present for users running the Historical plan or above.
firstNamestringFirst name of the player. null if unknown
idnumberID of the player
imageUrlstringURL to the photo of the player. null if not available.
lastNamestringLast name of the player. null if unknown
modifiedAtstring
namestringProfessional name of the player
nationalitystringCountry code matching the nationality of the player according to the ISO 3166-1 standard (Alpha-2 code).
In addition to the standard, the XK code is used for Kosovo.
null if unknown
rolestringRole/position of the player. Field value varies depending on the video game.null if unknown.
Note: role is only available for DotA 2, League of Legends, and Overwatch players.
null for other video games.
slugstringUnique, human-readable identifier for the player.
id and slug can be used interchangeably throughout the API.

Opponent2_2

Properties

NameTypeRequiredDescription
acronymstring
idnumber
imageUrlstringURL of the team logo
locationstringThe team's organization location
modifiedAtstring
namestringThe name of the team.
slugstring

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →