Grimoire 3.5e API Documentation
The API is still under construction, but soon enough we'll be providing more resources for you to fetch!
GET /api/spells
Returns a paginated list of spells.
Query Parameters:
- domain (optional): Filter by domain spells
(any value, e.g.
?domain=true
). - skip (optional): Number of spells to skip (for pagination).
- take (optional): Number of spells to return (max 50).
Example:
GET https://dnd35api.com/api/spells?take=5
Response:
GET /api/spells/:spellId
Returns a single spell by its id
(use the spell's id, not
its display name).
Path Parameters:
- spellName: The
id
of the spell (e.g.acid_arrow
).
Example:
GET http://localhost:3000/api/spells/acid_arrow
Response:
Error Handling
All endpoints return 500
with a JSON error message on server
error: