{"uid":"cap_nbmTcd4KIXA5AsrdxFvEm","slug":"rng-sociologic-ai-9a26bf5e","name":"rng.sociologic.ai Dice Roll","description":"Roll a die with configurable number of sides (2-1000)","url":"https://rng.sociologic.ai/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":{"sides":{"type":"integer","default":6,"maximum":1000,"minimum":2,"description":"Number of sides (2-1000)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"sides":20}}},"response":{"roll":12,"sides":20,"entropy":{"hex":"babf76fb","raw":3133110011}}},"exampleRequest":{"sides":20},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x4zXce-WY_6vA0eDyai95","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Roll a virtual die with a configurable number of sides (2 to 1000) using a cryptographically secure random number generator","exampleAgentPrompt":"Roll a 20-sided die for me using a cryptographically secure random generator.","exampleUseCases":null,"resultDescription":"An integer result representing the outcome of rolling a die with the specified number of sides, generated using a cryptographically secure RNG. The value will be between 1 and the number of sides (inclusive).","failureModes":["sides parameter below 2 or above 1000 returns a validation error","non-integer sides value causes a bad request","payment failure (402) if USDC payment is not provided or insufficient","network timeout if service is unavailable"],"whenToPreferThis":"Use this endpoint when you need a single cryptographically secure die roll with a customizable number of sides (2–1000), especially for gaming, simulations, lotteries, or any application requiring a fair, tamper-resistant random integer within a bounded range. Prefer over generic random integer endpoints when the dice/sides metaphor fits your use case or when you specifically want a value from 1 to N inclusive.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:36:03.577Z","isFirstParty":false}