DEV Community

Alex Spinov
Alex Spinov

Posted on

Hoppscotch Has a Free API That Is the Best Open-Source Alternative to Postman

Hoppscotch is the open-source API development platform. Test REST, GraphQL, WebSocket, SSE, and gRPC — all from your browser, for free.

REST API Testing

Hoppscotch gives you a beautiful interface for:

GET https://api.example.com/products?category=electronics&limit=20

Headers:
  Authorization: Bearer <token>
  Content-Type: application/json

Response:
  Status: 200 OK
  Time: 145ms
  Size: 2.3 KB
Enter fullscreen mode Exit fullscreen mode

Collections: Organize Your APIs

Create collections for your projects:

{
  "name": "Scraping API",
  "requests": [
    {
      "name": "List Products",
      "method": "GET",
      "url": "{{baseUrl}}/products",
      "headers": [{ "key": "Authorization", "value": "Bearer {{token}}" }]
    },
    {
      "name": "Create Product",
      "method": "POST",
      "url": "{{baseUrl}}/products",
      "body": {
        "contentType": "application/json",
        "body": "{\"title\": \"Widget\", \"price\": 29.99}"
      }
    }
  ]
}
Enter fullscreen mode Exit fullscreen mode

Environment Variables

{
  "name": "Production",
  "variables": [
    { "key": "baseUrl", "value": "https://api.example.com" },
    { "key": "token", "value": "your-api-key" }
  ]
}
Enter fullscreen mode Exit fullscreen mode

Switch between dev/staging/prod with one click.

GraphQL Testing

query GetProducts($category: String!) {
  products(category: $category) {
    id
    title
    price
    reviews {
      rating
      comment
    }
  }
}

variables:
{
  "category": "electronics"
}
Enter fullscreen mode Exit fullscreen mode

Auto-complete, schema explorer, and documentation — all built in.

WebSocket Testing

URL: wss://api.example.com/ws

Send: {"type": "subscribe", "channel": "price-updates"}
Receive: {"type": "update", "product": "widget", "price": 24.99}
Enter fullscreen mode Exit fullscreen mode

CLI: hopp-cli

# Run collection from CLI
hopp-cli run collection.json -e environment.json

# CI/CD integration
hopp-cli test collection.json --reporter junit
Enter fullscreen mode Exit fullscreen mode

Self-Host

# Docker
docker run -d -p 3000:3000 hoppscotch/hoppscotch

# Docker Compose
git clone https://github.com/hoppscotch/hoppscotch
cd hoppscotch
docker compose up -d
Enter fullscreen mode Exit fullscreen mode

Why Hoppscotch Over Postman

Feature Hoppscotch Postman
Price Free forever $14/mo (team)
Open source Yes No
Browser-based Yes Desktop app
Self-hostable Yes No
Offline PWA Desktop only
GraphQL Built-in Plugin
WebSocket Built-in Basic

Test your scraping APIs? My Apify tools expose clean APIs, perfect for Hoppscotch testing.

Custom API development? Email spinov001@gmail.com

Top comments (0)