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
NoneResponse Formats
JSONAvailability
globalStatus
Published Rate Limits
None specified
Supported Languages
English
Use Cases
gaming tools
character generators
Related APIs
Discover similar APIs that might interest you