{"uid":"cap_RUHYgQaUC-s0i0OBT1k4x","slug":"secure-random-generator-f39b1973","name":"Secure Random Generator","description":"Cryptographically secure random values: UUID v4 or v7, strong passwords, hex or URL-safe tokens, integers in a range, dice rolls or coin flips, up to 100 at once.","url":"https://bess-x402.onrender.com/v1/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":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"kind":{"type":"string","description":"uuid, uuid7, password, hex, token, integer, dice or coin"},"count":{"type":"integer","description":"How many (1-100)"},"length":{"type":"integer","description":"Length for password/hex/token"},"max_value":{"type":"integer","description":"Maximum for integer, sides for dice"},"min_value":{"type":"integer","description":"Minimum for integer"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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.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_PdwiU8M6zSd9FJeI5FvdR","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 cryptographically secure random values including UUIDs, passwords, hex/URL-safe tokens, integers, dice rolls, and coin flips — up to 100 at once.","exampleAgentPrompt":"Generate 10 cryptographically secure UUID v4s for me — I need them for new database records.","exampleUseCases":[{"title":"Secure session token generation","prompt":"Create a cryptographically secure URL-safe token 32 characters long for a new user session — I need 5 of them at once."},{"title":"Tabletop dice rolling","prompt":"Roll 20 six-sided dice for me and give me all the results."},{"title":"Batch password creation","prompt":"Generate 15 strong random passwords, each 16 characters long, for provisioning new employee accounts."}],"resultDescription":"Returns an array (up to 100 items) of the requested random values. For UUIDs, returns standard UUID strings. For passwords/hex/tokens, returns strings of the specified length. For integers, returns numbers within the given min/max range. For dice, returns integers from 1 to max_value. For coin, returns 'heads' or 'tails'. All values are cryptographically secure.","failureModes":["count out of range (must be 1-100) returns a 400 error","invalid kind value returns a 400 error","length not provided for password/hex/token kinds","max_value not provided for integer or dice kinds","min_value greater than max_value returns a 400 error","payment not received or x402 payment failure returns a 402 error","service temporarily unavailable on Render.com free tier cold start"],"whenToPreferThis":"Choose this endpoint when you need cryptographically secure randomness (not pseudo-random) for security-sensitive use cases like tokens, nonces, session IDs, or passwords. Prefer over language-runtime random() calls when auditability and true entropy are required. Supports batch generation (up to 100) in a single call, making it efficient for provisioning flows. Ideal for agents that need UUIDs, secure tokens, or dice/coin results without implementing their own CSPRNG.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:33:50.782Z","isFirstParty":false,"canonicalSlug":"secure-random-generator-f39b1973"}