list: API endpoint for returning a list of races. retrieve: API endpoint for returning a particular race.

GET /v2/races/halfling-heritage/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://api-beta.open5e.com/v2/races/halfling-heritage/?format=api",
    "key": "halfling-heritage",
    "is_subrace": true,
    "subraces": [],
    "traits": [
        {
            "name": "Ability Score Increase",
            "desc": "Your Dexterity score increases by 2."
        },
        {
            "name": "Ill Fortune",
            "desc": "Your uncanny halfling luck has taken a dark turn since your conversion to an undead creature. When a creature rolls a 20 on the d20 for an attack roll against you, the creature must reroll the attack and use the new roll. If the second attack roll misses you, the attacking creature takes necrotic damage equal to twice your Constitution modifier (minimum of 2)."
        }
    ],
    "name": "Halfling Heritage",
    "desc": "Your darakhul character was a halfling before transforming into a darakhul. Everything you loved as a halfling—food, drink, exploration, adventure— still drives you in your undead form; it is simply a more ghoulish form of those pleasures now: raw flesh instead of stew, warm blood instead of cold mead. You still want to explore the dark corners of the world, but now you seek something different.",
    "document": "https://api-beta.open5e.com/v2/documents/toh/?format=api",
    "subrace_of": "https://api-beta.open5e.com/v2/races/darakhul/?format=api"
}