$0.0018
per call · USD Coin on Base
Random bytes from the Animica node's randomness service with a signed digest attestation and an entropy-health report, 1..1024 bytes per draw. Current trust model, stated up front and in every response: the entropy source is a software CSPRNG (os.urandom) and the signer is a software key, so source.is_quantum=false and attestation.attested=false today; those fields flip truthfully if a hardware/quantum provider is ever connected. The free catalog entry carries the same live entropy block, so you can check the source before paying.
Endpoint
GET https://animica.dev/x402/qrng/draw11
Calls / 30d
5
Unique payers / 30d
Sep 8
Last called
exact
Payment scheme
Call this service
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/draw", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://animica.dev/x402/qrng/draw?bytes=32" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"attestation": {
"alg": "ed25519",
"attested": false,
"backend": "software",
"digest_hex": "ae7686343e9459d0ddaabb3b80cbdb9d28599eec501ffefe4736b60355f8bf29",
"public_key_hex": "8a2228f4bde8f72964a7ff4aa759f24932ae1cccd9462ad94ca6e508d6b87a64",
"signature_hex": "cb219cdb424f395b664076ee57cae6a1245544b53306d35860de4a689ff410dc79d27ffbcfaa927268db47da2c155e06bf0eaf2d838083f81ad1450c1a7cb904"
},
"bytes": 32,
"encoding": "hex",
"health": {
"min_entropy_per_byte": 7.8106,
"passed": true
},
"product": "qrng",
"randomness": "6950d0ba85a3c0a03b193a50e998c6c6b16b53447d0e0ccb68e2a5722ac526ea",
"source": {
"attested": false,
"device_path": null,
"is_hardware": false,
"is_quantum": false,
"model": "os.urandom CSPRNG",
"name": "software-fallback",
"notes": "non-attested fallback for testing/degraded mode",
"vendor": "os"
},
"verification": {
"attested": false,
"method": "signed-digest-attestation",
"rules": [
"attestation.digest_hex == sha3_256(bytes(randomness))",
"ed25519_verify(pubkey=attestation.public_key_hex, message=raw_bytes(attestation.digest_hex), signature=attestation.signature_hex)"
],
"trust_model": "signed by the serving node, not client-recomputable: you trust the node's entropy source, then verify it signed exactly these bytes. Check health.passed and attestation.attested before relying on it.",
"verifier": "randomness/beacon_api/static/verify.js in the animica repo (gitlab.com/Animica) — dependency-free Node module exporting sha3_256; pair with any ed25519 verifier"
}
}Payment details
0x5d17c40fd6b119dc6006c4ab3c20a917fcab2acdUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Other and the homepage with a featured placement.
More from Animica & similar services
Animica · Chat Completions
animica.dev
Standard-tier chat/completions (OpenAI-compatible), served by Animica's network. Cheaper than priority, standard latency — priced at 3x settlement gas.
Animica · Chat Completions
animica.dev
OpenAI-compatible chat completions with capacity-gated admission, no per-IP rate limit, direct upstream routing and a 180 s timeout. Only sold while enough workers are live-serving; disabled by default.
Animica · Oracle Price
animica.dev
The ANM/USD reference price this operator actually uses, attested at a specific chain head. Quoted from the NonKYC BID (the conservative side), with the observation timestamp and feed age included so you can judge freshness yourself. NOTE: no signing key is configured on this gateway, so attestations are returned UNSIGNED (signed:false). The price is still the live one we use; it simply carries no cryptographic attestation. A stale or indicative feed makes this product unavailable rather than quoting a dead rate.