Home / APIs / Mock Data Generator

Mock Data Generator API

Generate realistic fake users, addresses, companies, products, and custom schemas — seedable.

Get it on RapidAPI ↗

Mock Data Generator produces realistic fake data on demand — users, addresses, companies, products, and lorem text — plus a schema-driven /custom endpoint where you define the field names and types and get back exactly the shape you want. Powered by Faker, with 25+ field generators (name, email, phone, uuid, date, company, price, ip, and more).

Pass a seed to get reproducible output for stable tests and demos. Nothing is stored. Great for seeding databases, prototyping UIs, load-testing, and API mocking.

Endpoints

MethodPathDescription
GET/useruser
GET/addressaddress
GET/companycompany
GET/productproduct
GET/loremlorem
POST/customschema-driven

Quick start

cURL (via RapidAPI)
curl --request curl \
  --url 'https://mock-data-generator2.p.rapidapi.com/-G "https://mock-data-generator2.p.rapidapi.com/user" -d "count=2" -d "seed=12345" -H "X-RapidAPI-Key: YOUR_KEY" -H "X-RapidAPI-Host: mock-data-generator2.p.rapidapi.com"' \
  --header 'X-RapidAPI-Key: YOUR_KEY' \
  --header 'X-RapidAPI-Host: mock-data-generator2.p.rapidapi.com' \
  --header 'content-type: application/json' \
  --data '{}'
JavaScript (fetch)
const res = await fetch('https://mock-data-generator2.p.rapidapi.com/-G "https://mock-data-generator2.p.rapidapi.com/user" -d "count=2" -d "seed=12345" -H "X-RapidAPI-Key: YOUR_KEY" -H "X-RapidAPI-Host: mock-data-generator2.p.rapidapi.com"', {
  method: 'curl',
  headers: {
    'X-RapidAPI-Key': 'YOUR_KEY',
    'X-RapidAPI-Host': 'mock-data-generator2.p.rapidapi.com',
    'content-type': 'application/json'
  },
  body: JSON.stringify({})
});
const data = await res.json();
Example response
[
  {
    "id": "6f9619ff-8b86-d011-b42d-00cf4fc964ff",
    "firstName": "Jane",
    "lastName": "Doe",
    "fullName": "Jane Doe",
    "email": "[email protected]",
    "username": "jane.doe",
    "phone": "+1-555-123-4567",
    "avatar": "https://avatars.example.com/jane.png",
    "jobTitle": "Product Manager",
    "company": "Acme Inc"
  }
]

Pricing

Subscribe on RapidAPI. Start free; upgrade as you scale.

Basic
Free
1,000 requests / mo
Pro
$5 / mo
100,000 requests / mo
Ultra
$20 / mo
1,000,000 requests / mo
Mega
$50 / mo
2,000,000 requests / mo

Frequently asked questions

Can I specify a seed?

Yes, the optional seed parameter makes output reproducible.

What format is returned?

JSON objects for each entity type.

Any data stored?

No, each request is independent and stateless.

Ready to build with Mock Data Generator?

Grab your key on RapidAPI and start on the free tier.

Get it on RapidAPI ↗