Introduction
Welcome to the D&D 5e SRD API, the Dungeons & Dragons 5th Edition API.
This documentation will help you familiarize yourself with the resources available and how to consume them with HTTP requests. Read through the getting started tutorial before you dive in.
Base URL
All API requests are made to the following base URL:
https://www.dnd5eapi.co/api
Authentication
This is a completely open API. No authentication is required to query and get data. This also means that we've limited what you can do to just GET-ing the data.
Rate Limits
There is a limit of 10,000 requests per second per IP. This is subject to change if something more practical needs to be enforced.
GraphQL
This API also supports GraphQL. The GraphQL endpoint is:
https://www.dnd5eapi.co/graphql
See the GraphQL tutorial for examples and how to use the Apollo sandbox explorer.
Community
Come hang out with us on Discord. We're friendly and would love to hear what you make with the API.
Contributing
This API is built from two repositories:
- 5e-database — the data
- 5e-srd-api — the API implementation
This is an evolving API and fresh ideas are always welcome. You can open an issue in either repo, open a PR for changes, or discuss with other users on Discord.
If you find a mistake in the data, feel free to let us know.