Dice Roller API GET

Dice Roller is a tool for rolling dice using standard RPG notation (XdY format). It supports multiple dice, various die sizes, modifiers, and provides statistics including min, max, average, and theoretical values for gaming and simulations.

Try it — live request, no key required

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

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

200 OK
{
  "status": "ok",
  "error": null,
  "data": {
    // Dice Roller response payload
  }
}

About the Dice Roller API

Dice Roller works by parsing dice notation (e.g., 3d6+5), simulating random dice rolls, and calculating totals with modifiers. Returns individual roll results, statistics, and theoretical probability ranges.

What people use it for

RPG Gaming
Roll dice for tabletop RPGs, D&D sessions, and role-playing game mechanics
Game Development
Implement dice rolling mechanics in digital games and gaming applications
Probability
Demonstrate probability concepts and dice statistics for educational purposes
Simulations
Generate random numbers with dice distributions for simulations and testing

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 Dice Roller

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

Questions.

Common questions about the Dice Roller API.

Read the docs
What does the Dice Roller API do?
Dice Roller is a tool for rolling dice using standard RPG notation (XdY format). It supports multiple dice, various die sizes, modifiers, and provides statistics including min, max, average, and theoretical values for gaming and simulations.
How do I authenticate Dice Roller API requests?
Pass your API key in the x-api-key header over HTTPS. One key works across all 300+ APIVerve APIs — there are no per-endpoint credentials.
How much does the Dice Roller API cost?
Each call spends 2 credits from your shared pool. The free tier includes 200 credits every month, and paid plans add more headroom.
How fast is the Dice Roller API?
Response time depends on the endpoint — the p50 through p99 latency for this API is published on this page. Requests are served over HTTPS through a global edge network.
What response formats does the Dice Roller API support?
JSON by default, plus XML and YAML via the format parameter. GraphQL and an MCP interface for AI agents are available across the catalog.
What HTTP method does the Dice Roller API use?
GET over HTTPS, following standard REST conventions with a consistent { status, error, data } response envelope.

Ready to build with Dice Roller? 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