{"uid":"cap_7P1hDD6Iw-PN99OqEZzID","slug":"util-beauty-crypto-random-generator-7cae6601","name":"util.beauty Crypto Random Generator","description":"Metered web utilities for developers and AI agents: browser screenshot and PDF, crypto, DNS and net tools. Pay per request with x402 (USDC on Base) or prepaid API keys.","url":"https://util.beauty/v1/crypto/random","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","properties":{"body":{"type":"object","description":"JSON request body (see OpenAPI for the utility schema).","additionalProperties":true}}},"output":{"type":"object","properties":{"example":{"type":"object","properties":{"ok":{"type":"boolean"},"utility":{"type":"string"},"requestId":{"type":"string"},"chargedCredits":{"type":"number"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"ok":true,"utility":"…","requestId":"req_…","chargedCredits":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2JpGYlYn3Zr2Jy6qTgFr7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 data on demand via a metered pay-per-request API","exampleAgentPrompt":"Generate a cryptographically secure random value for me — I need it to use as a nonce for a signing operation.","exampleUseCases":[{"title":"Secure API key generation","prompt":"I need a cryptographically secure random string to use as an API key for my new service — can you generate one for me?"},{"title":"Nonce for cryptographic signing","prompt":"Generate a secure random nonce I can use when signing a message with ECDSA so I avoid replay attacks."},{"title":"Random seed for key derivation","prompt":"I need a random 256-bit seed value to use as input for deriving an encryption key — please generate one securely."}],"resultDescription":"A JSON object containing a boolean ok field, the utility name (e.g. 'crypto/random'), a unique requestId string, the number of credits charged, and the generated random output data.","failureModes":["Payment failure if x402 USDC payment or prepaid API key is invalid or insufficient — returns 402 Payment Required","Malformed request body returns 400 Bad Request with error details","Network or server errors return 5xx responses","Rate limiting may occur if request volume is too high"],"whenToPreferThis":"Choose this endpoint when you need cryptographically secure random data on demand without provisioning your own crypto infrastructure, especially in agent pipelines or serverless contexts where pay-per-request billing (USDC via x402) is preferable to maintaining a subscription. It is ideal for one-off or low-volume randomness needs in security-sensitive contexts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:45:09.970Z","isFirstParty":false}