Developer API
Free JSON API for addresses, names, phone numbers, identities, UUIDs and 30+ more generators.
Generate the same realistic data you see on RandNow straight from your code, CI pipeline or no-code tool with simple HTTPS GET requests.
The public API is being prepared. The examples below show the request format; the base URL will be published here when it goes live.
Quick start
Send a GET request to /v1/{generator}. Options are passed as query parameters; anything you omit falls back to sensible defaults.
curl "https://api.randnow.com/v1/address?country=de&count=2"
{
"generator": "address",
"count": 2,
"items": [
{
"title": "🇩🇪 Munich, Germany",
"value": "Lindenweg 14\n80331 Munich\nGermany",
"fields": { "Street": "Lindenweg 14", "City": "Munich", "State (Bundesland)": "Bavaria (BY)", "Postleitzahl (PLZ)": "80331", "Country": "Germany", "Phone": "+49 89 4417735" }
}
]
}
Endpoints
GET /v1 lists every generator with its options and defaults. Popular endpoints:
| Endpoint | Parameters | Returns |
|---|---|---|
/v1/address | country, count, phone | Street addresses for 40 countries |
/v1/name | country, gender, count, part | First, last or full names |
/v1/phone | country, count, type, format | Mobile/landline numbers (national, international, E.164) |
/v1/identity | country, gender, min, max, count | Complete fake person profiles |
/v1/creditcard | brand, count | Luhn-valid test card numbers |
/v1/email | count, domain | Email addresses on test domains |
/v1/password | length, count, upper, lower, digits, symbols, noamb | Secure random passwords |
/v1/uuid | count, case, hyphens, braces | RFC 4122 v4 UUIDs |
/v1/number | min, max, count, unique, sort | Random integers |
/v1/ip | version, scope, count | IPv4 / IPv6 addresses |
Country codes: us gb ca au de fr it es nl ch se pl br mx in jp cn kr tr ae or random. List-style generators return value (and sometimes details); record-style generators also return a fields object.
Examples
// JavaScript
const res = await fetch("https://api.randnow.com/v1/identity?country=gb&count=5");
const { items } = await res.json();
# Python
import requests
items = requests.get("https://api.randnow.com/v1/uuid", params={"count": 10}).json()["items"]
Limits & fair use
- Up to 50 items per request (500 for UUIDs).
- Requests are rate-limited per IP to keep the service free for everyone.
- CORS is enabled, so you can call the API directly from the browser.
- Generated data is fictional — the Terms of Use apply.
Need random data? Get it now.
Pick any of 144 generators, hit Generate and copy or export the results as CSV, JSON or TXT. No account, no limits, nothing stored.