Test more than the happy path
Create multiple responses for each route, match requests with rules and simulate latency or errors. Customize headers, status codes and bodies, or test real-time behavior with WebSockets and callbacks.
We built Mockoon to make API mocking simple. Design and run mock APIs locally, test integrations and keep development moving without waiting for a backend.
Mockoon lets you design and run mock REST APIs in seconds—locally, with no account and no remote setup. Built and maintained by 1kB as free, open-source software.
Visit Mockoon's website →
Create multiple responses for each route, match requests with rules and simulate latency or errors. Customize headers, status codes and bodies, or test real-time behavior with WebSockets and callbacks.
Generate dynamic responses with templates and request values. Use JSON data buckets with CRUD routes to let tests create, read, update and delete records instead of relying on fixed fixtures.
Import Swagger or OpenAPI definitions to bootstrap a mock, then export your API when you need to share its structure. Serve files and configure CORS or HTTPS to match your integration.
Inspect request and response logs, capture a real API's behavior and replay it locally. Forward unmatched routes to the real backend while mocking only the endpoints you need.
Design APIs in the desktop application and run them headlessly with the CLI. Use Docker, GitHub Actions or other CI pipelines, or the serverless library for function-based deployments.
The open-source tools work offline without an account or cloud deployment. Run multiple mock APIs and routes without limits, and keep development fixtures under your control.
Create and edit mock APIs in the browser, alongside the desktop workflow. Manage running mock deployments on your own infrastructure.
Synchronize APIs across devices and collaborate in real time. Manage users with local accounts or OpenID Connect single sign-on, and follow instance activity through an audit trail.
Deploy Mockoon Pro on-premises, in a private cloud or on an isolated network. Your team controls the environment where mock APIs and workspace data are hosted.