Skip to content
Fourohtwo

Random bytes in one GET, without an LLM or Math.random()

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

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

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

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://x402-catalog-history.ai-business-surface.workers.dev/random?bytes=32&format=hex");
console.log(await res.json());

Example input

{
  "bytes": "32",
  "format": "hex"
}