Fake Data Generator API - Mock & Test Data
Generate realistic fake data for testing: persons, addresses, companies, products, cards & IBANs, internet data, lorem ipsum, custom schemas, CSV.
Get a free API key on RapidAPI Try it in the playgroundFake Data Generator API
Fill databases, demos, UI mock-ups and test suites with believable data — instantly and without privacy risk.
👤 Ready-made datasets
- Persons: name, gender, email, username, phone, birth date, job, company, avatar and a full address
- Addresses with coordinates · Companies with industry, slogan and contacts
- Products: name, SKU, EAN-13, category, price, discount, stock, rating, image
- Finance: Luhn-valid card numbers (Visa / Mastercard / Amex), IBAN, BIC, amounts
- Internet: domains, URLs, IPv4 / IPv6, MAC, user agents, UUIDs, passwords, HTTP data
- Text: lorem ipsum words, sentences and paragraphs
🧩 Custom schema
Describe the shape you need — {"id":"uuid","name":"full_name","age":"int(18,65)","plan":"enum(free,pro,team)","address":{"city":"city"}} — and receive up to 500 rows, as JSON or CSV. 45+ field types, nested objects and arrays.
🌍 Localized & reproducible
Locales for English (US), German, French, Spanish and Persian. Pass a seed to get exactly the same data on every call — perfect for snapshot tests.
Use cases: seeding databases · unit and load testing · UI prototypes and demos · sales sandboxes · teaching and tutorials · no-code app builders
Keywords: fake data api, mock data generator, test data api, random user generator, faker api, dummy data, lorem ipsum api, fake address, fake credit card, sample data, csv generator
Endpoints (9)
| Endpoint | What it returns |
|---|---|
GET/persons | Fake persons Random people with name, gender, e-mail, username, phone, birth date, age, job title, company, avatar and full address. |
GET/addresses | Fake addresses Postal addresses with street, city, state / region, postal code, country, coordinates and a formatted line. |
GET/companies | Fake companies Companies with name, industry, catch phrase, website, e-mail, phone, employee count, founding year and address. |
GET/products | Fake products E-commerce products with name, SKU, EAN-13, category, description, price, discount, stock, rating, review count and image URL. |
GET/finance | Fake payment data Checksum-valid test payment data: card (brand, number, expiry, CVV), IBAN, BIC, account and routing numbers, amounts, transaction type and a Bitcoin-style address. |
GET/internet | Fake internet data Domains, URLs, e-mails, usernames, passwords, IPv4 / IPv6, MAC addresses, user agents, ports, HTTP status / method, colours, slugs and UUIDs. |
GET/text | Lorem ipsum Placeholder text as words, sentences or paragraphs. |
POST/custom | Custom schema Generate rows from your own schema: a JSON object mapping field names to types (see /types). Nest objects for nested output. Up to 40 fields and 500 rows; add ?format=csv for CSV. A GET form is also available: ?schema=na |
GET/types | Field types All field types accepted by the custom schema, the parametric types and the available locales. |
Quick start
Subscribe on RapidAPI (free plan available), copy your key, and call GET /persons:
curl --request GET \
--url 'https://fake-data-generator-api-mock-test-data.p.rapidapi.com/persons?count=2&locale=en&seed=demo' \
--header 'x-rapidapi-host: fake-data-generator-api-mock-test-data.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'import requests
url = "https://fake-data-generator-api-mock-test-data.p.rapidapi.com/persons?count=2&locale=en&seed=demo"
headers = {
"x-rapidapi-host": "fake-data-generator-api-mock-test-data.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY",
}
resp = requests.get(url, headers=headers)
print(resp.json())const res = await fetch("https://fake-data-generator-api-mock-test-data.p.rapidapi.com/persons?count=2&locale=en&seed=demo", {
method: "GET",
headers: {
"x-rapidapi-host": "fake-data-generator-api-mock-test-data.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY"
}
});
console.log(await res.json());
Example response
{
"locale": "en",
"count": 2,
"persons": [
{
"id": 1,
"uuid": "b1562f60-8c60-4bec-9529-b02eb36650c6",
"first_name": "Olivia",
"last_name": "Walker",
"full_name": "Olivia Walker",
"gender": "female",
"email": "olivia.walker55@example.net",
"username": "olivia.walker55",
"phone": "+1 (339) 555-0183",
"birth_date": "1985-08-11",
"age": 41,
"job_title": "Nurse",
"company": "Vertex Networks Corp.",
"avatar": "https://api.dicebear.com/9.x/initials/svg?seed=oliviawalker",
"address": {
"street": "243 Lake View Rd",
"city": "Denver",
"state": "CO",
"postal_code": "80201",
"country": "United States",
"country_code": "US",
"latitude": 46.58908,
"longitude": -120.48132,
"formatted": "243 Lake View Rd, Denver, CO 80201, United States"
}
},
{
"id": 2,
"uuid": "1cbfb85a-26cd-41ec-8371-54c3ac5a0641",
"first_name": "Lily",
"last_name": "Young",
"full_name": "Lily Young",
"gender": "female",
"email": "lily_young65@example.net",
"username": "lily_young65",
"phone": "+1 (382) 555-0152",
"birth_date": "1997-11-13",
"age": 29,
"job_title": "Sales Representative",
"company": "Quantum Systems LLC",
"avatar": "https://api.dicebear.com/9.x/initials/svg?seed=lilyyoung",
"address": {
"street": "109 Elm St",
"city": "Austin",
"state": "TX",
"postal_code": "73301",
"country": "United States",
"country_code": "US",
"latitude": 39.4468,
"longitude": -80.76131,
"formatted": "109 Elm St, Austin, TX 73301, United States"
}
}
]
}
Start free. Every plan includes all endpoints; upgrade only when you need more requests. Runs on Cloudflare's global network for low latency worldwide.
Subscribe on RapidAPIRelated APIs
Domain & IP Lookup API
WHOIS/RDAP, domain availability, DNS records, SSL certificates, subdomain finder, IP geolocation with ASN & abuse contacts, ASN lookup.
ToolsPackage Registry API - npm, PyPI, crates, gems
One API for npm, PyPI, crates.io & RubyGems: package details, versions, dependencies, download stats, search, comparison and security advisories.
ToolsPassword Security API - Breach & Strength
Check if a password was leaked in data breaches (900M+ pwned passwords), score its strength, generate secure passwords & passphrases, hash text.
ToolsQR Code & Barcode Generator API
Generate QR codes (URL, Wi-Fi, vCard, email, SMS, event…) and 30 barcode types (Code128, EAN-13, UPC, DataMatrix, PDF417…) as PNG or SVG.
ToolsURL Shortener & Link Analytics API
Short links with custom aliases, expiry & click limits, full click analytics (countries, referrers, devices), bulk shortening, link expander and malware screeni
ToolsWorld Time & Timezone API
Current time in any timezone or city, timezone conversion, DST transitions, time difference, meeting planner and business-day calculator.