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.

Route regex

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

HTTPS

Serve your mock API over TLS with self-signed certificate.

Requests and responses logs

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

Rich text editor

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

Docker support for the CLI

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

Run your mock anywhere

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

Multiple responses per route

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

Response headers

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

Proxy mode

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

Templating

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

Offline

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

Import / export

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

CORS

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

Latency

Add latency at environment or route level or even both.

File serving

File serving with automatic mime type detection and templating support.

Auto-save

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