API & HTTP · HTTPie

HTTPie

Human-friendly HTTP on the command line — prettier than curl, with JSON helpers, auth presets and sane defaults.

Visit httpie.io
CategoryPricingCompanyOfficial siteBest for
API & HTTPFreeHTTPiehttpie.ioDevs who poke at APIs from the terminal and want readable output by default

What it is

HTTPie is a command-line HTTP client written in Python, built to fix curl’s biggest sin: being hostile to humans. It formats responses with syntax highlighting, pretty-prints JSON automatically, uses intuitive syntax for headers and fields, and ships sensible defaults (like following redirects when it makes sense and treating JSON as first-class). The core CLI is free and open-source; the team also sells HTTPie Desktop, a visual client in the same spirit.

There’s also an httpie for Windows Store and official packages for every major OS, and the project leans hard on defaults that do what you meant: HTTPS everywhere, redirect following when safe, timeouts that fail rather than hang forever. The maintainers respond quickly on GitHub, and the plugin system lets you extend auth schemes and output formatters without forking. It’s a rare open-source tool that feels like a product, not a science project.

What it actually does

Compare the same request — curl first, then HTTPie:

# curl: works, but you write the ceremony yourself
curl -X POST https://api.example.com/users \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"name": "Ada", "role": "admin"}'

# HTTPie: says what it means
http POST api.example.com/users \
  name=Ada role=admin \
  Authorization:"Bearer $TOKEN"

Key-value pairs after the URL become a JSON body automatically. Query params are just ?page==2. Output is colorized by default — headers, status line, body — and piped output degrades gracefully to plain text, so it composes with jq. There are auth presets (--auth user:pass, bearer tokens, basic auth), session persistence (--session=myapp remembers cookies and headers), and a desktop app for people who want the same ergonomics with a GUI.

How the daily workflow looks

You’re in a shell; you want to check an endpoint. http :3000/api/health and the answer’s readable before your finger leaves Enter. Debugging a webhook? Save the request as a session, replay it, tweak one field. Verifying a staging deploy? One line, quota-friendly. Because it’s scriptable and deterministic, HTTPie requests end up in Makefiles, npm scripts and debugging docs — “run http :8000/orders and paste the output” is a legitimate bug-report instruction.

How it compares to alternatives

vs curl. curl is everywhere, endlessly scriptable and will outlive us all — but its syntax is a hazing ritual and its default output is unreadable. HTTPie covers the interactive 90% with half the typing; curl remains king for exotic protocols, fine-grained TLS control and machines where installing Python packages is taboo. Most devs end up bilingual: HTTPie at the keyboard, curl in scripts.

vs Postman / Bruno. Those are full GUI clients with collections and team workspaces; HTTPie is a terminal tool for fast, single-shot requests. No collections-as-code, no monitors — but nothing beats http GET :4000/users for speed. They complement, not compete.

Pricing and free tier

The HTTPie CLI is free and open-source (BSD-3-Clause-ish; check the repo). HTTPie Desktop is free to use with optional paid sync/team features for the GUI product. No account is required for the CLI, ever. If you want the hosted web/desktop collaboration bits, that’s where money enters — but the terminal tool itself costs nothing and always will. See httpie.io for Desktop pricing.

Where it shines / where it doesn’t

Shines: interactive API debugging, readable output in shared terminals and docs, JSON-heavy REST APIs, quick auth flows, teaching HTTP (the syntax mirrors the semantics), and any shell where curl feels like punishment.

Doesn’t: minimal containers without Python, highly unusual protocols or TLS edge cases, bulk scripted automation where curl’s ubiquity wins, and anyone who needs saved collections and team sync (get Bruno or Hoppscotch instead). Windows users should prefer the official installer or WSL for the smoothest experience.

Getting started in 3 minutes

# macOS
brew install httpie

# Anywhere with Python
pip install httpie

# Try it
http GET https://httpbin.org/get
http POST https://httpbin.org/post name=Ada role=admin

Two commands in, and you’ve never wanted to go back to reading raw curl output.

PeaBox fit

HTTPie is the terminal companion to a local-first PeaBox stack: hit your local Supabase or Neon branch, check a DuckDB HTTP endpoint, poke a mock server — all without leaving the shell. Keep the canned requests you reuse weekly as scripts in your repo, and stash the prompts that generate those commands in Prompt Library. When an AI suggests a curl pipeline, ask it for the HTTPie equivalent; you’ll actually be able to read it at 11pm.

The honest practitioner take

HTTPie is the rare tool that makes you smile every time you use it, which is suspicious — but the smile is earned. It turns API spelunking from archaeology into conversation. Install it, use it for a week on real work, and watch your curl usage quietly drop to CI scripts and muscle memory. Just remember what it isn’t: a collections manager or a team platform. It’s a better sharp knife, and every terminal deserves one.

Features and pricing approximate as of Nov 2026; check httpie.io for the current Desktop tiers.