Flip one fair coin. Returns heads or tails, each with probability one half. Uses the server OS CSPRNG. Returns consumed bytes for reproducible calculation, not proof of their origin. Price: 0.007 USDC per request, including the bounded batch.
# 1. Ask the endpoint what it costs (no payment, no wallet needed): curl -i -X GET 'https://api.solgiery.com/v1/random/coin' # -> HTTP/1.1 402 Payment Required # the response carries the price, asset and pay-to address. # 2. Pay and retry with any x402 client: npx x402-fetch 'https://api.solgiery.com/v1/random/coin'
Endpoint: https://api.solgiery.com/v1/random/coin. Operated by api.solgiery.com, not by Animica. Price and availability were correct at the last probe on 2026-10-01 and are set by the operator, who may change them.
Generate length cryptographically random bytes, encoded as lowercase hexadecimal. length defaults to 32 and may be 1 to 4096. Uses the server OS CSPRNG. Returns…
Uniformly select one original index and item from the input array. Equal values at different positions have separate chances. Uses the server OS CSPRNG. Returns…
Roll 1 to 1000 independent fair dice. Each result is an integer from 1 to sides inclusive; sides defaults to 6. Uses the server OS CSPRNG. Returns consumed byte…
Generate 1 to 1000 independent random numbers on the 53-bit grid in [0,1); zero is included and one is excluded. Uses the server OS CSPRNG. Returns consumed byt…
Generate 1 to 1000 uniformly distributed random integers between min and max, inclusive. Both bounds are required; min must not exceed max. Repeated values are …
Select count items as an ordered sample. replace defaults to false: each original index may occur once and count must not exceed the input length. With replace=…
Uniformly permute all input items. Returns each original index and its item exactly once; equal values remain distinct positions. Uses the server OS CSPRNG. Ret…
Generate one UUID version 4 using server-side cryptographic randomness. Uses the server OS CSPRNG. Returns consumed bytes for reproducible calculation, not proo…
Select one original index and item with probability weight divided by total weight. Weights must match items and be integers from 0 to 1000000000; at least one …