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": 1955,
    "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/srd_symbol/?format=api",
            "document": {
                "name": "System Reference Document 5.1",
                "key": "srd-2014",
                "type": "SOURCE",
                "display_name": "5e 2014 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 2014",
                    "key": "5e-2014",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2014/?format=api"
                },
                "permalink": "https://dnd.wizards.com/resources/systems-reference-document"
            },
            "key": "srd_symbol",
            "casting_options": [
                {
                    "type": "default",
                    "damage_roll": null,
                    "target_count": null,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                }
            ],
            "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": "Symbol",
            "desc": "When you cast this spell, you inscribe a harmful glyph either on a surface (such as a section of floor, a wall, or a table) or within an object that can be closed to conceal the glyph (such as a book, a scroll, or a treasure chest). If you choose a surface, the glyph can cover an area of the surface no larger than 10 feet in diameter. If you choose an object, that object must remain in its place; if the object is moved more than 10 feet from where you cast this spell, the glyph is broken, and the spell ends without being triggered. The glyph is nearly invisible, requiring an Intelligence (Investigation) check against your spell save DC to find it. You decide what triggers the glyph when you cast the spell. For glyphs inscribed on a surface, the most typical triggers include touching or stepping on the glyph, removing another object covering it, approaching within a certain distance of it, or manipulating the object that holds it. For glyphs inscribed within an object, the most common triggers are opening the object, approaching within a certain distance of it, or seeing or reading the glyph. You can further refine the trigger so the spell is activated only under certain circumstances or according to a creature's physical characteristics (such as height or weight), or physical kind (for example, the ward could be set to affect hags or shapechangers). You can also specify creatures that don't trigger the glyph, such as those who say a certain password. When you inscribe the glyph, choose one of the options below for its effect. Once triggered, the glyph glows, filling a 60-foot-radius sphere with dim light for 10 minutes, after which time the spell ends. Each creature in the sphere when the glyph activates is targeted by its effect, as is a creature that enters the sphere for the first time on a turn or ends its turn there.\n\n**Death.** Each target must make a constitution saving throw, taking 10d 10 necrotic damage on a failed save, or half as much damage on a successful save\n\n **Discord.** Each target must make a constitution saving throw. On a failed save, a target bickers and argues with other creatures for 1 minute. During this time, it is incapable of meaningful communication and has disadvantage on attack rolls and ability checks.\n\n**Fear.** Each target must make a wisdom saving throw and becomes frightened for 1 minute on a failed save. While frightened, the target drops whatever it is holding and must move at least 30 feet away from the glyph on each of its turns, if able.\n\n**Hopelessness.** Each target must make a charisma saving throw. On a failed save, the target is overwhelmed with despair for 1 minute. During this time, it can't attack or target any creature with harmful abilities, spells, or other magical effects.\n\n**Insanity.** Each target must make an intelligence saving throw. On a failed save, the target is driven insane for 1 minute. An insane creature can't take actions, can't understand what other creatures say, can't read, and speaks only in gibberish. The DM controls its movement, which is erratic.\n\n**Pain.** Each target must make a constitution saving throw and becomes incapacitated with excruciating pain for 1 minute on a failed save.\n\n**Sleep.** Each target must make a wisdom saving throw and falls unconscious for 10 minutes on a failed save. A creature awakens if it takes damage or if someone uses an action to shake or slap it awake.\n\n**Stunning.** Each target must make a wisdom saving throw and becomes stunned for 1 minute on a failed save.",
            "level": 7,
            "higher_level": "",
            "target_type": "object",
            "range_text": "Touch",
            "range": 0,
            "ritual": false,
            "casting_time": "1minute",
            "reaction_condition": null,
            "verbal": true,
            "somatic": true,
            "material": true,
            "material_specified": "Mercury, phosphorus, and powdered diamond and opal with a total value of at least 1,000 gp, which the spell consumes.",
            "material_cost": null,
            "material_consumed": false,
            "target_count": 1,
            "saving_throw_ability": "intelligence",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "until dispelled or triggered",
            "shape_type": "sphere",
            "shape_size": 60,
            "concentration": false
        },
        {
            "url": "https://api-beta.open5e.com/v2/spells/toh_iron-gut/?format=api",
            "document": {
                "name": "Tome of Heroes",
                "key": "toh",
                "type": "SOURCE",
                "display_name": "Tome of Heroes",
                "publisher": {
                    "name": "Kobold Press",
                    "key": "kobold-press",
                    "url": "https://api-beta.open5e.com/v2/publishers/kobold-press/?format=api"
                },
                "gamesystem": {
                    "name": "5th Edition 2014",
                    "key": "5e-2014",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2014/?format=api"
                },
                "permalink": "https://koboldpress.com/kpstore/product/tome-of-heroes-for-5th-edition/"
            },
            "key": "toh_iron-gut",
            "casting_options": [
                {
                    "type": "default",
                    "damage_roll": null,
                    "target_count": null,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                },
                {
                    "type": "slot_level_4",
                    "damage_roll": null,
                    "target_count": 2,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                },
                {
                    "type": "slot_level_5",
                    "damage_roll": null,
                    "target_count": 3,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                },
                {
                    "type": "slot_level_6",
                    "damage_roll": null,
                    "target_count": 4,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                },
                {
                    "type": "slot_level_7",
                    "damage_roll": null,
                    "target_count": 5,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                },
                {
                    "type": "slot_level_8",
                    "damage_roll": null,
                    "target_count": 6,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                },
                {
                    "type": "slot_level_9",
                    "damage_roll": null,
                    "target_count": 7,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                }
            ],
            "school": {
                "name": "Transmutation",
                "key": "transmutation",
                "url": "https://api-beta.open5e.com/v2/spellschools/transmutation/?format=api"
            },
            "classes": [],
            "range_unit": "feet",
            "shape_size_unit": "feet",
            "name": "Iron Gut",
            "desc": "For the duration, one willing creature you touch has resistance to poison damage and advantage on saving throws against poison. When the affected creature makes a Constitution saving throw against an effect that deals poison damage or that would cause the creature to become poisoned, the creature can choose to succeed on the saving throw. If it does so, the spell ends on the creature.\n  While affected by this spell, a creature can't gain any benefit from consuming magical foodstuffs, such as those produced by the goodberry and heroes' feast spells, and it doesn't suffer ill effects from consuming potentially harmful, nonmagical foodstuffs, such as spoiled food or non-potable water. The creature is affected normally by other consumable magic items, such as potions. The creature can identify poisoned food by a sour taste, with deadlier poisons tasting more sour.",
            "level": 3,
            "higher_level": "When you cast this spell using a spell slot of 4th level or higher, you can target one additional creature for each slot level above 3rd.",
            "target_type": "creature",
            "range_text": "Touch",
            "range": 0,
            "ritual": false,
            "casting_time": "action",
            "reaction_condition": null,
            "verbal": true,
            "somatic": true,
            "material": true,
            "material_specified": "",
            "material_cost": null,
            "material_consumed": false,
            "target_count": 1,
            "saving_throw_ability": "constitution",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "up to 1 hour",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        },
        {
            "url": "https://api-beta.open5e.com/v2/spells/wz_mind-maze/?format=api",
            "document": {
                "name": "Warlock Zine",
                "key": "wz",
                "type": "SOURCE",
                "display_name": "Warlock Zine",
                "publisher": {
                    "name": "Kobold Press",
                    "key": "kobold-press",
                    "url": "https://api-beta.open5e.com/v2/publishers/kobold-press/?format=api"
                },
                "gamesystem": {
                    "name": "5th Edition 2014",
                    "key": "5e-2014",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2014/?format=api"
                },
                "permalink": "https://koboldpress.com/kpstore/product-category/all-products/warlock-5th-edition-dnd/"
            },
            "key": "wz_mind-maze",
            "casting_options": [
                {
                    "type": "default",
                    "damage_roll": null,
                    "target_count": null,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                }
            ],
            "school": {
                "name": "Evocation",
                "key": "evocation",
                "url": "https://api-beta.open5e.com/v2/spellschools/evocation/?format=api"
            },
            "classes": [],
            "range_unit": "feet",
            "shape_size_unit": "feet",
            "name": "Mind Maze",
            "desc": "Choose a creature you can see within range. It must succeed on an Intelligence saving throw or be mentally trapped in an imagined maze of mirrors for the duration. While trapped in this way, the creature is incapacitated, but it imagines itself alone and wandering through the maze. Externally, it appears dazed as it turns in place and reaches out at nonexistent barriers. Each time the target takes damage, it makes another Intelligence saving throw. On a success, the spell ends.",
            "level": 6,
            "higher_level": "",
            "target_type": "creature",
            "range_text": "60 feet",
            "range": 60,
            "ritual": false,
            "casting_time": "action",
            "reaction_condition": null,
            "verbal": true,
            "somatic": true,
            "material": true,
            "material_specified": "",
            "material_cost": null,
            "material_consumed": false,
            "target_count": 1,
            "saving_throw_ability": "intelligence",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "up to 1 minute",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        },
        {
            "url": "https://api-beta.open5e.com/v2/spells/toh_stone-aegis/?format=api",
            "document": {
                "name": "Tome of Heroes",
                "key": "toh",
                "type": "SOURCE",
                "display_name": "Tome of Heroes",
                "publisher": {
                    "name": "Kobold Press",
                    "key": "kobold-press",
                    "url": "https://api-beta.open5e.com/v2/publishers/kobold-press/?format=api"
                },
                "gamesystem": {
                    "name": "5th Edition 2014",
                    "key": "5e-2014",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2014/?format=api"
                },
                "permalink": "https://koboldpress.com/kpstore/product/tome-of-heroes-for-5th-edition/"
            },
            "key": "toh_stone-aegis",
            "casting_options": [
                {
                    "type": "default",
                    "damage_roll": null,
                    "target_count": null,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                }
            ],
            "school": {
                "name": "Transmutation",
                "key": "transmutation",
                "url": "https://api-beta.open5e.com/v2/spellschools/transmutation/?format=api"
            },
            "classes": [],
            "range_unit": "feet",
            "shape_size_unit": "feet",
            "name": "Stone Aegis",
            "desc": "A rocky coating covers your body, protecting you. Until the start of your next turn, you gain 5 temporary hit points and a +2 bonus to Armor Class, including against the triggering attack.\n  At the start of each of your subsequent turns, you can use a bonus action to extend the duration of the AC bonus until the start of your following turn, for up to 1 minute.",
            "level": 1,
            "higher_level": "",
            "target_type": "point",
            "range_text": "Self",
            "range": 0,
            "ritual": false,
            "casting_time": "reaction",
            "reaction_condition": "which you take when you are hit by an attack",
            "verbal": true,
            "somatic": true,
            "material": false,
            "material_specified": "",
            "material_cost": null,
            "material_consumed": false,
            "target_count": 1,
            "saving_throw_ability": "",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "up to 1 minute",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        },
        {
            "url": "https://api-beta.open5e.com/v2/spells/deepm_moon-trap/?format=api",
            "document": {
                "name": "Deep Magic for 5th Edition",
                "key": "deepm",
                "type": "SOURCE",
                "display_name": "Deep Magic for 5th Edition",
                "publisher": {
                    "name": "Kobold Press",
                    "key": "kobold-press",
                    "url": "https://api-beta.open5e.com/v2/publishers/kobold-press/?format=api"
                },
                "gamesystem": {
                    "name": "5th Edition 2014",
                    "key": "5e-2014",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2014/?format=api"
                },
                "permalink": "https://koboldpress.com/kpstore/product/deep-magic-for-5th-edition-hardcover/"
            },
            "key": "deepm_moon-trap",
            "casting_options": [
                {
                    "type": "default",
                    "damage_roll": null,
                    "target_count": null,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                }
            ],
            "school": {
                "name": "Abjuration",
                "key": "abjuration",
                "url": "https://api-beta.open5e.com/v2/spellschools/abjuration/?format=api"
            },
            "classes": [],
            "range_unit": "feet",
            "shape_size_unit": "feet",
            "name": "Moon Trap",
            "desc": "While casting this spell under the light of the moon, you inscribe a glyph that covers a 10-foot-square area on a flat, stationary surface such as a floor or a wall. Once the spell is complete, the glyph is invisible in moonlight but glows with a faint white light in darkness.\n\nAny creature that touches the glyph, except those you designate during the casting of the spell, must make a successful Wisdom saving throw or be drawn into an inescapable maze until the sun rises.\n\nThe glyph lasts until the next sunrise, at which time it flares with bright light, and any creature trapped inside returns to the space it last occupied, unharmed. If that space has become occupied or dangerous, the creature appears in the nearest safe unoccupied space.",
            "level": 4,
            "higher_level": "",
            "target_type": "area",
            "range_text": "Self",
            "range": 0,
            "ritual": false,
            "casting_time": "1hour",
            "reaction_condition": null,
            "verbal": true,
            "somatic": true,
            "material": true,
            "material_specified": "powdered silver worth 250 gp",
            "material_cost": null,
            "material_consumed": false,
            "target_count": 1,
            "saving_throw_ability": "wisdom",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "up to 8 hours",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        }
    ]
}