Dice Roller API
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.
Live Test API
Try out the Dice Roller with a live request and see the response in real-time.
API Request
API Response
123456789101112131415161718192021222324{ "status": "ok", "error": null, "data": { "dice_notation": "3d6", "num_dice": 3, "num_sides": 6, "modifier": 5, "rolls": [ 6, 4, 4 ], "total": 14, "total_with_modifier": 19, "min_roll": 4, "max_roll": 6, "average_roll": 4.67, "theoretical_min": 3, "theoretical_max": 18, "theoretical_average": 10.5, "expression": "3d6+5" } }
Multiple Access Methods
REST API with multiple response formats, GraphQL, and MCP for AI agents
View all integrationsJSON
JavaScript Object Notation
XML
Extensible Markup Language
YAML
Human-readable data format
CSV
Comma-separated values
GraphQL
Query language for APIs
MCP
AI agent integration
Skip the HTTP calls. Use our official packages
Integrate faster with type-safe SDKs and comprehensive documentation
View all integrationsRelated APIs
Explore other games APIs that complement the Dice Roller
Frequently Asked Questions
Get answers to common questions about the Dice Roller API
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. The API returns structured data in JSON, XML, or YAML format, making it easy to integrate into any application or workflow.
How fast is the Dice Roller API?
The Dice Roller API has an average response time of 119ms, with a median (p50) of 115ms and 99th percentile of 148ms. Our infrastructure maintains 99.9% uptime with servers distributed globally for low latency.
How much does the Dice Roller API cost?
Each call to the Dice Roller API uses 1 credit. The free tier includes 100 credits per month. Paid plans start at $29.99/month with higher limits, and enterprise plans offer custom pricing with priority support.
How do I authenticate Dice Roller API requests?
Include your API key in the request header as X-API-Key: your_key_here. All requests are made over HTTPS for security. You can get your API key by signing up for a free account.
What HTTP methods does Dice Roller support?
The Dice Roller API supports GET requests. Simply pass your parameters as query strings in the URL. Check our documentation for detailed parameter specifications.
Ready to integrate Dice Roller API?
Join thousands of developers building amazing applications with reliable API data. Get started with your free API key today.