Home Village

Home Village Heroes, Equipment & Pets

Heroes, the equipment they wear, the pets that fight alongside them, and the Guardians unlocked through the Hero Hall.


Heroes

home().heroes() returns a HomeVillageHeroes query over all 6 heroes.

import { home } from 'clash-of-clans-data'

const barbarianKing = home().heroes().barbarianKing().first()!
console.log(barbarianKing.attackType)
console.log(barbarianKing.levels.length)

Entities (6)

barbarianKing · archerQueen · grandWarden · royalChampion · minionPrince · dragonDuke

Filters

MethodSignatureDescription
byHeroHallbyHeroHall(level: number)Filter to heroes available at a given Hero Hall level.

Type shape

interface HomeHero {
  id: string
  name: string
  preferredTarget: string
  attackType: string
  movementSpeed: number
  attackSpeed: number
  range: number
  searchRadius: number
  specialAbility?: string
  images: { icon: string }
  levels: HomeHeroLevel[]
}

interface HomeHeroLevel {
  level: number
  damagePerSecond: number
  damagePerHit: number
  hitpoints: number
  healthRecovery: number
  heroHallLevelRequired: number
  upgradeCost: number
  upgradeCostResource: ResourceType
  upgradeTime: BuildTime
}

Hero equipment

home().heroEquipment() returns a HomeVillageHeroEquipment query over all 42 equipment items forged at the Blacksmith.

Entities (42)

archerPuppet · giantArrow · barbarianPuppet · rageVial · electroBoots · earthquakeBoots · vampstache · giantGauntlet · stunBlaster · spikyBall · snakeBracelet · stickHorse · invisibilityVial · healerPuppet · frostFlake · frozenArrow · magicMirror · actionFigure · henchmenPuppet · darkOrb · metalPants · nobleIron · darkCrown · meteorStaff · eternalTome · lifeGem · rageGem · healingTome · flameBlower · fireHeart · fireball · lavaloonPuppet · heroicTorch · royalGem · seekingShield · hogRiderPuppet · hasteVial · rocketBackpack · electroFangs · monolithArrow · revengeDeck · rocketSpear

Filters

MethodSignatureDescription
byHerobyHero(heroId: string)Filter to equipment usable by the given hero.
byRaritybyRarity(rarity: EquipmentRarity)Filter by rarity tier ('common' or 'epic').
byBlacksmithbyBlacksmith(level: number)Filter by Blacksmith level requirement.

Examples

import { home } from 'clash-of-clans-data'

// All epic equipment for the Archer Queen
const queenEpics = home()
  .heroEquipment()
  .byHero('archer-queen')
  .byRarity('epic')
  .get()

const eternalTome = home().heroEquipment().eternalTome().first()!

Pets

home().pets() returns a HomeVillagePets query over all 12 pets raised in the Pet House.

Entities (12)

lassi · electroOwl · mightyYak · unicorn · frosty · diggy · poisonLizard · phoenix · spiritFox · angryJelly · sneezy · greedyRaven

Filters

MethodSignatureDescription
byPetHousebyPetHouse(level: number)Filter by Pet House level requirement.
byTownHallbyTownHall(level: number)Filter by Town Hall availability.

Examples

import { home } from 'clash-of-clans-data'

const th13Pets = home().pets().byTownHall(13).get()
const phoenix = home().pets().phoenix().first()!

Guardians

home().guardians() returns a HomeVillageGuardians query over the Guardians unlocked through the Hero Hall.

Entities (3)

longshot · smasher · logger

Filters

MethodSignatureDescription
byGuardianTypebyGuardianType(type: string)Filter by guardian type.
byTownHallbyTownHall(level: number)Filter by Town Hall availability.

Examples

import { home } from 'clash-of-clans-data'

const longshot = home().guardians().longshot().first()!

Next steps

Previous
Troops, spells & siege machines