← Back to directory

Provably-fair random number API: an integer in your min-max range drawn via HMAC...

https://x402.forgemesh.io/provably-fair-random

Overview

Provably-fair random number API: an integer in your min-max range drawn via HMAC-SHA256 over your client seed, with the server seed revealed in the response so anyone can recompute and verify the draw was fair. For games, raffles, sampling, A/B assignment, and tie-breaking between agents.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider x402
Source bazaar
Indexed 2026-07-16 01:10:24

Health

Status healthy
Latency (p50) 327ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-28 07:00:36
Last Healthy 2026-10-28 07:00:36
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "client_seed": "roll-42", "max": "6", "min": "1" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "proof": "HMAC-SHA256(server_seed, client_seed) first 4 bytes mod range — recompute to verify", "server_seed_revealed": "e3b1...", "value": 4 }, "type": "json" }