published

Dungeons & Dragons API

The Dungeons & Dragons API offers developers comprehensive and free access to data related to D&D 5th Edition, suitable for applications and tools in the tabletop RPG space.

null%Uptime
nullmsLatency
0Stars
No AuthAuth
NoCredit Card
RESTStyle
v1Version
API Endpoints

Reference for available routes, request structures, and live examples.

Retrieves all available character classes in D&D 5e

Full Endpoint URL
https://www.dnd5eapi.co/classes
Implementation Example
curl -X GET 'https://www.dnd5eapi.co/classes'
Expected Response
{
  "count": 12,
  "results": [
    {
      "name": "Barbarian",
      "index": "barbarian"
    },
    {
      "name": "Wizard",
      "index": "wizard"
    }
  ]
}
Version:v1

Real-World Applications
  • {'items': ['Character builder apps retrieving class and equipment data'Optimized Capability
  • 'Campaign management tools incorporating monster stats'Optimized Capability
  • 'Spell lookup widgets for web and mobile'Optimized Capability
  • 'Interactive SRD (System Reference Document) websites']}Optimized Capability

API Specifications

v1
Pricing Model
Free
Credit Card
Not Required
Response Formats
{'items': ['JSON']}
Supported Languages
5 Languages
SDK Support
REST Only
Rate Limit

None specified

Use Case: Best For

Not Recommended For

#rpg#games

Explore Related APIs

Discover similar APIs to Dungeons & Dragons API

View All APIs
OPEN SOURCE

Magic: The Gathering API

The Magic: The Gathering API provides developers free access to a comprehensive database of MTG cards, sets, and game elements for application development.

OPEN SOURCE

Deck of Cards API

The Deck of Cards API offers developers a straightforward way to simulate standard playing card decks for game and educational applications.

OPEN SOURCE

PokeAPI

PokeAPI offers developers free access to structured Pokémon game data, making it ideal for game development, research, and educational use.