{"uid":"cap_KwmWDceFWJ232kezJl32l","slug":"x402-zoo-dice-roller-2308917d","name":"x402-zoo Dice Roller","description":"Roll dice such as d20, 2d6 or 3d8+2 for tabletop RPGs, simulations, probability sampling, games and randomized agent decisions.","url":"https://x402-zoo.lolagent.workers.dev/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"},"queryParams":{"type":"object","required":[],"properties":{"notation":{"type":"string","description":"Dice notation, e.g. d20 or 3d6+2"}}}},"additionalProperties":false}}},"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__Bfexr5sFTbK1ykIyVIKX","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 dice using standard tabletop notation (e.g. d20, 2d6, 3d8+2) and returns the result for RPGs, simulations, and randomized decisions.","exampleAgentPrompt":"Roll 3d8+2 dice for me — I need the result for a tabletop RPG damage calculation.","exampleUseCases":[{"title":"D&D combat damage roll","prompt":"I'm playing D&D — roll 2d6+3 for my greatsword damage roll against the goblin."},{"title":"Random NPC stat generation","prompt":"Generate stats for a new character by rolling 4d6 six times so I can assign them to STR, DEX, CON, INT, WIS, and CHA."},{"title":"Probabilistic agent decision","prompt":"I need my agent to make a random weighted decision — roll a d20 and tell me the result so I can branch the workflow."}],"resultDescription":"Returns the outcome of the dice roll in the requested notation, including the total result and potentially individual die values, computed using standard tabletop RPG dice rules.","failureModes":["Invalid dice notation format returns an error (e.g. missing 'd', unsupported notation)","Extremely large dice counts or sides may be rejected or time out","Missing 'notation' query parameter may return an error or default behavior","Network timeouts on the Cloudflare Worker edge"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, standards-compliant dice roll using tabletop RPG notation (XdY+Z format) for games, simulations, probabilistic branching, or any randomized decision that maps cleanly to dice mechanics. Prefer this over a generic random number generator when the dice-notation semantics (multiple dice, modifiers) are needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:30:19.089Z","isFirstParty":false}