Mockoon lets you design and run mock HTTP APIs on your machine without cloud accounts. A desktop app handles editing; a CLI runs mocks in CI, Docker, and serverless setups.
Overview
Mockoon is a free toolset for building and serving fake REST APIs during development and testing. You can stand up mock servers locally so frontends and services are not blocked on unfinished backends or paid third-party API quotas.
The desktop application runs on common operating systems and supports unlimited local mock servers, route rules, OpenAPI workflows, JSON templating, HTTPS, proxy forwarding, request logging, and recording traffic to generate routes from real requests.
A separate command-line package and official Docker image run the same mocks in headless environments such as continuous integration, GitHub Actions, GitLab CI, and container platforms including cloud functions and serverless hosts.
Mockoon Pro is an optional paid platform for teams that want on-premises or private-cloud deployment, synchronized mock data, managed instances, a web UI, user management with local login or OIDC SSO, and audit trails. The core open tools remain oriented around local-first mocking without mandatory remote hosting.
Key features
- Unlimited local mock servers and routes
- OpenAPI compatibility
- JSON templating and Faker-style dynamic data
- Route rules for headers, query, body, and cookies
- Request recording and proxy forwarding
- HTTPS support
- CLI and Docker for headless runs
- Multiple responses per route with delays
Use cases
- Parallel frontend work before backends are ready
- Testing error and timeout scenarios
- Running mocks in CI pipelines
- Reducing reliance on rate-limited external APIs
- Onboarding developers with consistent mock contracts