Spells
Class spells with localized descriptions, costs, embedded abilities and effects, and an icon_url.
Each spell row also carries:
- tier (
int | null) — the spell's knowledge tier (1–5). Equals the memory cost; null for Sorcerer cooldown spells that have no tier. - cost_type — slug describing how the spell is paid for: count (memory slots consumed), cooldown, cooldown_end, etc.
- casting_time — cast duration in seconds.
- cooldown — recovery duration in seconds.
- source_type — element slug (arcane, fire, ice, …) indicating the spell's damage school.
- range — effective range in cm (as shipped by the codex).
GET/v2/spells
localeoptionalglobalResolve Text_* keys to translated strings (names, flavor, enum labels)
sortoptionalglobalSort by a field and direction. Use
field:order, such as name:asc, or use asc or desc for the endpoint's default field.cursoroptionalglobalContinue from the previous page. Pass the opaque
pagination.next value unchanged. Omit it for the first page.limitglobalGET/v2/spells/{id}
idpathPick any spell id from the list
localeoptionalglobalLanguage used to resolve localized names, descriptions, and labels.
Accepts either the canonical envelope (id.spell.aqua_prison) or the raw upstream key (Id_Spell_AquaPrison).
GET/v2/spells/{id}/icon
idpathPick any spell id from the list
sizeoptionalglobalIcon transforms — resize to N (square) or WxH. 1–512 per axis.
dproptionalglobalIcon transforms — pixel-density multiplier (1, 2, or 3). Combine with size for retina renders.
formatoptionalglobalIcon transforms — re-encode. Omit to keep the source format.
trimoptionalglobalIcon transforms — auto-strip transparent margin (1% fuzz).
bgoptionalglobal