Dungeons and Dragons (Alternate) API
Overview
Open5e provides a comprehensive REST API for D&D 5th Edition SRD content, covering monsters, spells, classes, magic items, and more. It supports HTTPS, CORS, and requires no API key, making it very beginner-friendly and browser-compatible. This is an excellent alternative to the standard D&D API when you need a wider content selection including third-party materials.
Beginner Tip
Open5e offers a search endpoint (?search=) that works across all content types at once — try it to discover spells, monsters, and items by keyword. The API returns paginated results, so check the next field in the response to load more.
Measurement Record
What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.
- Request
- GET https://api.open5e.com/v1/monsters/?search=dragon&limit=5
- Result
- HTTP 200 · application/json · 21,900 bytes · compressed
- Response time
- 1397 ms (median of 3) · fastest 1206 ms
- Transport
- TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Let's Encrypt
- Browser CORS
- Allowed — Access-Control-Allow-Origin: *
- Served by
- cloudflare
- Recorded
- 2026-08-10
Fields Returned
Top-level fields present in the response we captured, with the type and value we actually received.
| Field | Type | Value received |
|---|---|---|
| count | integer | 312 |
| next | string (url) | https://api.open5e.com/v1/monsters/?limit=5&p… |
| previous | null | null |
| results | array | [1 item] |
Captured Response
Captured from a real request to https://api.open5e.com/v1/monsters/?search=dragon&limit=5 on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.
{
"count": 312,
"next": "https://api.open5e.com/v1/monsters/?limit=5&page=2&search=dragon",
"previous": null,
"results": [
{
"slug": "adult-amethyst-dragon-a5e",
"desc": "",
"name": "Adult Amethyst Dragon",
"size": "Huge",
"type": "Dragon",
"subtype": "",
"group": null,
"alignment": "",
"armor_class": 18,
"armor_desc": "",
"hit_points": 220,
"hit_dice": "21d12+84",
"speed": {
"…": "(3 more fields)"
},
"strength": 18,
"…": "(36 more fields)"
}
]
} Field Reference
slug URL-friendly unique identifier for the resource (e.g., ancient-dragon). name Display name of the monster, spell, or item. desc Description text for the resource. count Total number of matching results available (shown in the top-level response object). next URL for the next page of results; null if on the last page. Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://api.open5e.com/v1/monsters/?search=dragon&limit=5";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
How This API Fails
We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.
{
"detail": "No Monster matches the given query."
} Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Measured Score Breakdown
Live HTTP request to the API endpoint
Fully tested on Aug 10, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Animal Crossing: New Horizons
⭐ Beginner's PickThe Animal Crossing: New Horizons API gives you free access to in-game data including villagers, critters, fossils, art, music, and furniture.
Autochess VNG
The Autochess VNG API provides game data for the Autochess VNG mobile game including heroes, items, and races.
Barter.VG
Barter.VG aggregates data about PC games, DLC, bundles, giveaways, and trading from Steam and other platforms.
Digimon Information
⭐ Beginner's PickThe Digimon Information API provides easy access to data about Digimon creatures, including their names, levels, types, and images.
Genshin Impact
⭐ Beginner's PickThe Genshin Impact API provides detailed game data including characters, weapons, artifacts, enemies, and domains from the popular action RPG.