A free, open-source mock REST API generator for frontend developers.
Building frontend applications often means waiting on backend endpoints or configuring complex mock servers. ApiGenerator removes that friction — enter a keyword like users, products, or recipes, and receive realistic JSON over HTTP within milliseconds. The project is open source and built for developers who need fast, reliable test data during prototyping, automated testing, tutorials, and hackathons. The goal is simple: ship UI faster without blocking on backend work.
ApiGenerator is free to use with no account required. The frontend is a Next.js application and the backend is an Express API — both designed to be simple, fast, and developer-friendly.
Generate REST endpoints on the fly with a single keyword — no setup, no signup, and no local server required.
Tune count, pagination, sorting, search, and seed with query parameters for realistic API responses.
Inspect formatted responses in a Monaco-powered editor before copying URLs or downloading JSON.
Try any custom English keyword — AI generates domain-specific mock data via OpenRouter on demand.
Copy URLs, download JSON, and grab cURL, fetch, and Axios snippets — built for fast frontend prototyping.
Filter which fields appear in the JSON preview and API response — copy only the props your components need.
Create and manage groups of related endpoints. Save configs, use templates, and export or import as JSON.
Build endpoints, filter response fields, and save configs to groups — all in the playground. Or explore mock APIs in React and example endpoints.