Skip to content
Fourohtwo

Use when you need publicly verifiable random numbers

x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/random

Use when you need publicly verifiable random numbers: n integers in [min,max], a pick from choices=a,b,c or a unique draw, derived from a drand (League of Entropy) beacon round with round, randomness, signature, chain hash, source URL and the exact derivation, so anyone can recompute it. Optional salt and a past round=. $0.001 per call (USDC or USDT). Or pay by stablecoin transfer with a one-time

BaseAnswering
GEThttps://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/random

Uptime100% of 2 checks 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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/random?n=3&max=100&min=1");
console.log(await res.json());

Example input

{
  "n": 3,
  "max": 100,
  "min": 1
}

Price changes

  • Nov 25, 20260.00001 → 0.001
  • Nov 25, 20260.001 → 0.00001