Skip to main content

Get spells available for a class.

Get spells available for a class.

Path Parameters
index string — REQUIRED

Possible values: [barbarian, bard, cleric, druid, fighter, monk, paladin, ranger, rogue, sorcerer, warlock, wizard]

The index of the class to get.

Query Parameters
level integer[]

The level or levels to filter on.

Example (single-value): 1

Example (multiple-value): 1,2

Responses
200

OK

Schema — OPTIONAL
count integer — OPTIONAL
results object[] — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

level integer — OPTIONAL

Level of the spell (0 for cantrips).

404

No class found for this index.

Schema — OPTIONAL
error string — OPTIONAL