Getting Started
Let's make our first API request to the D&D 5th Edition API!
Open up a terminal and use cURL, PowerShell, or httpie to make an API request for a resource. You can also scroll through the definitions below and send requests directly from the endpoint documentation!
For example, if you paste and run this terminal command:
- cURL
- PowerShell
curl -X GET "https://www.dnd5eapi.co/api/2024/ability-scores/cha" -H "Accept: application/json"
# or with httpie
http dnd5eapi.co/api/2024/ability-scores/cha
Invoke-RestMethod -Uri https://www.dnd5eapi.co/api/2024/ability-scores/cha
We should see a result containing details about the Charisma ability score:
{
"index": "cha",
"name": "CHA",
"full_name": "Charisma",
"description": "Confidence, poise, and charm",
"skills": [
{
"name": "Deception",
"index": "deception",
"url": "/api/2024/skills/deception"
},
{
"name": "Intimidation",
"index": "intimidation",
"url": "/api/2024/skills/intimidation"
},
{
"name": "Performance",
"index": "performance",
"url": "/api/2024/skills/performance"
},
{
"name": "Persuasion",
"index": "persuasion",
"url": "/api/2024/skills/persuasion"
}
],
"url": "/api/2024/ability-scores/cha",
"updated_at": "2026-09-20T07:44:55.148Z"
}