# Install httpx on Windows, macOS and Linux

Probe lists of hosts for live web servers, titles, status codes and technologies.

httpx takes a list of hosts and reports which of them run a web server, with the status code, page title, server software and detected technologies. It is built to handle hundreds of thousands of hosts.

> httpx sends traffic to its target. Only use it on systems you own or have written permission to test.

## How to install httpx

```
ot install httpx
```

ot downloads httpx 1.12.0 as a prebuilt binary from [github.com/projectdiscovery/httpx](https://github.com/projectdiscovery/httpx/releases) and verifies its SHA-256 checksum before installing it. Nothing has to be compiled.

If you do not have ot yet:

macOS and Linux:

```
curl -fsSL https://otinstaller.com/install.sh | sh
```

Windows (PowerShell):

```
irm https://otinstaller.com/install.ps1 | iex
```

Current version: 0.3.0. Both scripts verify the download against its [SHA-256 checksum](https://otinstaller.com/releases/v0.3.0/checksums.txt) before installing.

## How to use httpx

Arguments after the tool's name go straight to httpx.

Probe a file of hosts, showing status, title and technologies.

```
ot run httpx -l hosts.txt -sc -title -td
```

Find a domain's subdomains and keep the live web servers.

```
ot run subfinder -d example.com -silent | ot run httpx -silent
```

Write one JSON object per host.

```
ot run httpx -l hosts.txt -json
```

`ot run httpx --help` lists every option.

An AI agent can run httpx too: `ot mcp` serves it over the Model Context Protocol, once the server is started with `--allow-active`. See [OSINT with AI agents](https://otinstaller.com/mcp/).

## API keys for httpx

httpx reads these environment variables. Store one with `ot keys set NAME` and ot passes it to httpx on every run.

| Variable | Purpose |
|---|---|
| `PDCP_API_KEY` | ProjectDiscovery Cloud Platform key (optional) |

## httpx licence, platforms and versions

- Project: https://github.com/projectdiscovery/httpx
- Licence: MIT
- Runs on: Windows, macOS and Linux
- Takes: domain, url, ip
- Categories: domain, web, recon
- Sends traffic to the target: yes
- Release binary: version 1.12.0 from github.com/projectdiscovery/httpx, verified by SHA-256

## Questions about httpx

### How do I install httpx on Windows?

Open PowerShell and install ot with `irm https://otinstaller.com/install.ps1 | iex`. Then run `ot install httpx`. ot fetches a pinned version of httpx and keeps it under `~/.ot`, apart from the rest of your system.

### Is httpx free?

Yes. httpx is open source, released under the MIT licence. ot, which installs it, is free under the Apache 2.0 licence.

### Do I need Go or a compiler to install httpx?

No. ot downloads the prebuilt httpx binary for your platform and checks its SHA-256 checksum. A mismatch installs nothing.

### How do I update or remove httpx?

`ot update httpx` moves it to the version pinned in ot's registry, and `ot update httpx --latest` to the newest upstream release. `ot remove httpx` uninstalls it.

### Do I need permission to use httpx?

Yes, for any system that is not your own. httpx sends traffic to its target, so use it only on systems you own or have written permission to test. ot shows this reminder before the first run, and its MCP server refuses httpx unless started with `--allow-active`.

## Tools related to httpx

- [amass](https://otinstaller.com/tools/amass/): In-depth attack surface mapping and subdomain discovery from many data sources.
- [bbot](https://otinstaller.com/tools/bbot/): Recursive OSINT automation: subdomains, emails, web and cloud findings in one run.
- [dnsx](https://otinstaller.com/tools/dnsx/): Fast DNS toolkit for resolving and probing large lists of hostnames.
- [fierce](https://otinstaller.com/tools/fierce/): DNS reconnaissance for locating hosts and non-contiguous IP space of a domain.
- [katana](https://otinstaller.com/tools/katana/): Web crawler that maps the pages, endpoints and JavaScript files of a site.
- [subfinder](https://otinstaller.com/tools/subfinder/): Fast passive subdomain enumeration from dozens of public sources.

More: [Websites](https://otinstaller.com/osint-tools/websites/).
