Mockoon offers tons of features that makes API mocking a breeze.
Create an unlimited number of mock API with unlimited number of routes and run them in parallel.
Use the CLI to run your mock APIs in any headless or automated environment: CI, GitHub Actions, Docker containers, etc.
Discover the CLI →Run your mock APIs in serverless environments: AWS Lambda, GCP/Firebase Functions, etc.
Serverless library →Route regex supported (/.*, /[a-z]{3}, ...), based on ExpressJS syntax.
Serve multiple rules-triggered or random responses with any headers body, or HTTP status codes.
Documentation →Automatically send CORS headers (Access-Control-Allow-Origin
, etc.) for OPTIONS requests.
Add any response headers to your routes and mock API. With auto-completion.
Documentation →Add latency at environment or route level or even both.
All incoming requests and outgoing responses are logged for easier debugging.
Documentation →Redirect all non-defined routes to the specified host with Mockoon's proxy mode.
File serving with automatic mime type detection and templating support.
Rich text editor for body content supporting multiple languages (JSON, HTML, etc).
Templating supported in body, file content and header, with many helpers: url params, query params, JSON body lookup, etc.
Documentation →Real-time auto save as you type. Never worry again about saving!
Run the CLI directly as an NPM package or use the provided Docker image.
Documentation →Offline and privacy friendly making Mockoon the best choice for highly regulated or high-security environments.
No account, no sign-up, no cloud deployment required.