Fast & lightweight HTTP gateway that serves WHOIS queries as a JSON REST API.
1.1K
Lightweight HTTP gateway that performs WHOIS lookups through a JSON REST API.
Send a POST /api/v1/whois request with a domain, IP address, or AS number — get a fully parsed WHOIS record back as structured JSON. Automatically follows referral chains to reach the most authoritative server. Covers 1 000+ TLDs, all RIRs, and AS number lookups.
The binary embeds a web UI and an OpenAPI 3.0 spec — no external files, no runtime dependencies.
docker run -p 8080:8080 letstool/http2whois:latest
Open http://localhost:8080/ to use the web UI, or query the API directly:
curl -s -X POST http://localhost:8080/api/v1/whois \
-H "Content-Type: application/json" \
-d '{"domain":"example.com"}' | jq
| CLI flag | Environment variable | Default |
|---|---|---|
-addr | LISTEN_ADDR | 127.0.0.1:8080 |
-whois-timeout | WHOIS_TIMEOUT | 15s |
-request-timeout | REQUEST_TIMEOUT | 20s |
CLI flags take priority over environment variables.
docker run -p 9090:9090 \
-e LISTEN_ADDR=0.0.0.0:9090 \
-e WHOIS_TIMEOUT=30s \
-e REQUEST_TIMEOUT=45s \
letstool/http2whois:latest
https://github.com/letstool/http2whois
This project is licensed under the Apache License, Version 2.0.
Copyright (c) 2026 letstool.net
| Project | GitHub | Docker Hub | Description |
|---|---|---|---|
http2dns | letstool/http2dns | letstool/http2dns | Fast & lightweight HTTP gateway that serves DNS queries as a JSON REST API |
http2whois | letstool/http2whois | letstool/http2whois | Fast & lightweight HTTP gateway that serves WHOIS queries as a JSON REST API |
http2rdap | letstool/http2rdap | letstool/http2rdap | Fast & lightweight HTTP gateway that serves RDAP queries as a JSON REST API |
http2geoip | letstool/http2geoip | letstool/http2geoip | Fast & lightweight HTTP gateway that serves IP geolocation database as a JSON REST API |
http2cert | letstool/http2cert | letstool/http2cert | Fast & lightweight HTTP gateway that serves X.509 certificate inspection as a JSON REST API |
http2tor | letstool/http2tor | letstool/http2tor | Fast & lightweight HTTP gateway that serves Tor IP database as a JSON REST API |
http2sun | letstool/http2sun | letstool/http2sun | Fast & lightweight HTTP gateway that serves solar position algorithm as a JSON REST API |
http2mac | letstool/http2mac | letstool/http2mac | Fast & lightweight HTTP gateway that serves MAC address OUI database as a JSON REST API |
http2country | letstool/http2country | letstool/http2country | Fast & lightweight HTTP gateway that serves country database as a JSON REST API |
http2prefix | letstool/http2prefix | letstool/http2prefix | Fast & lightweight HTTP gateway that serves Internet BGP routing database as a JSON REST API |
http2registry | letstool/http2registry | letstool/http2registry | Fast & lightweight HTTP gateway that serves RIR/NIR Internet registry database as a JSON REST API |
Content type
Image
Digest
sha256:1942d3d38…
Size
2.7 MB
Last updated
4 months ago
docker pull letstool/http2whois