Skip to content

ipwhoami

Query multiple geolocation providers and compare results — right from your terminal. Zero dependencies. Cross-platform.

Zero Dependencies

Node.js 18+ built-in fetch — no bloated node_modules. Install and run instantly.

Multiple Providers

Query ipinfo.io, ipapi.co, and ip-api.com. Compare results side-by-side in a single command.

Cross-Platform

npm package for any OS, standalone Bash script for macOS/Linux, PowerShell script for Windows.

Pipe-Friendly

Raw JSON output mode for scripting, CI pipelines, and composing with other tools like jq.

Self-Hosted API

Run your own geolocation API with offline databases. No rate limits, no API keys, sub-millisecond lookups.

Terminal window
# Install globally
npm install -g ipwhoami
# Look up any IP
ipwhoami 8.8.8.8
# Compare across all providers
ipwhoami -c 1.1.1.1
# Or run without installing
npx ipwhoami 8.8.8.8