random
entropy
randomness
nonce
csprng
dice
verifiable
fairness

Verifiable Randomness ($0.003/call)

Cryptographically-secure randomness with a receipt. GET ?bytes= returns hex (1-256 bytes); add ?min=&max= for a uniform integer in an inclusive range. Each response carries a request_id and timestamp — unbiased entropy an agent can cite to a counterparty, not a seeded PRNG. Need provable fairness over time? /rand/commit does commit-reveal (commitment now, value later).

Paid endpoint: $0.003 per call via the x402 protocol (USDC on Base). An unpaid request returns 402 with payment requirements in the PAYMENT-REQUIRED response header; attach payment and retry.

get/rand

Request

  • Base URL: https://x402.shizu.me
  • URL: https://x402.shizu.me/rand
  • Auth: none declared

Query parameters

bytesstring

Response

Paid result (JSON)

Changes

No recorded changes to this operation across all 1 revision of this API.