Dungeons & Dragons API

The Dungeons & Dragons API delivers comprehensive data for the D&D 5th edition game, including spells, monsters, classes, and equipment. It's a free, open-source resource for developers creating apps or websites related to tabletop RPGs.

2

Endpoints

31

Views

Jul 20, 2025

Last Checked

NaN

Rate Limit

API Endpoints

Retrieves all available character classes in D&D 5e

Full URL

https://www.dnd5eapi.co/api/classes

Code Examples

curl -X GET 'https://www.dnd5eapi.co/api/classes'

Example Response

{
  "count": 12,
  "results": [
    {
      "name": "Barbarian",
      "index": "barbarian"
    },
    {
      "name": "Wizard",
      "index": "wizard"
    }
  ]
}

Version

v1

Tags
gamesrpg
Technical Details
Authentication
None
Response Formats
JSON
Availability
global
Status
Published
Rate Limits

None specified

Supported Languages
English
Use Cases
gaming tools
character generators
https://www.dnd5eapi.co/

Related APIs

Discover similar APIs that might interest you

APIopen source

PokeAPI

PokeAPI is a free, open-source API that ...

Category
Gaming
Endpoints
1
entertainmentgamingpokemon
APIfree

Deck of Cards API

The Deck of Cards API allows developers ...

Category
Gaming
Endpoints
1
cardsentertainmentgaming
Dungeons & Dragons API – Free Open Source Gaming Data | Free API Hub