Overview
Mockoon is a free, open-source tool for building mock REST APIs on your own machine. In its desktop app you define endpoints, HTTP methods, status codes and JSON responses, then start a local server that behaves like the real API, so front-end work and testing can continue while the backend is unfinished or a third-party service is unreliable.
Responses can be made dynamic with templating helpers and Faker.js data, and rules can return different responses depending on headers, query parameters, body or cookies. You can add delays to simulate timeouts and rate limits, or proxy requests to a real API and record them to generate mock routes. The same mocks run headlessly through the CLI or official Docker image in CI pipelines.
The desktop app runs on Windows, macOS and Linux under the MIT licence and needs no account. Paid Team and Enterprise plans add real-time collaboration, access control and deployment of shared mock instances.
Categories
Features
- Desktop app to design mock REST endpoints, status codes and JSON responses
- Templating helpers and Faker.js for dynamic fake data
- Response rules based on headers, query parameters, body or cookies
- Custom delays to simulate slow responses, errors and rate limits
- Proxy mode that records real API traffic into mock routes
- OpenAPI compatibility
- CLI via npm and an official Docker image for CI and headless use
- Paid Team plan for collaboration and shared mock deployments
Privacy
See the official privacy policy. The open-source app runs mock servers locally on your own computer and does not need an account.
Pros & Cons
Pros
- Free and open source under the MIT licence
- Runs locally on Windows, macOS and Linux with no account
- Same mocks work in the desktop app, CLI and Docker
- Recording from a real API saves time setting up routes
Cons
- Team collaboration and hosted deployment are paid features
- Built around mocking REST style HTTP APIs rather than designing them
- Realistic dynamic responses take some time to learn the templating syntax
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
API Testing · ReqBin
Sends HTTP requests to test REST APIs.
Freemium No Signup Web -
API Testing · Hoppscotch
A free, open-source API request builder.
Open Source No Signup Web Windows -
Builds, tests, and documents APIs.
Freemium No Signup Web Windows -
API Testing · Insomnia
A free, open-source API client for REST, GraphQL, and gRPC.
Freemium No Signup Windows macOS