Insomnia is an open-source API client for GraphQL, REST, WebSockets, SSE, gRPC, and other HTTP-style protocols, with local, Git, or cloud project storage.
Overview
Insomnia is a cross-platform API client for debugging and working with GraphQL, REST, WebSockets, Server-Sent Events, gRPC, and other HTTP-compatible protocols. You can send requests, inspect responses, and organize work in projects and collections.
Beyond sending traffic, it includes an OpenAPI editor with visual preview for API design, native test suites with a collection runner, and mocking through a cloud or self-hosted mocking server. An Insomnia CLI supports linting and testing in CI/CD pipelines, and third-party plugins extend the app.
Storage options include a fully local vault, Git sync to any third-party Git repository without cloud intermediaries, and cloud sync for collaboration with optional end-to-end encryption. A scratch pad mode works without an account, while an account unlocks broader product capabilities; private environments can keep environment variables local even when other data uses cloud sync.
Installers are offered for Mac, Windows, and Linux. Development of the application itself is also supported on those desktop operating systems.
Key features
- REST, GraphQL, gRPC, and WebSocket debugging
- OpenAPI design editor and preview
- Collection tests and collection runner
- Cloud or self-hosted API mocking
- Insomnia CLI for pipeline linting
- Local vault, Git sync, and cloud sync
- Optional end-to-end encrypted cloud storage
- Third-party plugin support
Use cases
- Debugging HTTP and GraphQL APIs
- Designing APIs with OpenAPI specs
- Running automated API test collections
- Storing specs in Git repositories
- Linting APIs in CI pipelines