← All endpoints
Agent402 random
https://agent402.tools/api/random
answers 402
Returns cryptographically secure random bytes or a random integer in a range. Useful for an agent that needs unpredictable values, nonces, or dice rolls.
We sent a real
GET request to this endpoint and it
answered 402 with payment requirements we could parse.
- Price
- $0.001
- Network
- base
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- GET
- Response latency
- 285 ms
- Payment options
- 13 usable of 13
- Last checked
- 2026-09-06T01:08:05.618Z (19d ago)
- Category
- data
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent402.tools%2Fapi%2Frandom"