Insomnia Mockbin
Backend for Insomnia's API mocking feature, maintained by Kong, that echoes and mocks HTTP requests in HAR format; source-visible rather than open source.
- GitHub stars
- 2.1k
- Last commit
- 8 days ago
- Latest release
- v2.0.2
- Self-hosted
- Yes

Insomnia Mockbin is the service behind the API mocks capability of the Insomnia API client. It is built and maintained by Kong, the company behind the open-source Kong Gateway. The README states plainly that the repository is source-visible but not open source, so the LICENSE file should be read before using it.
The tool uses the HAR format and can return responses as JSON, YAML, XML, or HTML. It works well behind proxies by respecting the usual forwarding headers. Topics cover API mocking, testing, and API management. The repository documents how to run it with Node or with Docker Compose, and publishes API docs, a software bill of materials, and instructions to verify container image signatures and provenance.
Mockbin suits developers and QA engineers who need a quick endpoint for generating, inspecting, and mocking HTTP requests during API development and testing, and teams that want to host the same backend that powers Insomnia's mocks.
Key features
- HTTP request mocking and echoing
- Uses the HAR format
- JSON, YAML, XML, and HTML output
- Runs with Node or Docker Compose
- Signed container images with SBOM
- API documentation
Pricing: Source-visible rather than open source; check the repository LICENSE for terms.