Why Mockoon?

Mockoon offers tons of features that makes API mocking a breeze.

Unlimited mocking

Create an unlimited number of mock API with unlimited number of routes and run them in parallel.

Run your mock anywhere

Use the CLI to run your mock APIs in any headless or automated environment: CI, GitHub Actions, Docker containers, etc.

Discover the CLI →

Import / export

Mock API import / export with Swagger/OpenAPI format support.

Documentation →

Route regex

Route regex supported (/.*, /[a-z]{3}, ...), based on ExpressJS syntax.

Multiple responses per route

Serve multiple rules-triggered or random responses with any headers body, or HTTP status codes.

Documentation →

CORS

Automatically send CORS headers (Access-Control-Allow-Origin, etc.) for OPTIONS requests.

Documentation →

HTTPS

Serve your mock API over TLS with a custom certificate.

Documentation →

Response headers

Add any response headers to your routes and mock API. With auto-completion.

Documentation →

Latency

Add latency at environment or route level or even both.

Requests and responses logs

All incoming requests and outgoing responses are logged for easier debugging.

Documentation →

Proxy mode

Redirect all non-defined routes to the specified host with Mockoon's proxy mode.

File serving

File serving with automatic mime type detection and templating support.

Rich text editor

Rich text editor for body content supporting multiple languages (JSON, HTML, etc).

Templating

Templating supported in body, file content and header, with many helpers: url params, query params, JSON body lookup, etc.

Documentation →

Auto-save

Real-time auto save as you type. Never worry again about saving!

Docker support for the CLI

Run the CLI directly as an NPM package or use the provided Docker image.

Documentation →

Offline first

No account, no sign-up, no cloud deployment required.