# Hoppscotch — Open-Source API Development Platform > Test APIs with a beautiful UI. REST, GraphQL, WebSocket, SSE, and gRPC. Self-hostable Postman alternative. 78K+ GitHub stars. ## Install Copy the content below into your project: # Hoppscotch — Open-Source API Development Platform ## Quick Use Use instantly at [hoppscotch.io](https://hoppscotch.io) — no account needed. Self-host: ```bash git clone https://github.com/hoppscotch/hoppscotch.git cd hoppscotch docker compose up -d ``` Open `http://localhost:3000` — your API development platform is live. Desktop app available for macOS, Windows, and Linux. --- ## Intro Hoppscotch is an open-source API development ecosystem with 78,700+ GitHub stars — the most popular Postman alternative. Test REST, GraphQL, WebSocket, Server-Sent Events, Socket.IO, MQTT, and gRPC APIs with a fast, keyboard-driven interface. Available as a web app, desktop app, and CLI, Hoppscotch supports team workspaces, collections, environment variables, pre/post request scripts, and CI/CD integration. For AI developers, it's essential for testing LLM APIs, webhook integrations, and streaming endpoints. Works with: Any REST/GraphQL/WebSocket/gRPC API, OpenAI API, Anthropic API, any LLM endpoint. Best for developers testing and documenting APIs. Setup time: instant (web) or under 3 minutes (self-host). --- ## Hoppscotch Features ### Protocol Support | Protocol | Features | |----------|----------| | **REST** | All methods, headers, body, auth, params | | **GraphQL** | Query, mutation, subscription, schema explorer | | **WebSocket** | Connect, send/receive messages | | **SSE** | Server-Sent Events (LLM streaming!) | | **Socket.IO** | Real-time event testing | | **MQTT** | IoT message broker testing | | **gRPC** | Unary, streaming, reflection | ### Testing AI APIs ``` POST https://api.openai.com/v1/chat/completions Headers: Authorization: Bearer {{OPENAI_API_KEY}} Content-Type: application/json Body: { "model": "gpt-4o", "messages": [{"role": "user", "content": "Hello!"}], "stream": true } // Response streams in real-time in the SSE tab ``` ### Collections & Environments - Organize requests into folders and collections - Environment variables (dev, staging, production) - Share collections with team members - Import/export Postman collections ### Pre/Post Request Scripts ```javascript // Pre-request: Generate timestamp pw.env.set("timestamp", Date.now().toString()); // Post-request: Extract token const token = pw.response.body.access_token; pw.env.set("auth_token", token); ``` ### CLI for CI/CD ```bash npm install -g @hoppscotch/cli hopp test -e production my-collection.json ``` ### Team Workspaces - Shared collections and environments - Role-based access control - Real-time collaboration - Activity history ### Keyboard-First Design Every action has a shortcut. Send request: `Ctrl+Enter`. New request: `Ctrl+N`. Switch tabs: `Ctrl+1-9`. --- ## FAQ **Q: What is Hoppscotch?** A: Hoppscotch is an open-source API platform with 78,700+ GitHub stars for testing REST, GraphQL, WebSocket, SSE, and gRPC APIs. Fast, keyboard-driven Postman alternative. **Q: Can I import my Postman collections?** A: Yes. Hoppscotch imports Postman v2 collections, OpenAPI/Swagger specs, and cURL commands. **Q: Is Hoppscotch free?** A: Yes, open-source under MIT license. Web app is free. Self-host for free. --- ## Source & Thanks > Created by [Hoppscotch](https://github.com/hoppscotch). Licensed under MIT. > > [hoppscotch](https://github.com/hoppscotch/hoppscotch) — ⭐ 78,700+ --- ## 快速使用 访问 [hoppscotch.io](https://hoppscotch.io) 立即使用,无需账号。 --- ## 简介 Hoppscotch 是拥有 78,700+ GitHub stars 的开源 API 开发平台,支持 REST、GraphQL、WebSocket、SSE、gRPC。键盘驱动的快速界面,团队工作区,CI/CD 集成。Postman 的开源替代品。 --- ## 来源与感谢 > Created by [Hoppscotch](https://github.com/hoppscotch). Licensed under MIT. > > [hoppscotch](https://github.com/hoppscotch/hoppscotch) — ⭐ 78,700+ --- Source: https://tokrepo.com/en/workflows/1a83c479-0009-482b-9b11-bb41fb93d5be Author: AI Open Source