x402 Bazaar Logox402 Bazaar
← Back to discover
httppayai

x402-random-bytes

Random bytes in one GET, without an LLM or Math.random(): hex, base64 or a UUID. curl: GET /random?bytes=32&format=hex (bytes 1-1024, default 32; format hex|base64|uuid, default hex). Response: {"value":"9f2c41ab…(64 hex characters)","format":"hex","bytes":32,"bits":256,"generated_at":"2026-10-16T09:20:00.000Z","sha256":"41ab…","sha256_of":"value","source":"crypto.getRandomValues"}. The bytes come from the Worker runtime's Web Crypto API, crypto.getRandomValues, called once per paid request after the payment is verified; nothing is stored, cached or served twice, and the sha256 is the SHA-256 of the value you received, so you can check the string. format=uuid answers a UUID version 4 string. 0.001 USDC, no account, no key, one GET, one delivery. A purchase is two calls by design: this first call returns 402 with the price and the payment terms, and you then repeat the same request with the PAYMENT-SIGNATURE header to receive the 200 delivery.

Resource URL

https://x402-catalog-history.ai-business-surface.workers.dev/random

Payment options

exactBase (8453)

$0.001 USDC

Max amount

Pay to
0x6f60659390aDA1D02B14024d8c9d0C889f2F89c3
Timeout
60s

Tags

randomrandom-bytesuuidbase64nonce

For agents

Prompt snippet for AI agents

Find and pay for this x402 resource:
URL: https://x402-catalog-history.ai-business-surface.workers.dev/random
Type: http
Sources: payai

Developer