{"uid":"cap_84IOfiYYbFZ-LMqXLQl3L","slug":"yruz-random-bytes-generator-45ff3ee6","name":"YRUZ Random Bytes Generator","description":"YRUZ is a free social network: create a profile, join public groups, attend events, read free guides on community building and creator income.","url":"https://yruz.one/api/util/random?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bytes":{"type":"string","description":"1-256 (default 32)"}}},"responseSchema":{"type":"json","example":{"tool":"random","result":{}}},"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_FADM7alWg1R7O7C2ZbHK9","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 random bytes of a specified length (1–256 bytes, default 32)","exampleAgentPrompt":"Generate 64 random bytes for me to use as a secure nonce.","exampleUseCases":[{"title":"Secure token generation for auth","prompt":"I need 32 random bytes to use as a secure session token for my app — can you generate that for me?"},{"title":"Random seed for cryptographic key","prompt":"Generate 64 random bytes to use as a seed for a cryptographic key derivation function."},{"title":"Nonce for API request signing","prompt":"I need a fresh 16-byte random nonce for signing an API request — can you get that now?"}],"resultDescription":"A JSON object with a 'tool' field set to 'random' and a 'result' object containing the generated random bytes data, produced server-side with the requested byte length.","failureModes":["Invalid 'bytes' value outside the 1–256 range returns an error","Non-integer or malformed 'bytes' field may cause a validation error","Payment failure (x402) results in a 402 response before any data is returned","Network timeouts or service unavailability return 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a quick, server-side source of random bytes without setting up a local CSPRNG, or when you want randomness generated remotely as part of a distributed workflow. Useful for generating nonces, tokens, salts, or seeds of 1–256 bytes in a pay-per-call model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:43:40.453Z","isFirstParty":false,"canonicalSlug":"yruz-random-bytes-generator-45ff3ee6"}