{"uid":"cap_r803kMeigdDPx-VSPCw9Q","slug":"dice-roller-cryptographically-secure-39135ecc","name":"Dice Roller (Cryptographically Secure)","description":"Roll dice with any number of faces and get every roll plus the total. Uses the platform CSPRNG with rejection sampling, so every face is equally likely - a plain modulo is biased. Standard dice notation: 3d6, 1d20.","url":"https://flat-rate-llm.kikoribera03.workers.dev/v1/random/dice?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"count":{"type":"number","description":"How many dice to roll, 1-100. Defaults to 1."},"faces":{"type":"number","description":"Faces per die, 2-1000000. Defaults to 6."}}},"responseSchema":{"type":"object","properties":{"count":{"type":"number"},"faces":{"type":"number"},"rolls":{"type":"array","items":{"type":"object"}},"total":{"type":"number"},"notation":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OdJWUhxLXafFomnEKQobA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Rolls any number of dice with any number of faces using CSPRNG with rejection sampling, returning each individual roll and the total.","exampleAgentPrompt":"Roll 3d6 for me — I need three six-sided dice rolled fairly with each result shown and the total.","exampleUseCases":[{"title":"Tabletop RPG character creation","prompt":"I'm making a D&D character — roll 4d6 and show me each die result plus the total so I can drop the lowest."},{"title":"Board game turn randomization","prompt":"Roll 2d10 for my board game turn and give me both individual rolls and the sum."},{"title":"Percentile skill check","prompt":"Roll a 1d100 for a percentile skill check — I need a fair, unbiased result."}],"resultDescription":"Returns a JSON object containing the requested count and faces, an array of individual roll results (each as an object), the summed total across all dice, and the dice notation string (e.g. '3d6').","failureModes":["count out of range (must be 1–100) returns an error","faces out of range (must be 2–1,000,000) returns an error","non-integer or missing parameters may cause validation errors","x402 payment failure if USDC balance is insufficient"],"whenToPreferThis":"Prefer this endpoint when you need cryptographically fair dice rolls (CSPRNG + rejection sampling, not biased modulo arithmetic), especially for gaming, simulations, or any use case where statistical fairness matters. Suitable for standard dice notation like 3d6 or 1d20, and supports up to 100 dice with up to 1,000,000 faces each.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T18:34:41.740Z","isFirstParty":false,"canonicalSlug":"dice-roller-cryptographically-secure-39135ecc"}