Tool detail
Random
Returns cryptographically secure randomness: N random bytes as hex, or a uniform random integer between a min and max, with an optional count of values.
Categories: Utilities
Use when
- generate cryptographically secure random bytes as hex
- generate a uniform random integer in a range
Not for
- not for non-uniform or weighted random selection
Inputs
GET query params, all optional: bytes (1-1024, hex output), count (1-100, default 1), min/max (integer bounds)
Admitted input schema
{
"type": "object",
"properties": {
"bytes": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Return N random bytes as hex (1-1024)"
},
"count": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "How many values (1-100, default 1)"
},
"max": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Integer upper bound (inclusive)"
},
"min": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Integer lower bound (inclusive)"
}
},
"required": [],
"additionalProperties": false
}Endpoint
- Method
GET- URL
https://agent402.tools/api/random
Payment
- Protocol
- x402
- Listed price
- 0.001 USDC per call on Base
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- GET https://agent402.tools/api/random
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z