{"@context": "https://schema.org", "@type": "WebAPI", "name": "D&D 5e API API", "description": "# 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 ", "provider": {"@type": "Organization", "name": "dnd5eapi.co"}, "documentation": "https://www.dnd5eapi.co/swagger/openapi.json"}
# 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
Every row below was read from the vendor's own OpenAPI document. The summary text is theirs. What this registry adds is that each operation is indexed with its method, path, base URL and auth scheme, so a search for a capability can answer with a call rather than a name, and that the endpoint is probed on a schedule.
Specifications as held by the APIs.guru corpus, whose newest record is 2023-04-21. Operations the vendor has added since are not listed here; the origin links above are the vendor's own current documents.
base URLs: https://www.dnd5eapi.co http://localhost:3000
find it by capability: POST /search {"query":{"text":"..."}} returns these
operations with their invocation detail. Connect any agent client.
# 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
| method | path | what the vendor says it does |
|---|---|---|
GET | /api | Get all resource URLs. Making a request to the API's base URL returns an object containing available endpoints |
GET | /api/ability-scores/{index} | Get an ability score by index. # Ability Score Represents one of the six abilities that describes a creature' |
GET | /api/alignments/{index} | Get an alignment by index. # Alignment A typical creature in the game world has an alignment, which broadly d |
GET | /api/backgrounds/{index} | Get a background by index. # Background Every story has a beginning. Your character's background reveals wher |
GET | /api/classes/{index} | Get a class by index. # Class A character class is a fundamental part of the identity and nature of character |
GET | /api/classes/{index}/features | Get features available for a class. Class Resource Lists |
GET | /api/classes/{index}/levels | Get all level resources for a class. Class Levels |
GET | /api/classes/{index}/levels/{class_level} | Get level resource for a class and level. Class Levels |
GET | /api/classes/{index}/levels/{class_level}/features | Get features available to a class at the requested level. Class Levels |
GET | /api/classes/{index}/levels/{spell_level}/spells | Get spells of the requested level available to the class. Class Levels |
GET | /api/classes/{index}/multi-classing | Get multiclassing resource for a class. Class |
GET | /api/classes/{index}/proficiencies | Get proficiencies available for a class. Class Resource Lists |
GET | /api/classes/{index}/spellcasting | Get spellcasting info for a class. Class |
GET | /api/classes/{index}/spells | Get spells available for a class. Class Resource Lists |
GET | /api/classes/{index}/subclasses | Get subclasses available for a class. Class Resource Lists |
GET | /api/conditions/{index} | Get a condition by index. # Condition A condition alters a creature’s capabilities in a variety of ways and c |
GET | /api/damage-types/{index} | Get a damage type by index. # Damage type Different attacks, damaging spells, and other harmful effects deal |
GET | /api/equipment-categories/{index} | Get an equipment category by index. These are the categories that various equipment fall under. Equipment |
GET | /api/equipment/{index} | Get an equipment item by index. # Equipment Opportunities abound to find treasure, equipment, weapons, armor, |
GET | /api/feats/{index} | Get a feat by index. # Feat A feat is a boon a character can receive at level up instead of an ability score |
GET | /api/features/{index} | Get a feature by index. # Feature When you gain a new level in a class, you get its features for that level. |
GET | /api/languages/{index} | Get a language by index. # Language Your race indicates the languages your character can speak by default, an |
GET | /api/magic-items/{index} | Get a magic item by index. These are the various magic items you can find in the game. Equipment |
GET | /api/magic-schools/{index} | Get a magic school by index. # Magic School Academies of magic group spells into eight categories called scho |
GET | /api/monsters | Get list of monsters with optional filtering Monsters |
GET | /api/monsters/{index} | Get monster by index. Monsters |
GET | /api/proficiencies/{index} | Get a proficiency by index. # Proficiency By virtue of race, class, and background a character is proficient |
GET | /api/races/{index} | Get a race by index. Each race grants your character ability and skill bonuses as well as racial traits. Races |
GET | /api/races/{index}/proficiencies | Get proficiencies available for a race. Races |
GET | /api/races/{index}/subraces | Get subraces available for a race. Races |
GET | /api/races/{index}/traits | Get traits available for a race. Races |
GET | /api/rule-sections/{index} | Get a rule section by index. Rule sections represent a sub-heading and text that can be found underneath a rul |
GET | /api/rules/{index} | Get a rule by index. # Rule Rules are pages in the SRD that document the mechanics of Dungeons and Dragons. |
GET | /api/skills/{index} | Get a skill by index. # Skill Each ability covers a broad range of capabilities, including skills that a char |
GET | /api/spells | Get list of spells with optional filtering. Spells |
GET | /api/spells/{index} | Get a spell by index. Spells |
GET | /api/subclasses/{index} | Get a subclass by index. Subclasses reflect the different paths a class may take as levels are gained. Subclas |
GET | /api/subclasses/{index}/features | Get features available for a subclass. Subclasses |
GET | /api/subclasses/{index}/levels | Get all level resources for a subclass. Subclasses |
GET | /api/subclasses/{index}/levels/{subclass_level} | Get level resources for a subclass and level. Subclasses |
and 7 more operation(s) in this specification, all searchable.
specification origin: https://www.dnd5eapi.co/swagger/openapi.json
nothing on this page is a rating, an endorsement or a claim about quality. Reachability is what our probes observed from one network; answering is a floor under usefulness, not a measure of it.