{"uid":"cap_SMrwmJtvUA0-cojVcSVWL","slug":"agent-data-tools-random-number-generator-f6b229da","name":"Agent Data Tools: Random Number Generator","description":"One or more random whole numbers in a range (inclusive), optionally all different, from a cryptographic random source. Use for draws, sampling and games.","url":"https://agent-data-tools.revmesh2074.workers.dev/random/number?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"max":{"type":"integer","description":"Highest value (default 100)"},"min":{"type":"integer","description":"Lowest value (default 1)"},"count":{"type":"integer","description":"How many (1-1000, default 1)"},"unique":{"type":"string","description":"true for no repeats"}}},"responseSchema":{"type":"object","properties":{"numbers":{"type":"array","items":{"type":"number"}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__yc2MhaJyfs0_y5zvSiMT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates one or more random numbers and returns them as a JSON array","exampleAgentPrompt":"Give me 3 random numbers using the Agent Data Tools random number endpoint — pay per call in USDC.","exampleUseCases":[{"title":"Random sampling for agent simulation","prompt":"I need 5 random numbers to seed a simulation run — can you generate them for me right now?"},{"title":"Pick a random winner from entries","prompt":"We have 50 contest entries numbered 1 to 50 — pick 3 random numbers so I can identify the winners."},{"title":"Random value for testing pipeline","prompt":"Generate a random number I can use as a test input to verify my data processing pipeline is working correctly."}],"resultDescription":"Returns a JSON object with a 'numbers' array containing one or more randomly generated integers, e.g. {\"numbers\":[42,7,93]}.","failureModes":["Invalid query parameters may result in an error response","Network or worker-side failure may return a non-200 status; failed calls are not charged","Requesting an unreasonable count or out-of-range values may cause a validation error"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call random number generation without account setup or API keys, especially within an agent workflow already using the Agent Data Tools suite and paying via x402 USDC micropayments on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:07:01.401Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-random-number-generator-f6b229da"}