Mockoon

Build faster. Test with confidence.

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.

Built over time. Used at scale.

Actively maintained
Since 2017
Free and open-source tools, shaped by the developer community.
Downloads
1M+
Plus millions of Docker image pulls for automated workflows and CI pipelines.
Used by enterprise teams
Fortune 500
Used by Fortune 500 companies and international organizations, including Vodafone, Ford and Amadeus.

Mockoon: powerful API mocking

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 →
Mockoon desktop application for designing and running mock REST APIs

Free, open-source API mocking

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.

Realistic, stateful data

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.

Work with your API specification

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.

Record, inspect and proxy

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.

From desktop to CI

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.

Local by default

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.

Mockoon Pro: tools for teams

An embedded web workspace

Create and edit mock APIs in the browser, alongside the desktop workflow. Manage running mock deployments on your own infrastructure.

Shared APIs, coordinated teams

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.

Self-hosted deployment

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.