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
| Method | Path | Description |
|---|---|---|
| GET | /user | user |
| GET | /address | address |
| GET | /company | company |
| GET | /product | product |
| GET | /lorem | lorem |
| POST | /custom | schema-driven |
Quick start
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 '{}'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();[
{
"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.
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 ↗