chart_data

Random Number

Operational

Cryptographically verifiable random integers backed by the drand League of Entropy

api API Docs

API Overview

Each call fetches the latest drand League of Entropy beacon and derives unbiased integers via rejection sampling over BLS12-381 randomness. The response includes the full beacon proof (round number, signature, chain hash, timestamp) so any client can independently verify the output without trusting PicoPayd. Supports batch generation of up to 100 values per call, making it efficient for lotteries, A/B test assignment, and game mechanics.

verified

drand League of Entropy

Randomness sourced from a distributed threshold BLS network — no single party can predict or bias the output.

chart_data

Bias-Free Sampling

Rejection sampling ensures uniform distribution across any arbitrary integer range.

shield

BLS12-381 Proof

Every response carries the beacon signature so you can verify the randomness source independently.

speed

Batch Up to 100

Request up to 100 values in one API call — efficient for bulk assignments and draws.

integration_instructions API Reference

terminal API Playground

Live Simulation
import requests

url = "https://random.picopayd.codefission.co.uk/api/random/number"
params = {"min": 1, "max": 100, "count": 5}
headers = {"X-PAYMENT": "<402-payment-token>"}

response = requests.get(url, params=params, headers=headers)
print(response.json())
Response Body 200 OK
{
  "values": [42, 17, 88, 5, 63],
  "min": 1,
  "max": 100,
  "proof": {
    "round": 21543892,
    "signature": "95a9...",
    "chainHash": "52db9b...",
    "timestamp": "2026-03-20T10:00:00Z"
  }
}