D&D Generator API

GET

Populate tabletop campaigns with instant characters and quests.

D&D Generator creates random content for tabletop role-playing games including characters, NPCs, monsters, treasure, encounters, taverns, and quests.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/dndgenerator
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "type": "character",
    "count": 1,
    "results": {
      "name": "Ashorshadow",
      "race": "Elf",
      "class": "Warlock",
      "level": 6,
      "background": "Criminal",
      "alignment": "Lawful Good",
      "stats": {
        "strength": 10,
        "dexterity": 12,
        "constitution": 7,
        "intelligence": 15,
        "wisdom": 12,
        "charisma": 10
      },
      "hitPoints": 20
    }
  }
}

About the D&D Generator API

Perfect for dungeon masters who need quick inspiration, game preparation tools, or procedural content generation for RPG applications.

What people use it for

Game Preparation
Generate NPCs, encounters, and quests for tabletop RPG sessions
Character Creation
Create random characters with stats, backgrounds, and personalities
World Building
Generate taverns, locations, and story hooks for campaign settings
RPG Applications
Integrate procedural content generation into gaming platforms

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use D&D Generator

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the D&D Generator API.

Read the docs →
What types of tabletop content can I generate?
You can generate characters, NPCs, monsters, treasure, encounters, taverns, and quests. Each request takes a content type parameter and returns structured details designed for campaign preparation, random encounters, or procedural RPG tools.
Can I generate multiple items in a single call?
Yes, you can pass a count parameter to receive multiple generated items in one request. The response returns an array of generated results alongside the content type and total count.
What character attributes are returned in the response?
Character entries provide a name, fantasy race, and character class. On paid plans, the response also includes character level, narrative background, moral alignment, hit points, and ability scores for strength, dexterity, constitution, intelligence, wisdom, and charisma.
Are character stats, hit points, and levels included on the Free plan?
No, character levels, backgrounds, moral alignments, hit points, and core ability scores are premium fields. The Free plan returns basic character identification including name, race, and class. Any paid plan unlocks full stats and narrative attributes.
How far does the Starter plan go for generating D&D content?
Starter provides 200,000 credits each month, covering up to 100,000 generations at 2 credits per call. That works out to about $0.30 per 1,000 generations, or roughly $0.0003 per call. You can also test with 100 free generations every month on the Free plan.

Ready to build with D&D Generator? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs