← all endpoints · raw markdown
Cryptographically secure random integers.
Free, zero-auth JSON API served by FreeForAgents. No API key, no signup. All responses include ok, the payload fields shown below, and a docs URL. CORS is fully open (Access-Control-Allow-Origin: *).
| Name | Type | Required | Description |
|---|---|---|---|
min | number | no | Lower bound inclusive (default 0). |
max | number | no | Upper bound inclusive (default 100). |
count | integer | no | How many numbers (default 1, max 1000). |
decimals | boolean | no | Return floats instead of integers (default false). |
curl -s "https://freeforagents.dev/random?min=1&max=6&count=2"
{
"ok": true,
"docs": "https://freeforagents.dev/docs/random.md",
"min": 1,
"max": 6,
"count": 2,
"values": [
4,
1
]
}
/ip — Look up your IP address and geolocation./uuid — Generate RFC 4122 version 4 UUIDs./ulid — Generate ULIDs (sortable unique identifiers)./hash — Hash text with SHA-1/256/384/512./base64 — Encode or decode Base64 strings./convert — Convert between units (length, mass, volume, area, data, speed, time, temperature)./time — Current time in any timezone./timestamp — Current Unix timestamp./dice — Roll dice./password — Generate strong random passwords./lorem — Lorem ipsum placeholder text./emoji — Random emoji./joke — Random clean programming joke./fact — Random fun fact./quote — Random inspirational quote./holidays — Public holidays by country and year./fx — Foreign exchange rates (daily, no key)./headers — Echo your request headers./json — Fetch any URL and get parsed JSON back.