{"uid":"cap_I4tGTtf913FhmWeg4rXAV","slug":"x402-shizu-me-random-number-generator-6c9ced04","name":"x402.shizu.me Random Number Generator","description":"Cryptographically-secure randomness with a receipt. GET ?bytes= returns hex (1-256 bytes); add ?min=&max= for a uniform integer in an inclusive range. Each response carries a request_id and timestamp — unbiased entropy an agent can cite to a counterparty, not a seeded PRNG. Need provable fairness over time? /rand/commit does commit-reveal (commitment now, value later).","url":"https://x402.shizu.me/rand","method":"GET","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["method"],"properties":{"method":{"const":"GET"},"queryParams":{"type":"object","required":["bytes"],"properties":{"bytes":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"ts":1784300000,"hex":"9f...c1","request_id":"a1b2c3d4e5f6a7b8"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fOOvDtlSzBtShqjqupxR7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns cryptographically-secure random bytes as hex or a uniform random integer within an inclusive range, each response including a request_id and timestamp for auditability.","exampleAgentPrompt":"Give me a cryptographically secure random integer between 1 and 100 — I need a verifiable receipt with a request ID and timestamp so I can cite it.","exampleUseCases":null,"resultDescription":"A JSON response containing either a hex string of the requested random bytes (1–256 bytes) or a uniform random integer within the specified inclusive range, accompanied by a request_id and timestamp for audit and citation purposes.","failureModes":["bytes parameter out of range (must be 1–256): returns error","min greater than max in integer range request: returns error","missing required parameters returns descriptive error","payment failure or insufficient USDC balance blocks the request"],"whenToPreferThis":"Prefer this endpoint when the agent needs unbiased, cryptographically-secure entropy with an auditable receipt — not a seeded PRNG — especially when the random output must be cited, logged, or verified later. Ideal for fair draws, nonce generation, or any workflow where tamper-evidence matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:50:20.842Z","isFirstParty":false}