Parse a notation
API · /dice-api
Dice API
A fast, fully-local dice toolkit for games and simulations: roll dice notation (NdM with plus and minus modifiers, multiple dice terms like 1d8+1d6+2, and keep-highest or keep-lowest for advantage and disadvantage such as 2d20kh1), parse and validate a notation, and compute the deterministic minimum, maximum and mean of a roll. Rolls use a cryptographically secure random source. Every endpoint accepts input via the query string or the request body. Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for tabletop and RPG tools, Discord and chat bots, virtual tabletops and game backends.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 80 ms
- Server probes · 24h
- Subscribers
- 4,735
- active
- Total calls
- 6
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 19,000 calls / month
- 4 requests / second
- Hard cap (429 above quota, no overage)
- 19,000 rolls/month, 4 req/s
- Roll any NdM dice notation + parse + min/max/mean stats
- No credit card
Basic
€3.00 /month
- 310,000 calls / month
- 12 requests / second
- Hard cap (429 above quota, no overage)
- 310,000 rolls/month, 12 req/s
- Modifiers, multiple dice terms, keep highest/lowest (advantage)
- Cryptographically-random rolls
- Commercial use, email support
Pro
€10.00 /month
- 1,750,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- 1,750,000 rolls/month, 40 req/s
- Higher throughput for bots & virtual tabletops
- Query or JSON body input
- Priority email support
Mega
€28.00 /month
- 9,200,000 calls / month
- 130 requests / second
- Hard cap (429 above quota, no overage)
- 9,200,000 rolls/month, 130 req/s
- Bulk roll volume for game platforms & live tables
- Maximum throughput
- Priority support
Built by
Related APIs
Other APIs with overlapping tags.
Pokémon API
Pokémon details — types, abilities, base stats, height, weight, sprites and official artwork — the full Pokédex roster, and type matchups with damage relations. Backed by PokeAPI. Perfect for games, fan apps, team builders, quizzes and chatbots.
api.oanor.com/pokemon-api
Twitch API
35 endpoints for live Twitch data — users, streams, videos, clips, search, URL helpers.
api.oanor.com/twitch-api
Astronomy API
A fast, fully-local astronomy and ephemeris engine: compute the equatorial (right-ascension/declination) and horizontal (azimuth/altitude) positions of the Sun, Moon and all planets for any observer and moment, get precise rise, set and transit (culmination) times for any body, read detailed lunar state (phase angle, named phase, illuminated fraction, apparent magnitude, geocentric distance, age since the last new moon and the dates of the next new/first-quarter/full/last-quarter moons), and list the exact equinoxes and solstices of any year. Every endpoint accepts input via the query string or the request body. Pure server-side computation (no third-party upstream), so responses are instant and always available. Ideal for weather and tide apps, astrophotography planners, calendars, solar/energy tools, Islamic and lunar calendars, and education.
api.oanor.com/astronomy-api
Geohash API
Work with geohashes through a fast, fully-local API. Encode a latitude/longitude pair into a geohash at any precision (1–12), decode a geohash back to its centre coordinates with the exact bounding box and error margins, list the eight neighbouring geohash cells (north, north-east, east and so on), or get the bounding box, centre and dimensions of a cell. Geohashes turn coordinates into short sortable strings that are perfect for spatial indexing, proximity grouping and map tiling. Pure server-side computation with no third-party upstream, so responses are instant and the service is always available. Ideal for geospatial indexing and search, proximity and nearby queries, map tiles and clustering, IoT and fleet tracking, and location bucketing in databases.
api.oanor.com/geohash-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Dice API?
What's the rate limit for Dice API?
How much does Dice API cost?
Can I cancel my subscription anytime?
Is Dice API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/dice-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/dice-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/dice-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/dice-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.