Coin Flip
OperationalFlip one or many verifiable coins backed by the drand League of Entropy beacon
API Overview
The coin flip endpoint uses drand beacon randomness to determine heads or tails for each flip via unbiased bit extraction. The response includes the full flip list, aggregate heads/tails counts, and the beacon proof for auditing. Designed for decision-making, giveaways, and protocol tie-breakers where a neutral third party is needed but a full smart contract is overkill.
Up to 1,000 Flips
Bulk coin-flip results in a single API call — perfect for large draws and batch decisions.
Provably Fair
Every flip is derived from the drand beacon — the source is public and independently verifiable.
Aggregate Counts
Response includes total heads and tails counts alongside the full flip sequence.
BLS12-381 Proof
Attach the beacon proof to your records so anyone can audit the outcome at any time.
terminal API Playground
Live Simulationimport requests
url = "https://random.picopayd.codefission.co.uk/api/random/coin"
params = {"count": 10}
headers = {"X-PAYMENT": "<402-payment-token>"}
response = requests.get(url, params=params, headers=headers)
print(response.json()) {
"flips": ["heads", "tails", "heads", "heads", "tails", "tails", "heads", "tails", "heads", "heads"],
"heads": 6,
"tails": 4,
"proof": {
"round": 21543892,
"signature": "95a9...",
"chainHash": "52db9b...",
"timestamp": "2026-03-20T10:00:00Z"
}
} Related Randomness APIs
View all APIs arrow_forwardRandom Number
$0.001 / call
Generate one or more random integers in a custom [min, max] range, verifiable against the drand quicknet BLS12-381 beacon.
Verifiable UUID
$0.001 / call
Generate one or more verifiable UUIDs — v4 (pure random) or v7 (timestamp-prefixed) — backed by drand BLS12-381 randomness.
Random Password
$0.001 / call
Generate strong random passwords using configurable charsets and lengths, derived from the drand League of Entropy beacon with entropy-bit scoring.