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

GET /v2/spells/?format=api&ordering=-range&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=-range&page=39",
    "results": [
        {
            "url": "https://api-beta.open5e.com/v2/spells/a5e-ag_wind-up/?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_wind-up",
            "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": "Wind Up",
            "desc": "You wind your power up like a spring. You gain advantage on the next melee attack roll you make before the end of the spell's duration, after which the spell ends.",
            "level": 1,
            "higher_level": "",
            "target_type": "creature",
            "range_text": "Self",
            "range": 0.0,
            "ritual": false,
            "casting_time": "action",
            "reaction_condition": null,
            "verbal": false,
            "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": "8 hours",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        },
        {
            "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_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
        },
        {
            "url": "https://api-beta.open5e.com/v2/spells/spells-that-dont-suck_mind-link/?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_mind-link",
            "casting_options": [],
            "school": {
                "name": "Enchantment",
                "key": "enchantment",
                "url": "https://api-beta.open5e.com/v2/spellschools/enchantment/?format=api"
            },
            "classes": [
                {
                    "name": "Wizard",
                    "key": "srd_wizard",
                    "url": "https://api-beta.open5e.com/v2/classes/srd_wizard/?format=api"
                }
            ],
            "range_unit": "any",
            "shape_size_unit": "feet",
            "name": "Mind Link",
            "desc": "You form a mental connection with another creature. The target must make a Wisdom saving throw modified by its location and your familiarity. The target is aware of the contact and can choose to fail its saving throw.\n\n| Circumstances | Save Modifier |\n| --- | --- |\n| On a different plane | +10 |\n| Secondhand (you know of the target) | +5 |\n| Firsthand (you have met the target) | 0 |\n| Familiar (you know the target well) | -5 |\n| Within sight or hearing | -5 |\n\nOn a failure, you and the target can communicate via the link, and the target recognizes you as a creature it is communicating with. Additionally, you can cast any divination or illusion spell of 4th level or lower that targets a creature on the creature you have linked to, regardless of the spell’s range requirement, such as detect thoughts or major image, but the spell only affects that creature. Finally, you can use your action to use its senses instead of your own until the start of your next turn.\n\nIf you cast a spell in this manner, the target may repeat its saving throw against this spell at the end of each of its turns.",
            "level": 8,
            "higher_level": "",
            "target_type": "creature",
            "range_text": " anys",
            "range": null,
            "ritual": false,
            "casting_time": "action",
            "reaction_condition": null,
            "verbal": true,
            "somatic": true,
            "material": true,
            "material_specified": "a piece of sea coral and a spiderweb",
            "material_cost": "0.00",
            "material_consumed": false,
            "target_count": 1,
            "saving_throw_ability": "wisdom",
            "attack_roll": false,
            "damage_roll": "",
            "damage_types": [],
            "duration": "24 hours",
            "shape_type": null,
            "shape_size": null,
            "concentration": false
        }
    ]
}