Skip to main content

Get list of spells with optional filtering.

Get list of spells with optional filtering.

Query Parameters
level integer[]

The level or levels to filter on.

Example (single-value): 1

Example (multiple-value): 1,2

school string[]

The magic school or schools to filter on.

Example (single-value): illusion

Example (multiple-value): evocation,illusion

Example (partial-value): illu

Responses
200

OK

Schema — OPTIONAL
count number — OPTIONAL

Total number of resources available.

results object[] — OPTIONAL
index string — OPTIONAL

Resource index for shorthand searching.

name string — OPTIONAL

Name of the referenced resource.

url string — OPTIONAL

URL of the referenced resource.