Random
Use when you need publicly verifiable random numbers: n integers in [min,max], a pick from choices=a,b,c or a unique draw, derived from a drand (League of Entropy) beacon round with round, randomness, signature, chain hash, source URL and the exact derivation, so anyone can recompute it. Optional salt and a past round=. $0.001 per call (USDC or USDT). Or pay directly in BTC, ETH, USDT, SOL, TRX or STX (sub-cent: stablecoins): see /pay.
GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/random
0.001 USDC on Base · payTo 0xECa891e34b3E5873181Fb779672564E198C55354
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"max": 100,
"min": 1,
"n": 3
}{
"attribution": "Randomness: drand quicknet beacon run by the League of Entropy (https://drand.love/).",
"checks": {
"bls_signature_verified_by_p0": false,
"randomness_is_sha256_of_signature": true
},
"choices": null,
"derivation": "For output slot i (0-based) try j = 0,1,2...: h = sha256(utf8(randomness_hex + \":\" + salt + \":\" + i + \":\" + j)); x = first 8 bytes of h as big-endian uint64; r = max - min + 1; accept x if x < floor(2^64 / r) * r (no modulo bias), value = min + (x mod r); else next j. unique=true also skips a value already drawn. choices: index into the list with min=0, max=len-1.",
"drand": {
"beacon_id": "quicknet",
"chain_hash": "52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971",
"genesis_time": 1692803367,
"info_url": "https://api.drand.sh/52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971/info",
"period_seconds": 3,
"public_key": "83cf0f2896adee7eb8b5f01fcad3912212c437e0073e911fb90022d3e760183c8c4b450b6a0a6c3ac6a5776a2d1064510d1fec758c921cc22b0e17e63aaf4bcb5ed66304de9cf809bd274ca73bab4af5a6e9c76a4bc09e76eae8991ef5ece45a",
"randomness": "fe290beca10872ef2fb164d2aa4442de4566183ec51c56ff3cd603d930e54fdd",
"round": 1000,
"round_time_utc": "2023-08-23T15:59:24.000Z",
"scheme": "bls-unchained-g1-rfc9380",
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
"source_url": "https://api.drand.sh/52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971/public/1000"
},
"generated_at": "2026-10-05T12:00:00.000Z",
"max": 100,
"min": 1,
"n": 3,
"note": "Values are derived from a public drand beacon round, so anyone can recompute them. P0 checks that randomness = sha256(signature) but does not verify the BLS signature itself: verify it with a drand client against chain_hash and public_key. For draws that must not be pre-computable, commit to a future round and a salt first, then call with round=.",
"salt": "",
"unique": false,
"values": [
60,
11,
15
]
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 66 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 1541 ms |
| Paid calls (30d, on-chain) | 3 calls · 2 buyers · shared price cohort of 7 |
| Facilitator-reported (30d) | 1 calls · 1 payers (CDP Bazaar) |
How to call
GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/random · input in query · spec from live-challenge
Input schema
{
"type": "object",
"required": [],
"properties": {
"n": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 1
},
"min": {
"type": "integer",
"default": 1
},
"max": {
"type": "integer",
"default": 100
},
"choices": {
"type": "string"
},
"unique": {
"type": "boolean",
"default": false
},
"salt": {
"type": "string",
"pattern": "^[A-Za-z0-9._-]{0,64}$"
},
"round": {
"type": "integer",
"minimum": 1
}
}
}Output schema
{
"type": "object",
"description": "Shortened to fit the header; full example and schema: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/openapi.json"
}curl -i -X GET 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/random?n=3&min=1&max=100'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs