
Total number of resource available from this API.Įach of a creature’s abilities has a score, a number that defines the magnitude of that ability.Īn ability score is not just a measure of innate capabilities, but also encompasses a creature’s The GraphQL URL for dnd5eapi is: Resource ListsĬalling any API endpoint without a resource index or name will return a list of availableĪ case insensitive query parameter for the name. If you find a mistake in the data, feel free to This also means that we've limited what you can do to just GET-ing No authentication is required to query and

The documentation below assumes you are prepending the Base URL to the endpoints in order toĭnd5eapi is a completely open API. The Base URL is the root URL for all of the API, if you ever make a request toĭnd5eapi and you get back a 404 NOT FOUND response then check the Base URL This is probably because more data hasīeen added to dnd5eapi since we made this documentation. If your response looks slightly different don't panic. "material": "Powdered rhubarb leaf and an adder's stomach.", "When you cast this spell using a spell slot of 3rd level or higher, the damage (both initial and later) increases by 1d4 for each slot level above 2nd." On a miss, the arrow splashes the target with acid for half as much of the initial damage and no damage at the end of its next turn." On a hit, the target takes 4d4 acid damage immediately and 2d4 acid damage at the end of its next turn. Make a ranged spell attack against the target. "A shimmering green arrow streaks toward a target within range and bursts in a spray of acid. Nicely and gives us a whole lot more useful information. We'll use httpie for our examples as it displays responses In the exampleīelow, we're trying to get the first spell, Acid Arrow: Httpie to make an API request for a resource. Let's make our first API request to the D&D 5th Edition API! Should be solved just by reading through it. Read through the getting started section before you dive in. You familiarise yourself with the resources available and how to consume them with HTTP

Welcome to the dnd5eapi, the Dungeons & Dragons 5th Edition API! This documentation should help
