← Back to tools
D5

D&D 5e API

40 endpointslive

# 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 (ingested from its OpenAPI definition; no key required)

$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, and then use Cracked to show me what I can do for D&D 5e API.
EndpointWhat it doesPriceHealth
Get all resource URLs.
/api
Making a request to the API's base URL returns an object containing available endpoints.$0.0020 per callunknown
Get an ability score by index.
/api/ability-scores/{index}
# Ability Score Represents one of the six abilities that describes a creature's physical and mental characteristics. The three main rolls of the game - the ability check, the saving throw, and the attack roll - rely on the ability scores. [[SRD p76](https://media.wizards.com/2016/downloads/DND/SRD-OGL_V5.1.pdf#page=76)] $0.0020 per callunknown
Get an alignment by index.
/api/alignments/{index}
# Alignment A typical creature in the game world has an alignment, which broadly describes its moral and personal attitudes. Alignment is a combination of two factors: one identifies morality (good, evil, or neutral), and the other describes attitudes toward society and order (lawful, chaotic, or neutral). Thus, nine distinct alignments define the possible combinations.[[SRD p58](https://media.wiz$0.0020 per callunknown
Get a background by index.
/api/backgrounds/{index}
# Background Every story has a beginning. Your character's background reveals where you came from, how you became an adventurer, and your place in the world. Choosing a background provides you with important story cues about your character's identity. [[SRD p60](https://media.wizards.com/2016/downloads/DND/SRD-OGL_V5.1.pdf#page=60)] _Note:_ acolyte is the only background included in the SRD. $0.0020 per callunknown
Get a class by index.
/api/classes/{index}
# Class A character class is a fundamental part of the identity and nature of characters in the Dungeons & Dragons role-playing game. A character's capabilities, strengths, and weaknesses are largely defined by its class. A character's class affects a character's available skills and abilities. [[SRD p8-55](https://media.wizards.com/2016/downloads/DND/SRD-OGL_V5.1.pdf#page=8)] $0.0020 per callunknown
Get features available for a class.
/api/classes/{index}/features
Get features available for a class.$0.0020 per callunknown
Get all level resources for a class.
/api/classes/{index}/levels
Get all level resources for a class.$0.0020 per callunknown
Get level resource for a class and level.
/api/classes/{index}/levels/{class_level}
Get level resource for a class and level.$0.0020 per callunknown
Get features available to a class at the requested level.
/api/classes/{index}/levels/{class_level}/features
Get features available to a class at the requested level.$0.0020 per callunknown
Get spells of the requested level available to the class.
/api/classes/{index}/levels/{spell_level}/spells
Get spells of the requested level available to the class.$0.0020 per callunknown
Get multiclassing resource for a class.
/api/classes/{index}/multi-classing
Get multiclassing resource for a class.$0.0020 per callunknown
Get proficiencies available for a class.
/api/classes/{index}/proficiencies
Get proficiencies available for a class.$0.0020 per callunknown
Get spellcasting info for a class.
/api/classes/{index}/spellcasting
Get spellcasting info for a class.$0.0020 per callunknown
Get spells available for a class.
/api/classes/{index}/spells
Get spells available for a class.$0.0020 per callunknown
Get subclasses available for a class.
/api/classes/{index}/subclasses
Get subclasses available for a class.$0.0020 per callunknown
Get a condition by index.
/api/conditions/{index}
# Condition A condition alters a creature’s capabilities in a variety of ways and can arise as a result of a spell, a class feature, a monster’s attack, or other effect. Most conditions, such as blinded, are impairments, but a few, such as invisible, can be advantageous. $0.0020 per callunknown
Get a damage type by index.
/api/damage-types/{index}
# Damage type Different attacks, damaging spells, and other harmful effects deal different types of damage. Damage types have no rules of their own, but other rules, such as damage resistance, rely on the types. $0.0020 per callunknown
Get an equipment category by index.
/api/equipment-categories/{index}
These are the categories that various equipment fall under.$0.0020 per callunknown
Get an equipment item by index.
/api/equipment/{index}
# Equipment Opportunities abound to find treasure, equipment, weapons, armor, and more in the dungeons you explore. Normally, you can sell your treasures and trinkets when you return to a town or other settlement, provided that you can find buyers and merchants interested in your loot. $0.0020 per callunknown
Get a feat by index.
/api/feats/{index}
# Feat A feat is a boon a character can receive at level up instead of an ability score increase. $0.0020 per callunknown
Get a feature by index.
/api/features/{index}
# Feature When you gain a new level in a class, you get its features for that level. You don’t, however, receive the class’s starting Equipment, and a few features have additional rules when you’re multiclassing: Channel Divinity, Extra Attack, Unarmored Defense, and Spellcasting. $0.0020 per callunknown
Get a language by index.
/api/languages/{index}
# Language Your race indicates the languages your character can speak by default, and your background might give you access to one or more additional languages of your choice. [[SRD p59](https://media.wizards.com/2016/downloads/DND/SRD-OGL_V5.1.pdf#page=59)] $0.0020 per callunknown
Get a magic item by index.
/api/magic-items/{index}
These are the various magic items you can find in the game.$0.0020 per callunknown
Get a magic school by index.
/api/magic-schools/{index}
# Magic School Academies of magic group spells into eight categories called schools of magic. Scholars, particularly wizards, apply these categories to all spells, believing that all magic functions in essentially the same way, whether it derives from rigorous study or is bestowed by a deity. $0.0020 per callunknown
Get list of monsters with optional filtering
/api/monsters
Get list of monsters with optional filtering$0.0020 per callunknown
Get monster by index.
/api/monsters/{index}
Get monster by index.$0.0020 per callunknown
Get a proficiency by index.
/api/proficiencies/{index}
# Proficiency By virtue of race, class, and background a character is proficient at using certain skills, weapons, and equipment. Characters can also gain additional proficiencies at higher levels or by multiclassing. A characters starting proficiencies are determined during character creation. $0.0020 per callunknown
Get a race by index.
/api/races/{index}
Each race grants your character ability and skill bonuses as well as racial traits.$0.0020 per callunknown
Get proficiencies available for a race.
/api/races/{index}/proficiencies
Get proficiencies available for a race.$0.0020 per callunknown
Get subraces available for a race.
/api/races/{index}/subraces
Get subraces available for a race.$0.0020 per callunknown
Get traits available for a race.
/api/races/{index}/traits
Get traits available for a race.$0.0020 per callunknown
Get a rule section by index.
/api/rule-sections/{index}
Rule sections represent a sub-heading and text that can be found underneath a rule heading in the SRD.$0.0020 per callunknown
Get a rule by index.
/api/rules/{index}
# Rule Rules are pages in the SRD that document the mechanics of Dungeons and Dragons. Rules have descriptions which is the text directly underneath the rule heading in the SRD. Rules also have subsections for each heading underneath the rule in the SRD. $0.0020 per callunknown
Get a skill by index.
/api/skills/{index}
# Skill Each ability covers a broad range of capabilities, including skills that a character or a monster can be proficient in. A skill represents a specific aspect of an ability score, and an individual's proficiency in a skill demonstrates a focus on that aspect. [[SRD p77](https://media.wizards.com/2016/downloads/DND/SRD-OGL_V5.1.pdf#page=77)] $0.0020 per callunknown
Get list of spells with optional filtering.
/api/spells
Get list of spells with optional filtering.$0.0020 per callunknown
Get a spell by index.
/api/spells/{index}
Get a spell by index.$0.0020 per callunknown
Get a subclass by index.
/api/subclasses/{index}
Subclasses reflect the different paths a class may take as levels are gained.$0.0020 per callunknown
Get features available for a subclass.
/api/subclasses/{index}/features
Get features available for a subclass.$0.0020 per callunknown
Get all level resources for a subclass.
/api/subclasses/{index}/levels
Get all level resources for a subclass.$0.0020 per callunknown
Get level resources for a subclass and level.
/api/subclasses/{index}/levels/{subclass_level}
Get level resources for a subclass and level.$0.0020 per callunknown
Cracked: connect your agent to every tool it needs