Skip to content

Providers

ipwhoami normalizes the response from each provider into a consistent format:

{
"ip": "...",
"city": "...",
"region": "...",
"country": "...",
"org": "...",
"location": "lat, lon",
"timezone": "..."
}
Flag valueipinfo
DefaultYes
HTTPSYes
Free tier50,000 requests/month
API docsipinfo.io/developers
Terminal window
ipwhoami -p ipinfo 8.8.8.8

Returns IP, city, region, country (ISO code), org (ASN + name), coordinates as lat,lon, and timezone.

Flag valueipapi
HTTPSYes
Free tier1,000 requests/day
API docsipapi.co
Terminal window
ipwhoami -p ipapi 8.8.8.8

Returns IP, city, region, country (full name), org, separate lat/lon (combined by ipwhoami), and timezone.

Flag valueip-api
HTTPSNo (HTTP only on free tier)
Free tier45 requests/minute
API docsip-api.com/docs
Terminal window
ipwhoami -p ip-api 8.8.8.8

Returns query IP, city, region name, country, ISP (mapped to org), separate lat/lon, and timezone.

All third-party providers have rate limits on their free tiers. If you hit a limit, you’ll see an error like:

error: request to https://ipapi.co/8.8.8.8/json failed: HTTP 429

Wait a moment and retry, or switch to a different provider with -p.

To avoid rate limits entirely, ipwhoami includes a self-hosted API powered by offline databases. It runs on your own infrastructure with zero third-party calls and no rate limits.