Diablo III

Diablo III game data and community endpoints.

20 endpoints on client.diablo3. Response types are documented on JSR: Diablo3Api.

Game data#

Eras and seasons#

  • era(eraId: number): Era
    Returns a leaderboard list for a particular era.
  • eraLeaderboard(eraId: number, leaderboard: string): EraLeaderboard
    Returns the specified leaderboard for the specified era.
  • eras(): Eras
    Returns an index of available eras.
  • season(seasonId: number): Season
    Returns an index of available seasons.
  • seasonLeaderboard(seasonId: number, leaderboard: string): SeasonLeaderboard
    Returns a the specified leaderboard for the specified season.
  • seasons(): Seasons
    Returns an index of available seasons.

Item#

  • item(itemSlugAndId: string): Item
    Returns a single item by item slug and ID.

Community#

Act#

  • act(seasonId: number): Act
    Returns a single act by ID.
  • acts(): Acts
    Returns an index of acts.

Artisan#

  • artisan(artisanSlug: string): Artisan
    Returns a single artisan by slug.
  • artisanRecipe(artisanSlug: string, recipeSlug: string): Recipe
    Returns a single recipe by slug for the specified artisan.

Follower#

  • follower(followerSlug: string): Follower
    Returns a single follower by slug.

Hero#

  • heroClass(classSlug: string): HeroClass
    Returns a single character class by slug.
  • heroSkill(classSlug: string, skillSlug: string): HeroSkillDetail
    Returns a single skill by slug for a specific character class.

Item type#

  • itemType(itemTypeSlug: string): ItemType[]
    Returns a single item type by slug.
  • itemTypes(): ItemTypes[]
    Returns an index of item types.

Profile#

  • account(battleTag: string): D3Account
    Returns the account profile of a battle tag, including its heroes.
  • hero(battleTag: string, heroId: number): D3Hero
    Returns a hero of a battle tag.
  • heroFollowerItems(battleTag: string, heroId: number): D3HeroFollowerItems
    Returns the items equipped by a hero's followers.
  • heroItems(battleTag: string, heroId: number): D3HeroItems
    Returns the equipped items of a hero.