list: API endpoint for returning a list of spells. retrieve: API endpoint for returning a particular spell.

GET /v2/spells/sanctuary/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://api-beta.open5e.com/v2/spells/sanctuary/?format=api",
    "key": "sanctuary",
    "casting_options": [
        {
            "type": "default",
            "damage_roll": null,
            "target_count": null,
            "duration": null,
            "range": null
        }
    ],
    "school": {
        "key": "abjuration",
        "name": "Abjuration",
        "desc": "**Abjuration** spells are protective in nature, though some of them have aggressive uses. They create magical barriers, negate harmful effects, harm trespassers, or banish creatures to other planes of existence.",
        "document": "srd"
    },
    "name": "Sanctuary",
    "desc": "You ward a creature within range against attack. Until the spell ends, any creature who targets the warded creature with an attack or a harmful spell must first make a wisdom saving throw. On a failed save, the creature must choose a new target or lose the attack or spell. This spell doesn't protect the warded creature from area effects, such as the explosion of a fireball. If the warded creature makes an attack or casts a spell that affects an enemy creature, this spell ends.",
    "level": 1,
    "higher_level": "",
    "target_type": "creature",
    "range": "30 feet",
    "ritual": false,
    "casting_time": "action",
    "verbal": true,
    "somatic": true,
    "material": true,
    "material_specified": "A small silver mirror.",
    "material_cost": null,
    "material_consumed": false,
    "target_count": 1,
    "saving_throw_ability": "wisdom",
    "attack_roll": false,
    "damage_roll": "",
    "damage_types": [],
    "duration": "1 minute",
    "shape_type": null,
    "shape_magnitude": null,
    "concentration": false,
    "document": "https://api-beta.open5e.com/v2/documents/srd/?format=api"
}