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

localeoptionalglobal
Resolve Text_* keys to translated strings (names, flavor, enum labels)
Default
en
sortoptionalglobal
Sort by a field and direction. Use field:order, such as name:asc, or use asc or desc for the endpoint's default field.
cursoroptionalglobal
Continue from the previous page. Pass the opaque pagination.next value unchanged. Omit it for the first page.
limitglobal
Accepted
1 - 200
Default
50

GET/v2/spells/{id}

idpath
Pick any spell id from the list
localeoptionalglobal
Language used to resolve localized names, descriptions, and labels.
Default
en

Accepts either the canonical envelope (id.spell.aqua_prison) or the raw upstream key (Id_Spell_AquaPrison).

GET/v2/spells/{id}/icon

idpath
Pick any spell id from the list
sizeoptionalglobal
Icon transforms — resize to N (square) or WxH. 1–512 per axis.
Example
64 or 64x96
dproptionalglobal
Icon transforms — pixel-density multiplier (1, 2, or 3). Combine with size for retina renders.
formatoptionalglobal
Icon transforms — re-encode. Omit to keep the source format.
trimoptionalglobal
Icon transforms — auto-strip transparent margin (1% fuzz).
bgoptionalglobal
Icon transforms — background fill (#RRGGBB, #RRGGBBAA, or transparent).
Example
#000000 or transparent