Mockoon
Mockoon is a free, open-source desktop app and CLI for designing and running mock REST APIs locally, with an optional cloud for teams.
- GitHub stars
- 8.4k
- Last commit
- today
- Latest release
- v9.9.0
- Licence
- MIT
- Self-hosted
- Yes
- Hosted version
- Available

Mockoon is an open-source tool for designing and running mock APIs. It combines a desktop application for building mock servers locally with a command-line tool for running those mocks in headless environments, and it requires no remote deployment or account.
API mocking reduces dependence on external services and their limits such as rate limits, costs and availability. Mockoon lets you control routes in detail, including HTTP methods and statuses, regex paths, file serving and custom headers. It supports OpenAPI import, JSON templating, HTTPS, a proxy forwarding mode and logs of incoming and forwarded requests. Teams can simulate errors and latencies and onboard new members with a consistent test environment.
The desktop app is built with Electron and TypeScript under the MIT licence and installs through Homebrew, winget, Chocolatey, the Windows Store, Snap or AUR. The CLI is also available as a Docker image for self-hosting mock APIs, and a separate cloud offering supports team collaboration, data sync and deployment of mock APIs.
Key features
- Unlimited local mock servers and routes
- Control over methods, statuses and regex paths
- OpenAPI compatibility
- JSON templating and proxy forwarding
- Request logs and HTTPS support
- CLI and Docker image for CI
Pricing: Mockoon Pro Team costs €10 per license per month, billed annually and excluding tax, with a 14-day free trial. Enterprise is quoted on request.

