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

GET /v2/spells/?format=api&ordering=-damage_roll&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=-damage_roll&page=39",
    "results": [
        {
            "url": "https://api-beta.open5e.com/v2/spells/a5e-ag_wish/?format=api",
            "document": {
                "name": "Adventurer's Guide",
                "key": "a5e-ag",
                "display_name": "Adventurer's Guide",
                "publisher": {
                    "name": "EN Publishing",
                    "key": "en-publishing",
                    "url": "https://api-beta.open5e.com/v2/publishers/en-publishing/?format=api"
                },
                "gamesystem": {
                    "name": "Advanced 5th Edition",
                    "key": "a5e",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/a5e/?format=api"
                },
                "permalink": "https://a5esrd.com/a5esrd"
            },
            "key": "a5e-ag_wish",
            "casting_options": [
                {
                    "type": "default",
                    "damage_roll": null,
                    "target_count": null,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                }
            ],
            "school": {
                "name": "Conjuration",
                "key": "conjuration",
                "url": "https://api-beta.open5e.com/v2/spellschools/conjuration/?format=api"
            },
            "classes": [],
            "range_unit": "feet",
            "shape_size_unit": "feet",
            "name": "Wish",
            "desc": "This is the mightiest of mortal magics and alters reality itself.\n\nThe safest use of this spell is the duplication of any other spell of 8th-level or lower without needing to meet its requirements (including components).\n\nYou may instead choose one of the following:\n\n* One nonmagical object of your choice that is worth up to 25, 000 gold and no more than 300 feet in any dimension appears in an unoccupied space you can see on the ground.\n* Up to 20 creatures that you can see to regain all their hit points, and each is further healed as per the greater restoration spell.\n* Up to 10 creatures that you can see gain resistance to a damage type you choose.\n* Up to 10 creatures you can see gain immunity to a single spell or other magical effect for 8 hours.\n* You force a reroll of any roll made within the last round (including your last turn). You can force the reroll to be made with advantage or disadvantage, and you can choose whether to use the reroll or the original roll.\n\nYou might be able to achieve something beyond the scope of the above examples. State your wish to the Narrator as precisely as possible, being very careful in your wording. Be aware that the greater the wish, the greater the chance for an unexpected result. This spell might simply fizzle, your desired outcome might only be partly achieved, or you might suffer some unforeseen consequence as a result of how you worded the wish. The Narrator has the final authority in ruling what occurs—and reality is not tampered with lightly.\n\n**_Multiple Wishes:_** The stress of casting this spell to produce any effect other than duplicating another spell weakens you. Until finishing a long rest, each time you cast a spell you take 1d10 necrotic damage per level of that spell. This damage can't be reduced or prevented. In addition, your Strength drops to 3 for 2d4 days (if it isn't 3 or lower already). For each of those days that you spend resting and doing nothing more than light activity, your remaining recovery time decreases by 2 days. Finally, there is a 33% chance that you are unable to cast wish ever again.",
            "level": 9,
            "higher_level": "",
            "target_type": "object",
            "range_text": "Self",
            "range": 0.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": 1,
            "saving_throw_ability": "",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "instantaneous",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        },
        {
            "url": "https://api-beta.open5e.com/v2/spells/a5e-ag_word-of-recall/?format=api",
            "document": {
                "name": "Adventurer's Guide",
                "key": "a5e-ag",
                "display_name": "Adventurer's Guide",
                "publisher": {
                    "name": "EN Publishing",
                    "key": "en-publishing",
                    "url": "https://api-beta.open5e.com/v2/publishers/en-publishing/?format=api"
                },
                "gamesystem": {
                    "name": "Advanced 5th Edition",
                    "key": "a5e",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/a5e/?format=api"
                },
                "permalink": "https://a5esrd.com/a5esrd"
            },
            "key": "a5e-ag_word-of-recall",
            "casting_options": [
                {
                    "type": "default",
                    "damage_roll": null,
                    "target_count": null,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                }
            ],
            "school": {
                "name": "Conjuration",
                "key": "conjuration",
                "url": "https://api-beta.open5e.com/v2/spellschools/conjuration/?format=api"
            },
            "classes": [],
            "range_unit": "feet",
            "shape_size_unit": "feet",
            "name": "Word of Recall",
            "desc": "The targets instantly teleport to a previously designated sanctuary, appearing in the nearest unoccupied space to the spot you designated when you prepared your sanctuary.\n\nYou must first designate a sanctuary by casting this spell within a location aligned with your faith, such as a temple dedicated to or strongly linked to your deity.",
            "level": 6,
            "higher_level": "",
            "target_type": "creature",
            "range_text": "5 feet",
            "range": 5.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": 5,
            "saving_throw_ability": "",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "instantaneous",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        },
        {
            "url": "https://api-beta.open5e.com/v2/spells/a5e-ag_wormway/?format=api",
            "document": {
                "name": "Adventurer's Guide",
                "key": "a5e-ag",
                "display_name": "Adventurer's Guide",
                "publisher": {
                    "name": "EN Publishing",
                    "key": "en-publishing",
                    "url": "https://api-beta.open5e.com/v2/publishers/en-publishing/?format=api"
                },
                "gamesystem": {
                    "name": "Advanced 5th Edition",
                    "key": "a5e",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/a5e/?format=api"
                },
                "permalink": "https://a5esrd.com/a5esrd"
            },
            "key": "a5e-ag_wormway",
            "casting_options": [
                {
                    "type": "default",
                    "damage_roll": null,
                    "target_count": null,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                },
                {
                    "type": "ritual",
                    "damage_roll": null,
                    "target_count": null,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                }
            ],
            "school": {
                "name": "Enchantment",
                "key": "enchantment",
                "url": "https://api-beta.open5e.com/v2/spellschools/enchantment/?format=api"
            },
            "classes": [],
            "range_unit": "miles",
            "shape_size_unit": "feet",
            "name": "Wormway",
            "desc": "You call a Gargantuan monstrosity from the depths of the world to carry you and your allies across great distances. When you cast this spell, the nearest purple worm within range is charmed by you and begins moving toward a point on the ground that you can see. If there are no purple worms within range, the spell fails. The earth rumbles slightly as it approaches and breaks through the surface. Any creatures within 20 feet of that point must make a Dexterity saving throw or be knocked prone and pushed 10 feet away from it.\n\nUpon emerging, the purple worm lays down before you and opens its maw. Targets can climb inside where they are enclosed in an impervious hemispherical dome of force.\n\nOnce targets are loaded into the purple worm, nothing—not physical objects, energy, or other spell effects —can pass through the barrier, in or out, though targets in the sphere can breathe there. The hemisphere is immune to all damage, and creatures and objects inside can't be damaged by attacks or effects originating from outside, nor can a target inside the hemisphere damage anything outside it.\n\nThe atmosphere inside the dome is comfortable and dry regardless of conditions outside it.\n\nThe purple worm waits until you give it a mental command to depart, at which point it dives back into the ground and travels, without need for rest or food, as directly as possible while avoiding obstacles to a destination known to you. It travels 150 miles per day.\n\nWhen the purple worm reaches its destination it surfaces, the dome vanishes, and it disgorges the targets in its mouth before diving back into the depths again.\n\nThe purple worm remains charmed by you until it has delivered you to your destination and returned to the depths, or until it is attacked at which point the charm ends, it vomits its targets in the nearest unoccupied space as soon as possible, and then retreats to safety.",
            "level": 6,
            "higher_level": "",
            "target_type": "point",
            "range_text": "150 miles",
            "range": 150.0,
            "ritual": true,
            "casting_time": "1minute",
            "reaction_condition": null,
            "verbal": true,
            "somatic": true,
            "material": false,
            "material_specified": "",
            "material_cost": null,
            "material_consumed": false,
            "target_count": 1,
            "saving_throw_ability": "dexterity",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "instantaneous",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        },
        {
            "url": "https://api-beta.open5e.com/v2/spells/a5e-ag_writhing-transformation/?format=api",
            "document": {
                "name": "Adventurer's Guide",
                "key": "a5e-ag",
                "display_name": "Adventurer's Guide",
                "publisher": {
                    "name": "EN Publishing",
                    "key": "en-publishing",
                    "url": "https://api-beta.open5e.com/v2/publishers/en-publishing/?format=api"
                },
                "gamesystem": {
                    "name": "Advanced 5th Edition",
                    "key": "a5e",
                    "url": "https://api-beta.open5e.com/v2/gamesystems/a5e/?format=api"
                },
                "permalink": "https://a5esrd.com/a5esrd"
            },
            "key": "a5e-ag_writhing-transformation",
            "casting_options": [
                {
                    "type": "default",
                    "damage_roll": null,
                    "target_count": null,
                    "duration": null,
                    "range": null,
                    "concentration": null,
                    "shape_size": null,
                    "desc": null
                },
                {
                    "type": "ritual",
                    "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": "Writhing Transformation",
            "desc": "As part of the casting of this spell, you lay down in the coffin on a patch of bare earth and it buries itself. Over the following week, you are incapacitated and do not need air, food, or sleep. Your insides are eaten by worms, but you do not die and your skin remains intact. If you are exhumed during this time, or if the spell is otherwise interrupted, you die.\n\nAt the end of the week, the transformation is complete and your true form is permanently changed. Your appearance is unchanged but underneath your skin is a sentient mass of worms. Any creature that makes a Medicine check against your spell save DC realizes that there is something moving underneath your skin.\n\nYour statistics change in the following ways:\n\n* Your type changes to aberration, and you do not age or require sleep.\n* You cannot be healed by normal means, but you can spend an action or bonus action to consume 2d6 live worms, regaining an equal amount of hit points by adding them to your body.\n* You can sense and telepathically control all worms that have the beast type and are within 60 feet of you.\n\nIn addition, you are able to discard your shell of skin and travel as a writhing mass of worms. As an action, you can abandon your skin and pour out onto the ground. In this form you have the statistics of **swarm of insects** with the following exceptions: you keep your hit points, Wisdom, Intelligence, and Charisma scores, and proficiencies. You know but cannot cast spells in this form. You also gain a burrow speed of 10 feet. Any worms touching you instantly join with your swarm, granting you a number of temporary hit points equal to the number of worms that join with your form (maximum 40 temporary hit points). These temporary hit points last until you are no longer in this form.\n\nIf you spend an hour in the same space as a dead creature of your original form's size, you can eat its insides and inhabit its skin in the same way you once inhabited your own. While you are in your swarm form, the most recent skin you inhabited remains intact and you can move back into a previously inhabited skin in 1 minute. You have advantage on checks made to impersonate a creature while wearing its skin.",
            "level": 9,
            "higher_level": "",
            "target_type": "creature",
            "range_text": "Self",
            "range": 0.0,
            "ritual": true,
            "casting_time": "1week",
            "reaction_condition": null,
            "verbal": true,
            "somatic": true,
            "material": true,
            "material_specified": "",
            "material_cost": null,
            "material_consumed": false,
            "target_count": 1,
            "saving_throw_ability": "",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "instantaneous",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        }
    ]
}