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

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

{
    "url": "https://api-beta.open5e.com/v2/spells/alarm/?format=api",
    "key": "alarm",
    "casting_options": [
        {
            "type": "default",
            "damage_roll": null,
            "target_count": null,
            "duration": null,
            "range": null
        },
        {
            "type": "ritual",
            "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": "Alarm",
    "desc": "You set an alarm against unwanted intrusion. Choose a door, a window, or an area within range that is no larger than a 20-foot cube. Until the spell ends, an alarm alerts you whenever a Tiny or larger creature touches or enters the warded area. \n\nWhen you cast the spell, you can designate creatures that won't set off the alarm. You also choose whether the alarm is mental or audible. A mental alarm alerts you with a ping in your mind if you are within 1 mile of the warded area. This ping awakens you if you are sleeping. An audible alarm produces the sound of a hand bell for 10 seconds within 60 feet.",
    "level": 1,
    "higher_level": "",
    "target_type": "area",
    "range": "30 feet",
    "ritual": true,
    "casting_time": "action",
    "verbal": true,
    "somatic": true,
    "material": true,
    "material_specified": "A tiny bell and a piece of fine silver wire.",
    "material_cost": null,
    "material_consumed": false,
    "target_count": 1,
    "saving_throw_ability": "",
    "attack_roll": false,
    "damage_roll": "",
    "damage_types": [],
    "duration": "8 hours",
    "shape_type": "cube",
    "shape_magnitude": 20,
    "concentration": false,
    "document": "https://api-beta.open5e.com/v2/documents/srd/?format=api"
}