{"uid":"cap_tWDHGB_DOU2Y2z6lngfXx","slug":"manylives-tools-cryptographically-secure-random-integer-generator-d1adb4c1","name":"ManyLives Tools — Cryptographically Secure Random Integer Generator","description":"Pay-per-call tools for people building AI agents: live web search and page contents, point-in-time crypto market data and news for backtests (no lookahead), verifiable track records of 1,000 crypto strategies locked on the Base network, company profiles, quick AI and batch prices. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.","url":"https://api.manylives.me/paid/util/random?utm_source=zero.xyz","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":{"type":"string","const":"GET"},"queryParams":{"type":"object","required":[],"properties":{"max":{"type":"string","examples":["6"],"description":"optional (default 100)"},"min":{"type":"string","examples":["1"],"description":"optional (default 1)"},"count":{"type":"string","examples":["3"],"description":"optional (default 1, max 1000)"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","properties":{"max":{"type":"number"},"min":{"type":"number"},"numbers":{"type":"array","items":{"type":"number"}}}}}}}},"responseSchema":{"type":"json","example":{"max":6,"min":1,"numbers":[4,2,6]}},"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_TA0fcx5KH-O3ppcAvbApc","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 up to 1,000 cryptographically secure, unbiased random integers within a caller-specified min/max range per call.","exampleAgentPrompt":"Give me 10 cryptographically secure random integers between 1 and 100 — I need them for a fair lottery draw.","exampleUseCases":[{"title":"Fair lottery ticket number draw","prompt":"Pick 6 unique random numbers between 1 and 49 for a lottery draw — they need to be cryptographically secure and unbiased."},{"title":"Random game dice roller","prompt":"Simulate rolling 20 six-sided dice at once — give me 20 random integers between 1 and 6 using secure randomness."},{"title":"Random sample index selection","prompt":"I have a dataset indexed from 0 to 999 and I need to randomly pick 50 items from it — generate 50 cryptographically secure random integers between 0 and 999 for me."}],"resultDescription":"Returns a JSON object containing the array of generated random integers (numbers[]), along with the min and max bounds used. Example: {\"min\":1,\"max\":6,\"numbers\":[4,2,6]}. Up to 1,000 integers can be returned per call.","failureModes":["Invalid range if min >= max — likely returns an error or empty result","count > 1000 may be rejected or capped","Non-integer or missing query params may cause a 400 bad request","Payment failure (x402) if USDC payment not properly attached","Network timeout for very large counts near the 1,000 limit"],"whenToPreferThis":"Prefer this endpoint when you need cryptographically secure, statistically unbiased random integers — not pseudo-random numbers from a standard math library. Ideal for security-sensitive use cases like cryptographic key material, fair lottery draws, randomized controlled experiments, or game mechanics where predictability must be ruled out. Use it when you need bulk generation (up to 1,000 at once) with a defined integer range.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:42:13.408Z","isFirstParty":false,"canonicalSlug":"manylives-tools-cryptographically-secure-random-integer-generator-d1adb4c1"}