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

GET /v2/spells/?format=api&ordering=-duration&page=40
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 1954,
    "next": null,
    "previous": "https://api-beta.open5e.com/v2/spells/?format=api&ordering=-duration&page=39",
    "results": [
        {
            "url": "https://api-beta.open5e.com/v2/spells/spells-that-dont-suck_manipulate-earth/?format=api",
            "document": {
                "name": "Spells That Don't Suck",
                "key": "spells-that-dont-suck",
                "display_name": "Spells That Don't Suck",
                "publisher": {
                    "name": "Somanyrobots",
                    "key": "somanyrobots",
                    "url": "https://api-beta.open5e.com/v2/publishers/somanyrobots/?format=api"
                },
                "gamesystem": {
                    "name": "5th Edition 2014",
                    "key": "5e-2014",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2014/?format=api"
                },
                "permalink": "https://www.somanyrobots.com/s/Spells-That-Dont-Suck-compressed.pdf"
            },
            "key": "spells-that-dont-suck_manipulate-earth",
            "casting_options": [],
            "school": {
                "name": "Transmutation",
                "key": "transmutation",
                "url": "https://api-beta.open5e.com/v2/spellschools/transmutation/?format=api"
            },
            "classes": [
                {
                    "name": "Druid",
                    "key": "srd_druid",
                    "url": "https://api-beta.open5e.com/v2/classes/srd_druid/?format=api"
                },
                {
                    "name": "Sorcerer",
                    "key": "srd_sorcerer",
                    "url": "https://api-beta.open5e.com/v2/classes/srd_sorcerer/?format=api"
                },
                {
                    "name": "Warlock",
                    "key": "srd_warlock",
                    "url": "https://api-beta.open5e.com/v2/classes/srd_warlock/?format=api"
                },
                {
                    "name": "Wizard",
                    "key": "srd_wizard",
                    "url": "https://api-beta.open5e.com/v2/classes/srd_wizard/?format=api"
                }
            ],
            "range_unit": "ft",
            "shape_size_unit": "feet",
            "name": "Manipulate Earth",
            "desc": "You mold earth you can see within range, causing it to twist and buckle to your command. Select one of the following effects:\n\n -  You can excavate a 5-foot cube of loose dirt or soil and move it along the ground to another unoccupied space within 5 feet.\n\n -  You can make minor alterations to dirt or stone, such as changing its color or carving small, simple shapes.\n\n -  You can turn a 5-foot square of earth or stone into difficult terrain for 1 hour. You can create up to three patches of difficult terrain this way; if you create additional patches, the first one you created returns to normal terrain.",
            "level": 0,
            "higher_level": "",
            "target_type": "",
            "range_text": "30 ft",
            "range": 30.0,
            "ritual": false,
            "casting_time": "action",
            "reaction_condition": null,
            "verbal": true,
            "somatic": true,
            "material": false,
            "material_specified": "",
            "material_cost": null,
            "material_consumed": false,
            "target_count": null,
            "saving_throw_ability": "",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": " specs",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        },
        {
            "url": "https://api-beta.open5e.com/v2/spells/spells-that-dont-suck_power-word-nap/?format=api",
            "document": {
                "name": "Spells That Don't Suck",
                "key": "spells-that-dont-suck",
                "display_name": "Spells That Don't Suck",
                "publisher": {
                    "name": "Somanyrobots",
                    "key": "somanyrobots",
                    "url": "https://api-beta.open5e.com/v2/publishers/somanyrobots/?format=api"
                },
                "gamesystem": {
                    "name": "5th Edition 2014",
                    "key": "5e-2014",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2014/?format=api"
                },
                "permalink": "https://www.somanyrobots.com/s/Spells-That-Dont-Suck-compressed.pdf"
            },
            "key": "spells-that-dont-suck_power-word-nap",
            "casting_options": [],
            "school": {
                "name": "Enchantment",
                "key": "enchantment",
                "url": "https://api-beta.open5e.com/v2/spellschools/enchantment/?format=api"
            },
            "classes": [
                {
                    "name": "Bard",
                    "key": "srd_bard",
                    "url": "https://api-beta.open5e.com/v2/classes/srd_bard/?format=api"
                },
                {
                    "name": "Sorcerer",
                    "key": "srd_sorcerer",
                    "url": "https://api-beta.open5e.com/v2/classes/srd_sorcerer/?format=api"
                },
                {
                    "name": "Wizard",
                    "key": "srd_wizard",
                    "url": "https://api-beta.open5e.com/v2/classes/srd_wizard/?format=api"
                }
            ],
            "range_unit": "ft",
            "shape_size_unit": "feet",
            "name": "Power Word Nap",
            "desc": "You command up to three willing prone creatures of your choice that you can see within range to sleep. The spell ends for a target if it wakes up, such as through damage or being shaken awake as an action. If a target remains unconscious for the full duration, that target gains the benefit of a short rest, and it can’t benefit from this spell again until it finishes a long rest. The spell’s duration is one-fifth the time normally required for a short rest (for example, 12 minutes for a one-hour rest).",
            "level": 3,
            "higher_level": "When you cast this spell using a spell slot of 4th level or higher, you can target one additional willing creature for each slot level above 3rd.",
            "target_type": "creature",
            "range_text": "3 ft",
            "range": 3.0,
            "ritual": false,
            "casting_time": "action",
            "reaction_condition": null,
            "verbal": true,
            "somatic": false,
            "material": false,
            "material_specified": "",
            "material_cost": null,
            "material_consumed": false,
            "target_count": 3,
            "saving_throw_ability": "",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": " specs",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        },
        {
            "url": "https://api-beta.open5e.com/v2/spells/spells-that-dont-suck_spell-glyph/?format=api",
            "document": {
                "name": "Spells That Don't Suck",
                "key": "spells-that-dont-suck",
                "display_name": "Spells That Don't Suck",
                "publisher": {
                    "name": "Somanyrobots",
                    "key": "somanyrobots",
                    "url": "https://api-beta.open5e.com/v2/publishers/somanyrobots/?format=api"
                },
                "gamesystem": {
                    "name": "5th Edition 2014",
                    "key": "5e-2014",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2014/?format=api"
                },
                "permalink": "https://www.somanyrobots.com/s/Spells-That-Dont-Suck-compressed.pdf"
            },
            "key": "spells-that-dont-suck_spell-glyph",
            "casting_options": [],
            "school": {
                "name": "Abjuration",
                "key": "abjuration",
                "url": "https://api-beta.open5e.com/v2/spellschools/abjuration/?format=api"
            },
            "classes": [
                {
                    "name": "Bard",
                    "key": "srd_bard",
                    "url": "https://api-beta.open5e.com/v2/classes/srd_bard/?format=api"
                },
                {
                    "name": "Cleric",
                    "key": "srd_cleric",
                    "url": "https://api-beta.open5e.com/v2/classes/srd_cleric/?format=api"
                },
                {
                    "name": "Wizard",
                    "key": "srd_wizard",
                    "url": "https://api-beta.open5e.com/v2/classes/srd_wizard/?format=api"
                }
            ],
            "range_unit": "feet",
            "shape_size_unit": "feet",
            "name": "Spell Glyph",
            "desc": "When you cast this spell, you mark a fixed surface with an arcane inscription, occupying a 5-foot diameter circle. When a creature enters the glyph’s space or otherwise disturbs it, the glyph triggers.\n\nYou can refine the trigger by specifying or exempting creatures or creature types, or by specifying a password a creature can speak as a reaction to prevent the glyph from triggering.\n\nThe glyph is nearly invisible and requires a successful Intelligence (Investigation) check against your spell save DC to be found. A creature has advantage on this check if it is able to perceive magical effects, such as by casting detect magic. If a creature uses its action to destroy the glyph, or the surface is destroyed, the spell ends without triggering.\n\nAs part of the casting, you must cast another prepared spell of 3rd level or lower, storing it in the glyph. The spell must have a casting time of 1 action and must be able to target a creature other than the caster. When the glyph triggers, it releases the stored spell, targeting the triggering creature. If the spell targets an area or summons creatures, the effect is centered on the triggering creature. A spell requiring concentration lasts for its full duration. A triggered glyph glows brightly for the stored spell’s full duration. If a creature uses its action to destroy the triggered glyph, or the surface is destroyed, the spell ends.",
            "level": 3,
            "higher_level": "When you cast this spell using a spell slot of 4th level or higher, the stored spell’s maximum level increases by 1 and the material component cost increases by 50 gp for each slot level above 3rd.",
            "target_type": "area",
            "range_text": "Touch",
            "range": 0.1,
            "ritual": false,
            "casting_time": "minute",
            "reaction_condition": null,
            "verbal": true,
            "somatic": true,
            "material": true,
            "material_specified": "silver powder worth at least 100gp, which the spell consumes",
            "material_cost": "100.00",
            "material_consumed": true,
            "target_count": 1,
            "saving_throw_ability": "dexterity",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": " dstrs",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        },
        {
            "url": "https://api-beta.open5e.com/v2/spells/srd-2024_forcecage/?format=api",
            "document": {
                "name": "System Reference Document 5.2",
                "key": "srd-2024",
                "display_name": "5e 2024 Rules",
                "publisher": {
                    "name": "Wizards of the Coast",
                    "key": "wizards-of-the-coast",
                    "url": "https://api-beta.open5e.com/v2/publishers/wizards-of-the-coast/?format=api"
                },
                "gamesystem": {
                    "name": "5th Edition 2024",
                    "key": "5e-2024",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2024/?format=api"
                },
                "permalink": "https://dnd.wizards.com/resources/systems-reference-document"
            },
            "key": "srd-2024_forcecage",
            "casting_options": [],
            "school": {
                "name": "Evocation",
                "key": "evocation",
                "url": "https://api-beta.open5e.com/v2/spellschools/evocation/?format=api"
            },
            "classes": [
                {
                    "name": "Bard",
                    "key": "srd-2024_bard",
                    "url": "https://api-beta.open5e.com/v2/classes/srd-2024_bard/?format=api"
                },
                {
                    "name": "Warlock",
                    "key": "srd-2024_warlock",
                    "url": "https://api-beta.open5e.com/v2/classes/srd-2024_warlock/?format=api"
                },
                {
                    "name": "Wizard",
                    "key": "srd-2024_wizard",
                    "url": "https://api-beta.open5e.com/v2/classes/srd-2024_wizard/?format=api"
                }
            ],
            "range_unit": "feet",
            "shape_size_unit": "feet",
            "name": "Forcecage",
            "desc": "",
            "level": 7,
            "higher_level": "",
            "target_type": "creature",
            "range_text": "",
            "range": 0.0,
            "ritual": false,
            "casting_time": "hour",
            "reaction_condition": null,
            "verbal": false,
            "somatic": false,
            "material": false,
            "material_specified": "",
            "material_cost": null,
            "material_consumed": false,
            "target_count": 1,
            "saving_throw_ability": "",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        }
    ]
}