Verified Randomness

VeriRand — Cryptographic
Proof on Every Number

Agents that sample, select, or make probabilistic decisions need randomness they can prove after the fact. VeriRand ships an HMAC-SHA256 proof with every number — independently verifiable, on-chain auditable, and paid autonomously via x402 USDC. No key registration, no human approval: your agent calls and pays in one round trip.

Get API Key API Status curl /v1/rng/quantum

x402 autonomous payment  ·  A2A native  ·  Free verification  ·  47 free calls/day  ·  Cloudflare Edge

$0.005
Starting price
HMAC-SHA256
Proof algorithm
7
Output formats
Instant
Verification

Protocol

How VeriRand works

Three steps from request to independently verified randomness. No trust assumptions required.

Step 01
📨

Request

Call /v1/verirand/bytes with a count parameter. Choose bytes, uint32, uint64, or bounded range — whatever format your application needs.

Step 02
🔐

Receive

Get your random data along with an HMAC-SHA256 proof, a nonce, and a timestamp. The proof binds the output to the server's signing key — no tampering possible after generation.

Step 03

Verify

Anyone can call /v1/rng/verify with the proof data. Verification is free, public, and requires zero credentials.


Try it now

Live randomness demo

Fetches a real random value from the VeriRand API. Click to generate.

Random Number Generator

Fetches from /v1/rng/quantum

---

Pricing

Credit-based, volume discounts

Buy credits once, spend as you go. The more you buy, the less each call costs. Verification is always free.

Starter
500 Calls
$4
one-time · no expiry · $0.008/call avg
  • All VeriRand endpoints
  • HMAC-SHA256 proofs on every call
  • Batch generation up to 100
  • Standard rate limits
Get 500 Calls
Scale
10,000 Calls
$49
one-time · no expiry · $0.0049/call avg
  • All VeriRand endpoints
  • HMAC-SHA256 proofs on every call
  • Batch generation up to 10,000
  • Dedicated rate limits
Get 10,000 Calls
Free forever
No payment required
Verification & Public Key
$0.00
always free · 47 free RNG calls/day
  • Verify any proof independently
  • Fetch the signing public key
  • No credentials required
  • 47 free /v1/rng/quantum calls/day

SDK Integration TypeScript

The aethel-nexus-sdk wraps all VeriRand endpoints with full TypeScript types. Generate verified random numbers and validate proofs in two lines of code.

// Generate a verified random number
const r = await fetch('https://aaaa-nexus.atomadictech.workers.dev/v1/rng/quantum');
const rng = await r.json();
// { numbers: ["a3f2c9e1b8..."], seed_ts: "1748892034521", proof: "d4e9a2...", remaining: 46 }

// Verify the proof — free, no credentials
const v = await fetch(
  `/v1/rng/verify?seed_ts=${rng.seed_ts}&numbers=${rng.numbers[0]}&proof=${rng.proof}`
);
const ok = await v.json();
console.log('Valid:', ok.valid); // true

Start generating proved randomness today.

500 VeriRand calls for $4. No account, no crypto wallet needed. API key by email in seconds.

Get 500 Calls — $4 →
✓ 47 free calls/day to try first  ·  ✓ Instant delivery  ·  ✓ No expiry

API Surface

Two endpoints, seven formats

Generate in any format, verify any proof. That’s it. No bloat, no hidden calls.

Generate

Returns random numbers with format, seed timestamp, HMAC-SHA256 proof, and remaining free calls.

GET /v1/rng/quantum

Verify

Confirm any proof is authentic. Pass seed_ts, numbers, and proof. Always free.

GET /v1/rng/verify