Dummy API Generator
FreeGenerate dummy REST API with CRUD endpoints instantly
GET /users # list all GET /users/:id # get one POST /users # create PUT /users/:id # replace PATCH /users/:id # update DELETE /users/:id # delete
⚡ Turn this into a real working API in 10 seconds
Download db.json below, then run:
npx json-server db.json
…and your CRUD API is live at http://localhost:3000/users.
{
"users": [
{
"id": 1,
"name": "Kabir Singh",
"email": "kabir.singh@example.com",
"age": 53,
"active": true,
"city": "Ahmedabad"
},
{
"id": 2,
"name": "Arjun Reddy",
"email": "arjun.reddy@example.com",
"age": 34,
"active": false,
"city": "Mumbai"
},
{
"id": 3,
"name": "Arjun Reddy",
"email": "arjun.reddy@example.com",
"age": 41,
"active": false,
"city": "Pune"
},
{
"id": 4,
"name": "Aarav Sharma",
"email": "aarav.sharma@example.com",
"age": 25,
"active": true,
"city": "Mumbai"
},
{
"id": 5,
"name": "Arjun Reddy",
"email": "arjun.reddy@example.com",
"age": 33,
"active": false,
"city": "Delhi"
}
]
}[
{
"id": 1,
"name": "Kabir Singh",
"email": "kabir.singh@example.com",
"age": 53,
"active": true,
"city": "Ahmedabad"
},
{
"id": 2,
"name": "Arjun Reddy",
"email": "arjun.reddy@example.com",
"age": 34,
"active": false,
"city": "Mumbai"
},
{
"id": 3,
"name": "Arjun Reddy",
"email": "arjun.reddy@example.com",
"age": 41,
"active": false,
"city": "Pune"
}
]{
"id": 1,
"name": "Kabir Singh",
"email": "kabir.singh@example.com",
"age": 53,
"active": true,
"city": "Ahmedabad"
}About Dummy API Generator
Building a frontend before the backend exists is a familiar bottleneck. You need realistic CRUD endpoints to wire up fetch calls, test loading states, and prototype list and detail views, but standing up a real server with routes, a database, and seed data just to click around in the UI is overkill. The Dummy API Generator hands you a working REST API with create, read, update, and delete endpoints in seconds, so you can keep moving without writing a line of server code.
Describe the resource you want and the tool produces ready-to-call endpoints backed by sample records, complete with the usual HTTP verbs and JSON responses. It runs in your browser, so there is no signup, no watermark, and nothing to install. Generation is instant and your inputs stay on your machine, making it a fast, private way to mock an API while the real one is still being designed.
Common uses
- Wiring up a React or Vue frontend against CRUD endpoints before the actual backend is ready.
- Demoing a feature to stakeholders without provisioning a live server or database.
- Testing how your UI handles GET, POST, PUT, and DELETE responses including empty and populated lists.
- Teaching or learning REST concepts with a working endpoint you can hit immediately.
- Reproducing a bug in client-side data fetching logic against predictable, stable sample data.
How to use
- 1
Configure options
Set your preferences using the options panel below.
- 2
Click Generate
Click the process button to generate your result instantly.
- 3
Copy or download
Copy the result to clipboard or download it directly to your device.
Why ToolHub?
- Instant generation
- Copy-ready output
- No login required
FAQ
Does this create a permanent, hosted API?
It generates dummy endpoints and sample data for prototyping and testing. It is meant for development and demos, not as a production backend.
Can I define my own fields and resource shape?
Yes. You describe the resource you want and the generator builds CRUD endpoints returning JSON records that match it.
Will writes I make actually persist?
The API simulates CRUD behavior so you can exercise create, update, and delete flows. Treat the data as disposable mock data rather than a durable store.
Is any of my input sent to a server?
The tool runs in your browser with no signup required, so your configuration stays local and private.
Can I use Dummy API Generator on mobile?
Yes — ToolHub is fully responsive and works on iPhone, Android, tablets and all modern browsers. No app install needed.