UtilitiesGETlive
Secure random integer
Generate a cryptographically secure random integer within a caller-provided range.
$0.01
per call
Success
100%
p50 latency
2.28s
p95 latency
2.28s
Calls (30d)
1
Provider contract
- Call path
- /routes/sociologic-rng/utilities/random-integer
- Method
- GET
- Selected provider
- sociologic-rngdefault
- Provider price
- $0.01
- Settlement
- Base USDC · x402 · 5% h402 fee
Quickstart
Both commands call the selected provider directly.
cURL
curl '/routes/sociologic-rng/utilities/random-integer?min=1&max=100'
CLI
h402 call 'utilities/random-integer' --provider 'sociologic-rng' --method GET --query '{"min":1,"max":100}'Parameters & live test
pays real USDCFill the request fields, quote the exact per-call total, then choose x402 or eligible bonus credit explicitly before sending. Only the selected provider's listed parameters are accepted.
minintegerrequired-9007199254740991–9007199254740991Minimum value, inclusive. Any safe integer; the span (max − min) must be ≤ 1,000,000.
maxintegerrequired-9007199254740991–9007199254740991Maximum value, inclusive. Any safe integer; the span (max − min) must be ≤ 1,000,000.
GET/routes/sociologic-rng/utilities/random-integer
Request query
{
"min": 1,
"max": 100
}ResponseExample response
{ "data": { "value": 8, "type": "integer", "range": [ 1, 100 ], "entropy": { "raw": 1674903507, "hex": "63d4ffd3" } }, "h402": { "routeId": "utilities/random-integer", "provider": "sociologic-rng", "selectedCandidateId": "utilities/random-integer/sociologic-rng", "routing": "manual", "paidBy": "x402-exact" } }
Providers
Choose a provider for this task. The catalog recommends the current default from quality, reliability, and price; your selected provider stays pinned. Listed prices are provider prices; settlement adds a 5% h402 fee.
sociologic-rng
x402
100
- Success
- 100%
- p50
- 2.28s
- Calls
- 1
100%
$0.01$0.010/call
Last successful call: 29d ago· Aggregated by h402 — not the source provider