A

Animica · Qrng Bulk

by Animica

POSTBaseanimica:1

$0.0065

per call · USD Coin on Base

5..10 INDEPENDENT randomness draws — each one its own node call with its own signed digest attestation and health report — delivered under ONE payment of $0.004. Fewer than 5 draws is refused with a 400 that points at GET /x402/qrng/draw ($0.001 per draw), because only at 5+ draws is this genuinely cheaper per draw. Priced per draw, not per byte: if you just need many bytes under one attestation, a single 1024-byte qrng draw is cheaper — the response states which is cheaper for the call you made.

Endpoint

POST https://animica.dev/x402/qrng/bulk

2

Calls / 30d

1

Unique payers / 30d

Aug 20

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://animica.dev/x402/qrng/bulk", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "bytes": 8,
    "draws": 5
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://animica.dev/x402/qrng/bulk" \
  -H "Content-Type: application/json" \
  -d '{"bytes":8,"draws":5}' \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x5d17c40fd6b119dc6006c4ab3c20a917fcab2acd
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, animica:1
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Animica & similar services