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

GET /v2/spells/?format=api&ordering=material_consumed&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=material_consumed&page=39",
    "results": [
        {
            "url": "https://api-beta.open5e.com/v2/spells/spells-that-dont-suck_seal-away/?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_seal-away",
            "casting_options": [],
            "school": {
                "name": "Abjuration",
                "key": "abjuration",
                "url": "https://api-beta.open5e.com/v2/spellschools/abjuration/?format=api"
            },
            "classes": [
                {
                    "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": "Seal Away",
            "desc": "You prepare a magical prison, trapping a creature you can see within range for eternity. The target must succeed on a Wisdom saving throw or be imprisoned. On a success, it is immune to this spell for 1 year. While imprisoned in this way, the target does not age, does not need to eat, breathe, or drink, and cannot be found by any divination magic. You select the form of the prison when you cast the spell. Common options would be a sealed demiplane, miniaturized within a gemstone, or trapped in a cavity deep below the ground.\n\nWhen you cast the spell, you must specify the condition by which the target can be freed. The condition can be as elaborate or as specific as you desire, but it must be reasonable and possible (your GM must approve the condition). The condition can involve a creature’s name, identity, or characteristics, but not game concepts such as level, class, or hit points. _Dispel magic_ cannot free the target. If the condition comes to pass, the target is instantly freed.",
            "level": 8,
            "higher_level": "",
            "target_type": "creature",
            "range_text": "30 ft",
            "range": 30.0,
            "ritual": false,
            "casting_time": "minute",
            "reaction_condition": null,
            "verbal": true,
            "somatic": true,
            "material": true,
            "material_specified": "a sculpted or painted likeness of the target, and black emeralds worth at least 200gp per Hit Die of the target, which are consumed",
            "material_cost": "200.00",
            "material_consumed": true,
            "target_count": 1,
            "saving_throw_ability": "wisdom",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "permanent",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        },
        {
            "url": "https://api-beta.open5e.com/v2/spells/spells-that-dont-suck_secret-missive/?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_secret-missive",
            "casting_options": [],
            "school": {
                "name": "Illusion",
                "key": "illusion",
                "url": "https://api-beta.open5e.com/v2/spellschools/illusion/?format=api"
            },
            "classes": [
                {
                    "name": "Bard",
                    "key": "srd_bard",
                    "url": "https://api-beta.open5e.com/v2/classes/srd_bard/?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": "feet",
            "shape_size_unit": "feet",
            "name": "Secret Missive",
            "desc": "You pen a secret message on a parchment, paper, or other writing material. When you write the message, choose a password or passphrase; when a creature speaks this code while holding the parchment, the secret message appears for 10 minutes before fading again. Alternatively, you can specify a creature. The message automatically appears when it holds the parchment. You can write any other text on the parchment, which becomes invisible anytime the secret message is displayed. When the spell ends, the secret message disappears forever.\n\nCreatures with truesight can see the secret message. A _dispel magic_ cast on the parchment ends the spell without revealing the secret message.\n\nThe spell’s duration is related to the quality of ink used. Magical ink worth 10 gp gives it a duration of 10 days. More expensive ink lasts an additional day for each 1 gp spent; if 100 gp worth of magical ink is used, the duration becomes permanent.",
            "level": 1,
            "higher_level": "",
            "target_type": "object",
            "range_text": "Touch",
            "range": 0.1,
            "ritual": true,
            "casting_time": "minute",
            "reaction_condition": null,
            "verbal": false,
            "somatic": true,
            "material": true,
            "material_specified": "A lead-based ink worth at least 10gp, which the spell consumes",
            "material_cost": "10.00",
            "material_consumed": true,
            "target_count": 1,
            "saving_throw_ability": "",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "10 days",
            "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/spells-that-dont-suck_unearth-legend/?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_unearth-legend",
            "casting_options": [],
            "school": {
                "name": "Divination",
                "key": "divination",
                "url": "https://api-beta.open5e.com/v2/spellschools/divination/?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": "Unearth Legend",
            "desc": "You contact an otherworldly entity, offering it the gems used in the spell’s casting in exchange for the history of a person, place, or object. The entity tells you everything it knows about the subject (typically well-known lore or widely-told stories).\n\nAfter it is contacted, the entity researches the subject for up to seven days. Its discoveries appear as writing in the jeweled notebook. It might learn obscure myths, forgotten legends, or even lost secrets. The more information you possess when you cast the spell, the faster and more detailed the results will be. The entity may not understand the information it finds, and so might impart unsolved riddles, confusing poems, or other puzzling communications. Once the entity has conveyed everything it can discover, the spell ends.",
            "level": 5,
            "higher_level": "",
            "target_type": "creature",
            "range_text": "Self",
            "range": 0.0,
            "ritual": true,
            "casting_time": "minute",
            "reaction_condition": null,
            "verbal": true,
            "somatic": true,
            "material": true,
            "material_specified": "rare gems worth at least 250 gp, which the spell consumes, and a jeweled notebook worth at least 200 gp",
            "material_cost": "250.00",
            "material_consumed": true,
            "target_count": 1,
            "saving_throw_ability": "",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "7 days",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        }
    ]
}