Builder Base

Builder Base Buildings & Leagues

Support buildings, the Builder Hall, and the 42 Builder Base league tiers that track trophy progress.


Resource buildings

builder().resourceBuildings() returns a BuilderBaseResourceBuildings query over all 6 resource buildings.

Entities (6)

goldMine · elixirCollector · goldStorage · elixirStorage · gemMine · bobControl

Filters

MethodSignatureDescription
byBuilderHallbyBuilderHall(level: number)Filter by Builder Hall availability.

Army buildings

builder().armyBuildings() returns a BuilderBaseArmyBuildings query. armyCamp() and reinforcementCamp() return their own dedicated query classes.

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

const starLab = builder().armyBuildings().starLaboratory().first()!
const armyCamp = builder().armyBuildings().armyCamp().first()!

Entities

builderBarracks · armyCamp · starLaboratory · battleMachineAltar · battleCopterAltar · reinforcementCamp · healingHut

Filters

MethodSignatureDescription
byBuilderHallbyBuilderHall(level: number)Filter by Builder Hall availability.

Other buildings

builder().otherBuildings() returns a BuilderBaseOtherBuildings query over the Clock Tower.

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

const clockTower = builder().otherBuildings().clockTower().first()!

The Clock Tower's boost math lives in calculators().clockTower(): this namespace returns the building data (build cost, hitpoints), not the boost calculations.


Builder Hall

builder().builderHall() returns a BuilderBaseBuilderHall query over Builder Hall level data.

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

const builderHall = builder().builderHall().first()!
const bh9 = builderHall.levels.find((l) => l.level === 9)

Leagues

builder().leagues() returns a BuilderBaseLeagues query over all 42 Builder Base league tiers, from Wood V through Diamond, with trophy ranges, battle result rewards (0–6 stars), and star bonus data.

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

const goldLeagues = builder().leagues().byGroup('gold').get()
const current = builder().leagues().atTrophies(2400)

Filters / lookups

MethodSignatureDescription
byGroupbyGroup(group: BuilderBaseLeagueGroup)Filter to leagues in a group (e.g. 'gold', 'crystal').
byNamebyName(query: string)Filter by league name (partial match).
atTrophiesatTrophies(trophies: number)Return the single league tier for a given trophy count.

Next steps

Previous
Troops & heroes