For Agents
Look up D&D 5e Systems Reference Document data such as classes, spells, monsters and equipment to power character builders, rules helpers, or campaign tools.
Get started with D&D 5e API in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"look up a D&D 5e spell or monster"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with D&D 5e API API.
Look up ability scores, skills and proficiencies for character sheet generation
Retrieve full class definitions including features, levels, spellcasting and subclasses
Search the spell catalogue by index or class to populate spell lists
Pull monster stat blocks for encounter builders and combat trackers
GET STARTED
Use for: Look up the stat block for a Beholder, Get the spell list for a level 5 Wizard, List all skills tied to the Charisma ability score, Retrieve the class features for a Paladin at level 7
Not supported: Does not handle homebrew content, non-SRD published material, character persistence, or dice-rolling — use for SRD reference data lookup only.
Jentic publishes the only available OpenAPI document for D&D 5e API, keeping it validated and agent-ready.
Jentic publishes the only available OpenAPI specification for D&D 5e API, keeping it validated and agent-ready. The D&D 5e API is an open, read-only reference for Dungeons & Dragons 5th Edition data drawn from the Systems Reference Document, including ability scores, classes, races, spells, monsters, equipment and rules. It exposes 47 GET endpoints under https://www.dnd5eapi.co/api covering character-building data and game mechanics, with no authentication required. Useful for character generators, encounter builders, rules lookup tools, and AI agents that need structured tabletop reference data.
Browse equipment and magic item details with weight, cost and damage data
Fetch alignments, conditions, damage types and other rules references
Retrieve race and subrace traits to drive character creation flows
Patterns agents use D&D 5e API API for, with concrete tasks.
★ Character Sheet Generator
Populate a 5e character sheet with canonical SRD data by pulling races, classes, backgrounds, ability scores, skills and starting equipment from a single source. The API exposes 47 GET endpoints covering every character-build resource, so a generator can render legal options without bundling its own dataset. Integration takes hours since there is no auth and responses are cleanly indexed.
Fetch the class details for /api/classes/wizard, then list its level-1 spell options from /api/classes/wizard/levels/1/spells and return them as a chooseable spell list.
Encounter and Combat Helper
Build a DM tool that pulls monster stat blocks, spell descriptions and condition rules at runtime. Endpoints under /api/monsters and /api/spells return complete combat-ready data including hit points, actions, damage dice and saving throws. Useful for virtual tabletops, initiative trackers and rules-lookup chatbots running during live sessions.
Retrieve /api/monsters/beholder and extract its hit_points, armor_class, and legendary_actions to seed an encounter tracker entry.
Rules Reference Chatbot
Power a Discord or web chatbot that answers rules questions by querying canonical SRD content. Endpoints for ability scores, skills, conditions, damage types and equipment categories let an agent answer 'what does the Grappled condition do?' or 'how much does plate armor cost?' with authoritative text. No rate limits or keys are advertised, making it suitable for community projects.
Call /api/conditions/grappled and return the description text along with the index for citation in a chat reply.
AI Agent Game Master Companion
Through Jentic, an AI game-master agent can resolve player questions, build NPC stat blocks and validate character choices against the SRD without bundling D&D data. The agent searches Jentic for an intent like 'look up a 5e spell', loads the operation schema and calls the endpoint with one line. This avoids stale local copies and keeps responses anchored to the official SRD subset.
Use Jentic to search 'look up a D&D spell', load the /api/spells/{index} operation, and execute it with index='fireball' to return casting time, range, and damage.
47 endpoints — jentic publishes the only available openapi specification for d&d 5e api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/api/classes/{index}
Get full details for a character class
/api/classes/{index}/spells
List spells available to a class
/api/spells/{index}
Get a spell description and mechanics
/api/monsters/{index}
Get a monster stat block
/api/equipment/{index}
Get equipment item details
/api/races/{index}
Get race details and traits
/api/ability-scores/{index}
Get an ability score and its skills
/api/classes/{index}
Get full details for a character class
/api/classes/{index}/spells
List spells available to a class
/api/spells/{index}
Get a spell description and mechanics
/api/monsters/{index}
Get a monster stat block
/api/equipment/{index}
Get equipment item details
Three things that make agents converge on Jentic-routed access.
Credential isolation
The D&D 5e API requires no credentials, so Jentic simply executes calls with no token storage. Agents avoid the usual key management overhead entirely.
Intent-based discovery
Agents search Jentic by intent, for example 'look up a D&D spell' or 'fetch a monster stat block', and Jentic returns the matching operation under /api/spells/{index} or /api/monsters/{index} with its parameter schema, so the agent can call the right endpoint without crawling docs.
Time to first call
Direct integration: a few hours to map endpoints and parse responses across 47 routes. Through Jentic: under 15 minutes — search for the intent, load the schema, execute.
Alternatives and complements available in the Jentic catalogue.
GitHub API
Hosts the underlying 5e SRD database and API source repositories used to build companion tools
Use GitHub when the task is reading the underlying 5e-database project files or opening data corrections; use D&D 5e API for live SRD lookups.
Open edX LMS API
Education content delivery API — different domain but similar 'reference content' integration pattern
Choose Open edX when the task is delivering structured course content; choose D&D 5e API for SRD reference lookups.
GitHub REST API
Host D&D content on GitHub; agents can fetch markdown/JSON via GitHub.
Choose GitHub when content lives in a repo rather than the dnd5eapi service.
OpenAI API
Combine with LLMs to generate dynamic D&D narrative around dnd5eapi facts.
Pair OpenAI for natural-language narration on top of structured rules data.
Specific to using D&D 5e API API through Jentic.
Why is there no official OpenAPI spec for D&D 5e API?
The dnd5eapi.co maintainers do not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call D&D 5e API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the D&D 5e API use?
The D&D 5e API requires no authentication. Every endpoint is read-only GET and publicly accessible at https://www.dnd5eapi.co/api. When called through Jentic, no credentials need to be stored or rotated, which makes it a good first integration for testing the search-load-execute flow.
Can I retrieve a complete monster stat block with the D&D 5e API?
Yes. Call GET /api/monsters/{index} with an index like 'beholder' or 'goblin' to retrieve hit points, armor class, ability scores, actions, and legendary actions in a single response, sufficient to drive a virtual tabletop or combat tracker.
What are the rate limits for the D&D 5e API?
The D&D 5e API does not document hard rate limits, but the maintainers ask consumers to cache responses where possible since the dataset is static SRD content. Jentic agents that repeatedly look up the same spell or monster should cache locally rather than re-query.
How do I get a class spell list with the D&D 5e API through Jentic?
Search Jentic for 'get D&D class spells', load the /api/classes/{index}/spells operation, and execute it with the class index (for example 'wizard'). The response returns the full spell list with names and references that can be drilled into via /api/spells/{index}.
Is the D&D 5e API free to use?
Yes. The API is MIT-licensed and the underlying data is published under the SRD and OGL. There are no paid tiers and no signup, though donations to the maintainers are welcomed via their GitHub project.
/api/races/{index}
Get race details and traits
/api/ability-scores/{index}
Get an ability score and its skills