Skip to content

httpstat

Single-file Python wrapper that shows curl timing breakdowns in your terminal

Permissive (OSI) · MIT
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

27

Health

Dormant

Overview

Stars

6,223

Last commit

8 months ago

Apr 2026

Repository age

10 years

since Aug 2016

Latest version

1.3.0

Oct 2020

Contributors

–

Releases

0

last 12 months

Language

Python

httpstat runs curl and prints where the time went: DNS lookup, TCP connect, TLS handshake, server processing and content transfer. It is a single Python 3 script with no dependencies, so you can download the file or install it with pip.

Because it wraps curl, you can pass most curl options after the URL. The exceptions are -w, -D, -o, -s and -S, which httpstat uses itself. Output can be JSON or JSONL with a versioned schema, which suits scripts and log pipelines. You can save results to a file.

An SLO check lets you set limits for total, connect, ttfb, dns and tls times. If a limit is exceeded, the command exits with code 4. It respects the NO_COLOR convention.

It runs on Linux and macOS, and Homebrew has a formula. On Windows, the author points to a Go port. It is MIT licensed. It can stand in for the timing views in graphical API clients when you only need latency.

Who it's for

Backend developers debugging slow endpoints

The timing breakdown shows whether DNS, TLS or the server causes the delay.

Skip if: You need to build and save request collections in a graphical client.

DevOps engineers adding latency checks to scripts

JSON output and SLO exit codes fit into CI jobs and cron checks.

Skip if: You need continuous monitoring with dashboards and alerts.

The problem it solves

curl can report timings, but its output is hard to read. httpstat shows each phase of a request clearly, so you can see where a request is slow.

Strengths

  • Single Python 3 file with no dependencies
  • Splits timing into DNS, TCP, TLS, server and transfer
  • JSON and JSONL output with a versioned schema
  • SLO thresholds exit with code 4 on violation
  • Accepts most curl options

Trade-offs

  • Maintenance is dormant, with no releases last year
  • Needs curl installed, since it wraps it
  • No native Windows version; the author suggests a Go port
  • Command line only, with no request collections

Frequently asked questions

How do I install it?

Run pip install httpstat, use brew install httpstat on macOS, or download the single script.

Does it work on Windows?

The author recommends a Go port for Windows users instead.

Can I use curl flags?

Yes, except -w, -D, -o, -s and -S.

What license is it under?

MIT.

Similar tools in API development and testing tools

Step CI

API development and testing tools

YAML-based command-line tool for testing REST, GraphQL, gRPC and SOAP APIs in CI

1.9k 100 2 years ago Dormant MPL-2.0

MQTT X

API development and testing tools

Desktop, CLI and web MQTT client for testing and debugging IoT messaging

5.1k 558 yesterday Slowing Apache-2.0

Requestly

API development and testing tools

Git-native API client for developers moving off Postman, with a closed-source app

6.8k 680 4 months ago Active AGPL-3.0

Mockoon

API development and testing tools

8.5k 494 2 days ago Active MIT

LibreDB Studio

API development and testing tools

Browser-based database editor for dozens of engines that you deploy next to your data

1.4k 273 today Thriving MIT

WebHook Tester

API development and testing tools

Self-hosted tool that gives you random URLs to capture and inspect incoming webhooks

555 59 6 months ago Dormant MIT