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

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

{
    "url": "https://api-beta.open5e.com/v2/races/gnome-heritage/?format=api",
    "key": "gnome-heritage",
    "is_subrace": true,
    "subraces": [],
    "traits": [
        {
            "name": "Ability Score Increase",
            "desc": "Your Intelligence score increases by 2."
        },
        {
            "name": "Magical Hunger",
            "desc": "When a creature you can see within 30 feet of you casts a spell, you can use your reaction to consume the spell's residual magic. Your consumption doesn't counter or otherwise affect the spell or the spellcaster. When you consume this residual magic, you gain temporary hit points (minimum of 1) equal to your Constitution modifier, and you can't use this trait again until you finish a short or long rest."
        }
    ],
    "name": "Gnome Heritage",
    "desc": "Your darakhul character was a gnome before transforming into a darakhul. The spark of magic that drove you before your transformation still burns inside of you, but now it is a constant ache instead of a source of creation and inspiration. This ache is twisted by your hunger, making you hunger for magic itself.",
    "document": "https://api-beta.open5e.com/v2/documents/toh/?format=api",
    "subrace_of": "https://api-beta.open5e.com/v2/races/darakhul/?format=api"
}