syncing market data_
# Introduction Welcome to the dnd5eapi, the Dungeons & Dragons 5th Edition API! This documentation should help you familiarize yourself with the resources available and how to consume them with HTTP requests. Read through the getting start
# Introduction
Welcome to the dnd5eapi, the Dungeons & Dragons 5th Edition API!
This documentation should help you familiarize yourself with the resources
available and how to consume them with HTTP requests. Read through the getting
started section before you dive in. Most of your problems should be solved
just by reading through it.
## Getting Started
Let's make our first API request to the D&D 5th Edition API!
Open up a terminal and use [curl](http://curl.haxx.se/) or [httpie](http://httpie.org/)
to make an API request for a resource. You can also scroll through the
definitions below and send requests directly from the endpoint documentation!
For example, if you paste and run this `curl` command:
```bash
curl -X GET "https://www.dnd5eapi.co/api/ability-scores/cha" -H "Accept: application/json"
```
We should see a result containing details about the Charisma ability score:
```bash
{
"index": "cha",
"name": "CHA",
"full_name": "Charisma",
"desc": [
"Charisma measures your ability to interact effectively with others. It
includes such factors as confidence and eloquence, and it can represent
a charming or commanding personality.",
"A Charisma check No score data yet
| Method | Path | Summary | Price |
|---|---|---|---|
| GET | /api/damage-types/{index} | Get a damage type by index. | 1c |
| GET | /api | Get all resource URLs. | 1c |
| GET | /api/ability-scores/{index} | Get an ability score by index. | 1c |
| GET | /api/alignments/{index} | Get an alignment by index. | 1c |
| GET | /api/backgrounds/{index} | Get a background by index. | 1c |
| GET | /api/classes/{index} | Get a class by index. | 1c |
| GET | /api/classes/{index}/features | Get features available for a class. | 1c |
| GET | /api/classes/{index}/levels | Get all level resources for a class. | 1c |
| GET | /api/classes/{index}/levels/{class_level} | Get level resource for a class and level. | 1c |
| GET | /api/classes/{index}/levels/{class_level}/features | Get features available to a class at the requested level. | 1c |
| GET | /api/classes/{index}/levels/{spell_level}/spells | Get spells of the requested level available to the class. | 1c |
| GET | /api/classes/{index}/multi-classing | Get multiclassing resource for a class. | 1c |
| GET | /api/classes/{index}/proficiencies | Get proficiencies available for a class. | 1c |
| GET | /api/classes/{index}/spellcasting | Get spellcasting info for a class. | 1c |
| GET | /api/classes/{index}/spells | Get spells available for a class. | 1c |
| GET | /api/classes/{index}/subclasses | Get subclasses available for a class. | 1c |
| GET | /api/conditions/{index} | Get a condition by index. | 1c |
| GET | /api/equipment-categories/{index} | Get an equipment category by index. | 1c |
| GET | /api/equipment/{index} | Get an equipment item by index. | 1c |
| GET | /api/feats/{index} | Get a feat by index. | 1c |
| GET | /api/features/{index} | Get a feature by index. | 1c |
| GET | /api/languages/{index} | Get a language by index. | 1c |
| GET | /api/magic-items/{index} | Get a magic item by index. | 1c |
| GET | /api/magic-schools/{index} | Get a magic school by index. | 1c |
| GET | /api/monsters | Get list of monsters with optional filtering | 1c |
| GET | /api/monsters/{index} | Get monster by index. | 1c |
| GET | /api/subraces/{index}/proficiencies | Get proficiences available for a subrace. | 1c |
| GET | /api/proficiencies/{index} | Get a proficiency by index. | 1c |
| GET | /api/races/{index} | Get a race by index. | 1c |
| GET | /api/races/{index}/proficiencies | Get proficiencies available for a race. | 1c |
| GET | /api/races/{index}/subraces | Get subraces available for a race. | 1c |
| GET | /api/races/{index}/traits | Get traits available for a race. | 1c |
| GET | /api/rule-sections/{index} | Get a rule section by index. | 1c |
| GET | /api/rules/{index} | Get a rule by index. | 1c |
| GET | /api/subraces/{index}/traits | Get traits available for a subrace. | 1c |
| GET | /api/skills/{index} | Get a skill by index. | 1c |
| GET | /api/spells | Get list of spells with optional filtering. | 1c |
| GET | /api/spells/{index} | Get a spell by index. | 1c |
| GET | /api/subclasses/{index} | Get a subclass by index. | 1c |
| GET | /api/subclasses/{index}/features | Get features available for a subclass. | 1c |
| GET | /api/subclasses/{index}/levels | Get all level resources for a subclass. | 1c |
| GET | /api/subclasses/{index}/levels/{subclass_level} | Get level resources for a subclass and level. | 1c |
| GET | /api/subclasses/{index}/levels/{subclass_level}/features | Get features of the requested spell level available to the class. | 1c |
| GET | /api/subraces/{index} | Get a subrace by index. | 1c |
| GET | /api/traits/{index} | Get a trait by index. | 1c |
| GET | /api/weapon-properties/{index} | Get a weapon property by index. | 1c |
| GET | /api/{endpoint} | Get list of all available resources for an endpoint. | 1c |
ozma register && ozma call d-d-5e-api /api/damage-types/{index} --jsoncurl -H "Authorization: Bearer $OZMA_KEY" \
https://gateway.ozma.app/v1/proxy/d-d-5e-api/api/damage-types/{index}# Python
client.proxy_call("d-d-5e-api", "/api/damage-types/{index}")Own this API? Claim the listing to manage pricing and receive payouts.