D&D 5e API API
Returns Dungeons & Dragons 5th edition SRD spells, monsters, classes and races with their rules details.
View as Markdown| GET | /dnd5e/spell | One spell of the SRD: level, school, casting time, range, components and text. |
| GET | /dnd5e/spells | Spells of the SRD whose name contains a text. |
| GET | /dnd5e/monster | One monster of the SRD: size, type, armor class, hit points and challenge rating. |
| GET | /dnd5e/classes | The character classes with their indexes. |
| GET | /dnd5e/class | One character class: hit die, saving throws, proficiencies, subclasses and spellcasting level. |
| GET | /dnd5e/races | The playable races with their indexes. |
| GET | /dnd5e/race | One playable race: speed, size, ability bonuses, languages, traits and subraces. |
| GET | /dnd5e/monsters | Monsters with their indexes, paged, optionally at one challenge rating. |
| GET | /dnd5e/equipmentList | The equipment items with their indexes, paged. |
| GET | /dnd5e/equipment | One equipment item: category, weight, cost and description. |
| GET | /dnd5e/magicItems | The magic items with their indexes, paged. |
| GET | /dnd5e/magicItem | One magic item: rarity, category and description. |
| GET | /dnd5e/conditions | The rules conditions, such as blinded or poisoned, with their indexes. |
| GET | /dnd5e/condition | One rules condition and what it does. |
| GET | /dnd5e/skills | The skills with their indexes. |
| GET | /dnd5e/skill | One skill, the ability it uses and what it covers. |
| GET | /dnd5e/classSpells | The spells one class can learn, optionally at one spell level, paged. |
| GET | /dnd5e/subclasses | The character subclasses, such as Champion or Evocation's school of wizard, with their indexes. |
| GET | /dnd5e/subclass | One character subclass: the class it belongs to, its flavor and description. |
| GET | /dnd5e/rules | The rule sections of the SRD, such as Combat or Spellcasting, with their indexes. |
| GET | /dnd5e/rule | One rule of the SRD, such as Combat: its text and the sections under it. |
spell
/v1/dnd5e/spellOne spell of the SRD: level, school, casting time, range, components and text.
Parameters
indexstring required | Spell index, such as fireball. e.g. fireball |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
castingTime | string |
classes | string[] |
components | string[] |
concentration | boolean |
description | string |
duration | string |
higherLevel | string |
index | string |
level | integer (int64) |
name | string |
range | string |
ritual | boolean |
school | string |
curl "https://api.hoshime.com/v1/dnd5e/spell?index=fireball" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/spell?index=fireball", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/spell?index=fireball", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "castingTime": "1 action", "classes": [ "Sorcerer", "Wizard" ], "components": [ "V", "S" ], "concentration": false, "description": "A bright streak flashes from your pointing finger to a point you choose within range and then blossoms with a low roar into an explosion of …", "duration": "Instantaneous", "higherLevel": "When you cast this spell using a spell slot of 4th level or higher, the damage increases by 1d6 for each slot level above 3rd.", "index": "fireball", "level": 3, "name": "Fireball", "range": "150 feet", "ritual": false, "school": "Evocation" }, "meta": { "cached": false, "endpoint": "spell", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
spells
/v1/dnd5e/spellsSpells of the SRD whose name contains a text.
Parameters
namestring | Text the spell name contains, such as fire. e.g. fire |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
index | string |
level | integer (int64) |
name | string |
url | string |
curl "https://api.hoshime.com/v1/dnd5e/spells?name=fire" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/spells?name=fire", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/spells?name=fire", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "index": "delayed-blast-fireball", "level": 7, "name": "Delayed Blast Fireball", "url": "https://www.dnd5eapi.co/api/2014/spells/delayed-blast-fireball" }, { "index": "faerie-fire", "level": 1, "name": "Faerie Fire", "url": "https://www.dnd5eapi.co/api/2014/spells/faerie-fire" } ], "meta": { "cached": false, "endpoint": "spells", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
monster
/v1/dnd5e/monsterOne monster of the SRD: size, type, armor class, hit points and challenge rating.
Parameters
indexstring required | Monster index, such as aboleth. e.g. aboleth |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
alignment | string |
armorClass | integer (int64) |
challengeRating | number (double) |
hitPoints | integer (int64) |
index | string |
languages | string |
name | string |
size | string |
type | string |
url | string |
xp | integer (int64) |
curl "https://api.hoshime.com/v1/dnd5e/monster?index=aboleth" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/monster?index=aboleth", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/monster?index=aboleth", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "alignment": "lawful evil", "armorClass": 17, "challengeRating": 10, "hitPoints": 135, "index": "aboleth", "languages": "Deep Speech, telepathy 120 ft.", "name": "Aboleth", "size": "Large", "type": "aberration", "url": "https://www.dnd5eapi.co/api/2014/monsters/aboleth", "xp": 5900 }, "meta": { "cached": false, "endpoint": "monster", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
classes
/v1/dnd5e/classesThe character classes with their indexes.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
index | string |
name | string |
url | string |
curl "https://api.hoshime.com/v1/dnd5e/classes" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/classes", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/classes", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "index": "barbarian", "name": "Barbarian", "url": "https://www.dnd5eapi.co/api/2014/classes/barbarian" }, { "index": "bard", "name": "Bard", "url": "https://www.dnd5eapi.co/api/2014/classes/bard" } ], "meta": { "cached": false, "endpoint": "classes", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
class
/v1/dnd5e/classOne character class: hit die, saving throws, proficiencies, subclasses and spellcasting level.
Parameters
indexstring required | Index of the item, such as wizard or elf. e.g. wizard |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
hitDie | integer (int64) |
index | string |
name | string |
proficiencies | string[] |
savingThrows | string[] |
spellcastingLevel | integer (int64) |
subclasses | string[] |
curl "https://api.hoshime.com/v1/dnd5e/class?index=wizard" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/class?index=wizard", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/class?index=wizard", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "hitDie": 6, "index": "wizard", "name": "Wizard", "proficiencies": [ "Daggers", "Darts" ], "savingThrows": [ "int", "wis" ], "spellcastingLevel": 1, "subclasses": [ "Evocation" ] }, "meta": { "cached": false, "endpoint": "class", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
races
/v1/dnd5e/racesThe playable races with their indexes.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
index | string |
name | string |
url | string |
curl "https://api.hoshime.com/v1/dnd5e/races" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/races", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/races", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "index": "dragonborn", "name": "Dragonborn", "url": "https://www.dnd5eapi.co/api/2014/races/dragonborn" }, { "index": "dwarf", "name": "Dwarf", "url": "https://www.dnd5eapi.co/api/2014/races/dwarf" } ], "meta": { "cached": false, "endpoint": "races", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
race
/v1/dnd5e/raceOne playable race: speed, size, ability bonuses, languages, traits and subraces.
Parameters
indexstring required | Index of the item, such as wizard or elf. e.g. elf |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
abilityBonuses | string[] |
index | string |
languages | string[] |
name | string |
size | string |
speed | integer (int64) |
subraces | string[] |
traits | string[] |
curl "https://api.hoshime.com/v1/dnd5e/race?index=elf" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/race?index=elf", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/race?index=elf", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "abilityBonuses": [ "DEX" ], "index": "elf", "languages": [ "Common", "Elvish" ], "name": "Elf", "size": "Medium", "speed": 30, "subraces": [ "High Elf" ], "traits": [ "Darkvision", "Fey Ancestry" ] }, "meta": { "cached": false, "endpoint": "race", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
monsters
/v1/dnd5e/monstersMonsters with their indexes, paged, optionally at one challenge rating.
Parameters
challengeRatingstring | Challenge rating: a whole number, or 1/2, 1/4 or 1/8. e.g. 1 |
limitinteger | Items per page, from 1 to 500. default 50e.g. 10 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
index | string |
name | string |
url | string |
curl "https://api.hoshime.com/v1/dnd5e/monsters?challengeRating=1&limit=10" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/monsters?challengeRating=1&limit=10", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/monsters?challengeRating=1&limit=10", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "index": "animated-armor", "name": "Animated Armor", "url": "https://www.dnd5eapi.co/api/2014/monsters/animated-armor" }, { "index": "brass-dragon-wyrmling", "name": "Brass Dragon Wyrmling", "url": "https://www.dnd5eapi.co/api/2014/monsters/brass-dragon-wyrmling" } ], "meta": { "cached": false, "endpoint": "monsters", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
equipmentList
/v1/dnd5e/equipmentListThe equipment items with their indexes, paged.
Parameters
limitinteger | Items per page, from 1 to 500. default 50e.g. 10 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
index | string |
name | string |
url | string |
curl "https://api.hoshime.com/v1/dnd5e/equipmentList?limit=10" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/equipmentList?limit=10", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/equipmentList?limit=10", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "index": "abacus", "name": "Abacus", "url": "https://www.dnd5eapi.co/api/2014/equipment/abacus" }, { "index": "acid-vial", "name": "Acid (vial)", "url": "https://www.dnd5eapi.co/api/2014/equipment/acid-vial" } ], "meta": { "cached": false, "endpoint": "equipmentList", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
equipment
/v1/dnd5e/equipmentOne equipment item: category, weight, cost and description.
Parameters
indexstring required | Index of the item, such as wizard or elf. e.g. longsword |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
category | string |
cost | string |
description | string |
index | string |
name | string |
weaponCategory | string |
weight | number (double) |
curl "https://api.hoshime.com/v1/dnd5e/equipment?index=longsword" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/equipment?index=longsword", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/equipment?index=longsword", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "category": "Weapon", "cost": "15 gp", "description": "", "index": "longsword", "name": "Longsword", "weaponCategory": "Martial", "weight": 3 }, "meta": { "cached": false, "endpoint": "equipment", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
magicItems
/v1/dnd5e/magicItemsThe magic items with their indexes, paged.
Parameters
limitinteger | Items per page, from 1 to 500. default 50e.g. 10 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
index | string |
name | string |
url | string |
curl "https://api.hoshime.com/v1/dnd5e/magicItems?limit=10" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/magicItems?limit=10", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/magicItems?limit=10", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "index": "adamantine-armor", "name": "Adamantine Armor", "url": "https://www.dnd5eapi.co/api/2014/magic-items/adamantine-armor" }, { "index": "ammunition", "name": "Ammunition, +1, +2, or +3", "url": "https://www.dnd5eapi.co/api/2014/magic-items/ammunition" } ], "meta": { "cached": false, "endpoint": "magicItems", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
magicItem
/v1/dnd5e/magicItemOne magic item: rarity, category and description.
Parameters
indexstring required | Index of the item, such as wizard or elf. e.g. bag-of-holding |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
category | string |
description | string |
index | string |
name | string |
rarity | string |
curl "https://api.hoshime.com/v1/dnd5e/magicItem?index=bag-of-holding" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/magicItem?index=bag-of-holding", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/magicItem?index=bag-of-holding", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "category": "Wondrous Items", "description": "Wondrous item, uncommon\n\nThis bag has an interior space considerably larger than its outside dimensions, roughly 2 feet in diameter at the m…", "index": "bag-of-holding", "name": "Bag of Holding", "rarity": "Uncommon" }, "meta": { "cached": false, "endpoint": "magicItem", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
conditions
/v1/dnd5e/conditionsThe rules conditions, such as blinded or poisoned, with their indexes.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
index | string |
name | string |
url | string |
curl "https://api.hoshime.com/v1/dnd5e/conditions" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/conditions", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/conditions", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "index": "blinded", "name": "Blinded", "url": "https://www.dnd5eapi.co/api/2014/conditions/blinded" }, { "index": "charmed", "name": "Charmed", "url": "https://www.dnd5eapi.co/api/2014/conditions/charmed" } ], "meta": { "cached": false, "endpoint": "conditions", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
condition
/v1/dnd5e/conditionOne rules condition and what it does.
Parameters
indexstring required | Index of the item, such as wizard or elf. e.g. blinded |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
description | string |
index | string |
name | string |
curl "https://api.hoshime.com/v1/dnd5e/condition?index=blinded" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/condition?index=blinded", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/condition?index=blinded", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "description": "- A blinded creature can't see and automatically fails any ability check that requires sight.\n\n- Attack rolls against the creature have adva…", "index": "blinded", "name": "Blinded" }, "meta": { "cached": false, "endpoint": "condition", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
skills
/v1/dnd5e/skillsThe skills with their indexes.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
index | string |
name | string |
url | string |
curl "https://api.hoshime.com/v1/dnd5e/skills" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/skills", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/skills", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "index": "acrobatics", "name": "Acrobatics", "url": "https://www.dnd5eapi.co/api/2014/skills/acrobatics" }, { "index": "animal-handling", "name": "Animal Handling", "url": "https://www.dnd5eapi.co/api/2014/skills/animal-handling" } ], "meta": { "cached": false, "endpoint": "skills", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
skill
/v1/dnd5e/skillOne skill, the ability it uses and what it covers.
Parameters
indexstring required | Index of the item, such as wizard or elf. e.g. athletics |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
abilityScore | string |
description | string |
index | string |
name | string |
curl "https://api.hoshime.com/v1/dnd5e/skill?index=athletics" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/skill?index=athletics", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/skill?index=athletics", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "abilityScore": "str", "description": "Your Strength (Athletics) check covers difficult situations you encounter while climbing, jumping, or swimming.", "index": "athletics", "name": "Athletics" }, "meta": { "cached": false, "endpoint": "skill", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
classSpells
/v1/dnd5e/classSpellsThe spells one class can learn, optionally at one spell level, paged.
Parameters
classstring required | Class index, such as wizard. e.g. wizard |
levelinteger | Spell level, from 0 for cantrips to 9. e.g. 3 |
limitinteger | Items per page, from 1 to 500. default 50e.g. 10 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
index | string |
level | integer (int64) |
name | string |
url | string |
curl "https://api.hoshime.com/v1/dnd5e/classSpells?class=wizard&level=3&limit=10" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/classSpells?class=wizard&level=3&limit=10", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/classSpells?class=wizard&level=3&limit=10", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "index": "animate-dead", "level": 3, "name": "Animate Dead", "url": "https://www.dnd5eapi.co/api/2014/spells/animate-dead" }, { "index": "bestow-curse", "level": 3, "name": "Bestow Curse", "url": "https://www.dnd5eapi.co/api/2014/spells/bestow-curse" } ], "meta": { "cached": false, "endpoint": "classSpells", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
subclasses
/v1/dnd5e/subclassesThe character subclasses, such as Champion or Evocation's school of wizard, with their indexes.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
index | string |
name | string |
url | string |
curl "https://api.hoshime.com/v1/dnd5e/subclasses" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/subclasses", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/subclasses", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "index": "…", "name": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "subclasses", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
subclass
/v1/dnd5e/subclassOne character subclass: the class it belongs to, its flavor and description.
Parameters
indexstring required | Index of the item, such as wizard or elf. e.g. champion |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
class | Ref |
index | string |
name | string |
url | string |
description | string |
flavor | string |
index | string |
name | string |
curl "https://api.hoshime.com/v1/dnd5e/subclass?index=champion" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/subclass?index=champion", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/subclass?index=champion", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "class": { "index": "…", "name": "…", "url": "https://…" }, "description": "…", "flavor": "…", "index": "…", "name": "…" }, "meta": { "cached": false, "endpoint": "subclass", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
rules
/v1/dnd5e/rulesThe rule sections of the SRD, such as Combat or Spellcasting, with their indexes.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
index | string |
name | string |
url | string |
curl "https://api.hoshime.com/v1/dnd5e/rules" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/rules", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/rules", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "index": "…", "name": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "rules", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }
rule
/v1/dnd5e/ruleOne rule of the SRD, such as Combat: its text and the sections under it.
Parameters
indexstring required | Index of the item, such as wizard or elf. e.g. combat |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
description | string |
index | string |
name | string |
sections | Ref[] |
index | string |
name | string |
url | string |
curl "https://api.hoshime.com/v1/dnd5e/rule?index=combat" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dnd5e/rule?index=combat", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dnd5e/rule?index=combat", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "description": "…", "index": "…", "name": "…", "sections": [ { "index": "…", "name": "…", "url": "https://…" } ] }, "meta": { "cached": false, "endpoint": "rule", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "dnd5e", "requestId": "req_2Xb9kQ…", "units": 1 } }