{"uid":"cap_1tEfwDCPQKsDYY3yV-R0R","slug":"solgiery-random-dice-roller-0d8d87a5","name":"Solgiery Random Dice Roller","description":"Roll 1 to 1000 independent fair dice. Each result is an integer from 1 to sides inclusive; sides defaults to 6. Uses the server OS CSPRNG. Returns consumed bytes for reproducible calculation, not proof of their origin. Price: 0.007 USDC per request, including the bounded batch.","url":"https://api.solgiery.com/v1/random/dice","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"count":{"type":"integer","default":1,"maximum":1000,"minimum":1},"sides":{"type":"integer","default":6,"maximum":1000,"minimum":2}},"description":"Unknown or duplicate parameters and null parameter values are rejected. JSON body: at most 65536 bytes, depth 16, and 4096 bytes per item. Repeated sample items together must fit 65536 bytes.","additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["algorithm","result","entropy"],"properties":{"result":{"type":"array","items":{"type":"integer","maximum":1000,"minimum":1},"maxItems":1000,"minItems":1},"entropy":{"type":"object","required":["source","hex"],"properties":{"hex":{"type":"string","pattern":"^([0-9a-f]{2})*$","maxLength":262144},"source":{"type":"string","const":"os-csprng"}},"additionalProperties":false},"algorithm":{"type":"string","const":"solgiery-random-v1"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_61UntxZ8mxCgU8PD53LPk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Roll 1 to 1000 independent fair dice with a configurable number of sides using server-side CSPRNG","exampleAgentPrompt":"Roll 3 twenty-sided dice for me using cryptographically secure randomness — I need the results for a D&D encounter.","exampleUseCases":[{"title":"Tabletop RPG character stat generation","prompt":"Roll 6 sets of 4d6 for me so I can generate my D&D character's ability scores — each die has 6 sides."},{"title":"Board game dice simulation","prompt":"Simulate rolling 2 standard six-sided dice for my board game — I need fair, random results I can trust."},{"title":"Random number generation for a game show","prompt":"Roll 100 dice each with 10 sides so I can use the results to randomly assign contestants to groups."}],"resultDescription":"Returns a JSON object containing an array of integer dice results (one per die, each between 1 and the number of sides inclusive), an entropy object with the raw CSPRNG hex bytes consumed and the source identifier 'os-csprng', and an algorithm string 'solgiery-random-v1'. The consumed bytes are provided for reproducible audit calculations but do not prove their origin.","failureModes":["count out of range (must be 1–1000) returns 400","sides out of range (must be 2–1000) returns 400","unknown or duplicate query parameters are rejected with 400","null parameter values are rejected","payment not settled via x402 returns 402 Payment Required","request body exceeds 65536 bytes returns 400"],"whenToPreferThis":"Choose this endpoint when you need cryptographically secure, auditable dice rolls with a configurable number of sides (2–1000) and up to 1000 dice per call. It is ideal for gaming applications, simulations, or any use case requiring verifiable fair randomness with entropy bytes for auditability. Prefer over pseudo-random client-side alternatives when fairness guarantees and server-side CSPRNG provenance matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:03.816Z","isFirstParty":false}