{"uid":"cap_KJtg6D6_S75mR8i3gignl","slug":"dicex402-dice-roller-c6c0e23c","name":"DiceX402 Dice Roller","description":"Roll a dice with any number of faces. Specify faces via ?faces=N query parameter.","url":"https://dicex402.vercel.app/api/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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iTuAsTy2fCmQxz4VlMMpk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Rolls a virtual dice with a configurable number of faces and returns the result","exampleAgentPrompt":"Roll a 20-sided dice for me.","exampleUseCases":null,"resultDescription":"Returns the result of a single dice roll — a random integer between 1 and the specified number of faces.","failureModes":["Invalid or missing faces parameter may return an error or default behavior","Non-integer faces value causes a bad request error","Payment not included or insufficient results in 402 Payment Required response","Faces value of 0 or negative may cause an error or undefined behavior"],"whenToPreferThis":"Use this endpoint when you need a simple, randomized dice roll with a configurable number of faces, especially for gaming, simulations, or any scenario requiring a fair random integer within a range. It is a lightweight, pay-per-use utility ideal for agents that only occasionally need dice rolls without maintaining their own randomization logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:19.643Z","isFirstParty":false}