{"uid":"cap_fRaMFUexczSf_whyk_2SM","slug":"shop-northheart-app-random-integer-and-bytes-generator-de7bd5b8","name":"shop.northheart.app Random Integer and Bytes Generator","description":"A random integer (0 to 1,000,000) and 16 random bytes in hex","url":"https://shop.northheart.app/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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"hex":{"type":"string"},"integer":{"type":"integer"}}}}}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xBC0-St2gS6HywlaNPsl2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a random integer (0–1,000,000) and 16 random bytes encoded as a hex string","exampleAgentPrompt":"Give me a random number between 0 and 1,000,000 and 16 random bytes in hex — I need fresh randomness for a nonce.","exampleUseCases":[{"title":"Lottery ticket number picker","prompt":"Pick a random number between 0 and a million for my weekly lottery draw — I need something truly unpredictable."},{"title":"Cryptographic nonce generation","prompt":"I need a random nonce for signing a message — give me 16 random bytes in hex along with a random integer."},{"title":"Random seed for simulation","prompt":"Generate a random integer and some random bytes in hex I can use as a seed for my agent's simulation run."}],"resultDescription":"A JSON object containing a random integer in the range 0–1,000,000 and 16 cryptographically random bytes encoded as a hex string.","failureModes":["Payment failure (x402 payment not accepted or insufficient USDC balance)","Network timeout or server unavailability","Malformed response if upstream randomness source fails"],"whenToPreferThis":"Choose this endpoint when you need both a bounded random integer and raw random bytes in a single paid API call, especially in an x402 micropayment context where auditability of the payment is important. Prefer over free alternatives when verifiable, server-generated randomness is needed for agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T18:36:23.762Z","isFirstParty":false,"canonicalSlug":"shop-northheart-app-random-integer-and-bytes-generator-de7bd5b8"}