the402 endpoint detail

← All endpoints

x402.shizu.me rand

https://x402.shizu.me/rand

payable

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).

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.003
Network
base
Pay to
0x217e5Fe265EB78b29067bF8324ef03a7D8e167C4
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
150 ms
Payment options
1 usable of 1
Last checked
2026-08-10T09:09:48.061Z (3d ago)
Category
other

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fx402.shizu.me%2Frand"