🎲 RaaS

Random as a Service — Pure randomness via HTTP API

🔑 API key required. Sign up for free to get 20 API calls per day.

Get Your Free API Key

Fast

Low-latency responses

🔒

Cryptographic

Uses crypto/rand where it matters

🌍

CORS Enabled

Use from any domain

📝

JSON API

Clean, predictable responses

API Endpoints

GET /api/number

Random integer between min and max (inclusive)

?min=0&max=100
GET /api/float

Random floating-point number between min and max

?min=0&max=1
GET /api/uuid

Generate a random UUID v4

GET /api/hex

Random hexadecimal string

?length=32
GET /api/string

Random string with customizable charset

?length=16&charset=alphanumeric|alpha|lowercase|uppercase|numeric|hex
GET /api/password

Generate a secure random password

?length=16&uppercase=true&lowercase=true&numbers=true&symbols=true
GET /api/bool

Random boolean (true/false)

GET /api/coin

Flip a coin (heads/tails)

GET /api/dice

Roll dice

?sides=6&count=1
GET /api/color

Random color in hex and RGB format

GET /api/timestamp

Random Unix timestamp with ISO8601 format

?from=0&to=now
GET /api/bytes

Random bytes (base64 encoded)

?length=16
POST /api/shuffle

Shuffle an array of items

Body: {"items": [1, 2, 3, 4, 5]}
POST /api/pick

Pick random items from an array

Body: {"items": [...], "count": 1}

🔐 Cryptographic Keys

GET /api/crypto/rsa

Generate RSA key pair (PEM format)

?bits=1024|2048|3072|4096
GET /api/crypto/ecdsa

Generate ECDSA key pair (PEM format)

?curve=P224|P256|P384|P521
GET /api/crypto/ed25519

Generate Ed25519 key pair (PEM + hex)

GET /api/crypto/aes

Generate AES symmetric key + IV

?bits=128|192|256
GET /api/crypto/hmac

Generate HMAC key

?bits=128|256|384|512