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 →

Serverless compatibility

Run your mock APIs in serverless environments: AWS Lambda, GCP/Firebase Functions, etc.

Serverless library →

Import / export

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

Documentation →
PRO

Quick prototyping using AI

Use our read-to-use templates and AI assistant to quickly prototype your mock APIs

Learn more →

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 →

Simulated 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 →

Auto-mocking

Auto-mock your API by recording requests and responses from a real API.

Documentation →

Proxy mode

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

Documentation →

File serving

File serving with automatic mime type detection and templating support.

Documentation →

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 →

Programmable responses

Local, global and environment variables support in responses.

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 →

Privacy friendly

Offline and privacy friendly making Mockoon the best choice for highly regulated or high-security environments.

Offline first

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