Player All Heroes Endpoint


This endpoint is used for gathering player data for all heroes. The following attributes are returned.

{
  "game_type": {
    "hero": {
      "wins": wins,
      "losses": losses,
      "games_played": games_played,
      "win_rate": win_rate,
      "mmr": mmr
    }
  }
}

Example Usage

{warning} All API calls require an api_token as part of the query string and are prefixed by https://api.heroesprofile.com/api

Method URI Headers
GET /Player/Hero/All?battletag=Zemill%231940&region=1 Default
GET /Player/Hero/All?battletag=Zemill%231940&region=1&game_type=Storm League Default

URL Parameters (required)

mode: (json or csv)

battletag: (Full battletag) - url encoded

region:  (1 = NA, 2 = EU, 3 = KR, 5 = CN)

URL Parameters (as needed)

game_type: Full game type.  e.g.  Storm League

Example Return

{
  [
    {
      "id": 1,
      "name": "Abathur",
      "short_name": "abathur",
      "alt_name": null,
      "role": "Specialist",
      "new_role": "Support",
      "type": "Melee",
      "release_date": "2014-03-13 00:00:00",
      "rework_date": null,
      "attribute_id": "Abat"
    },
    {
      "id": 2,
      "name": "Alarak",
      "short_name": "alarak",
      "alt_name": null,
      "role": "Assassin",
      "new_role": "Melee Assassin",
      "type": "Melee",
      "release_date": "2016-09-13 00:00:00",
      "rework_date": "2017-05-16 00:00:00",
      "attribute_id": "Alar"
    },
    {
      "id": 3,
      "name": "Anub'arak",
      "short_name": "anubarak",
      "alt_name": "Anubarak",
      "role": "Warrior",
      "new_role": "Tank",
      "type": "Melee",
      "release_date": "2014-10-07 00:00:00",
      "rework_date": "2017-03-14 00:00:00",
      "attribute_id": "Anub"
    },
    {
      "id": 4,
      "name": "Artanis",
      "short_name": "artanis",
      "alt_name": null,
      "role": "Warrior",
      "new_role": "Bruiser",
      "type": "Melee",
      "release_date": "2015-10-20 00:00:00",
      "rework_date": "2016-12-14 00:00:00",
      "attribute_id": "Arts"
    },
    {
      "id": 5,
      "name": "Arthas",
      "short_name": "arthas",
      "alt_name": null,
      "role": "Warrior",
      "new_role": "Tank",
      "type": "Melee",
      "release_date": "2014-03-13 00:00:00",
      "rework_date": "2017-03-14 00:00:00",
      "attribute_id": "Arth"
    },
  ]