{"uid":"cap_K94BHcsFto0rk2EJUPOT6","slug":"x402-toolbox-random-number-generator-ed5c4afd","name":"x402-toolbox Random Number Generator","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/util/random-number-generator?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gmHlbL2k0qgMqfgSEIs8D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a random number on demand, paid per-call via x402 USDC microtransaction on Base with no API key required.","exampleAgentPrompt":"Can you generate a random number for me right now — no API key needed, just pay the micro fee automatically?","exampleUseCases":[{"title":"Lottery pick for a giveaway","prompt":"Pick a random number for our giveaway draw — just generate one on the spot without needing me to set up an account anywhere."},{"title":"Random seed for simulation","prompt":"I need a fresh random number to use as a seed for my Monte Carlo simulation run — grab one for me automatically."},{"title":"Game mechanic random roll","prompt":"Roll a random number for the next turn in my game — pay the small fee automatically and just give me the result."}],"resultDescription":"Returns a JSON object with ok: true and paid: true, along with the generated random number value, confirming the microtransaction was processed and the number was successfully produced.","failureModes":["Payment not received or insufficient USDC balance — returns 402 Payment Required","Invalid schema parameter format — may return 400 Bad Request","Cloudflare Worker timeout or service unavailability — returns 5xx error","Network failure during x402 payment handshake — transaction not completed, no number returned"],"whenToPreferThis":"Choose this endpoint when you need a quick random number in an agent workflow that already supports x402 USDC micropayments on Base and you want to avoid API key management entirely. It is ideal for stateless, one-off randomness needs in autonomous agent pipelines where payment is the only identity required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:48:37.145Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-random-number-generator-ed5c4afd"}