Dnd5Eapi
D&D 5e API is an open API that provides reference data for Dungeons & Dragons 5th Edition rules, spells, monsters, and game content.
- Base URL:
https://www.dnd5eapi.co - Auth:
bearer(pass your key via theapiKeyinput)
Operations
get_api— GET /api — Get all resource URLs.get_api_ability_scores_index— GET /api/ability-scores/{index} — Get an ability score by index.get_api_alignments_index— GET /api/alignments/{index} — Get an alignment by index.get_api_backgrounds_index— GET /api/backgrounds/{index} — Get a background by index.get_api_classes_index— GET /api/classes/{index} — Get a class by index.get_api_classes_index_features— GET /api/classes/{index}/features — Get features available for a class.
Inputs
apiKey— your dnd5eapi API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_api
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: get_api, get_api_ability_scores_index, get_api_alignments_index, get_api_backgrounds_index, get_api_classes_index, get_api_classes_index_features |
index |
string | no | — | Path parameter index (required by some operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |