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

GET /v2/spells/srd-2024_detect-evil-and-good/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://api-beta.open5e.com/v2/spells/srd-2024_detect-evil-and-good/?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_detect-evil-and-good",
    "casting_options": [],
    "school": {
        "name": "Divination",
        "key": "divination",
        "url": "https://api-beta.open5e.com/v2/spellschools/divination/?format=api"
    },
    "classes": [
        {
            "name": "Cleric",
            "key": "srd-2024_cleric",
            "url": "https://api-beta.open5e.com/v2/classes/srd-2024_cleric/?format=api"
        },
        {
            "name": "Paladin",
            "key": "srd-2024_paladin",
            "url": "https://api-beta.open5e.com/v2/classes/srd-2024_paladin/?format=api"
        }
    ],
    "range_unit": "feet",
    "shape_size_unit": "feet",
    "name": "Detect Evil and Good",
    "desc": "For the duration, you sense the location of any Aberration, Celestial, Elemental, Fey, Fiend, or Undead within 30 feet of yourself. You also sense whether the Hallow spell is active there and, if so, where. The spell is blocked by 1 foot of stone, dirt, or wood; 1 inch of metal; or a thin sheet of lead.",
    "level": 1,
    "higher_level": "",
    "target_type": "creature",
    "range_text": "Self",
    "range": 0.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": 1,
    "saving_throw_ability": "",
    "attack_roll": false,
    "damage_roll": "",
    "damage_types": [],
    "duration": "10 minute",
    "shape_type": null,
    "shape_size": null,
    "concentration": true
}