ipinfo
official command-line client for the IPinfo
TLDR
Get information about your own IP address
SYNOPSIS
ipinfo [IP|ASN] [options]
DESCRIPTION
ipinfo is the official command-line client for the IPinfo.io geolocation API. It provides IP address information including geographic location, ISP, organization, and ASN data.
The tool can look up any public IP address or ASN, returning details such as city, region, country, coordinates, timezone, and hosting provider. It supports both individual lookups and bulk queries, with output in plain text, JSON, or CSV formats.
PARAMETERS
--json
Output in JSON format--field FIELD
Return only the specified field (ip, city, region, country, org, etc.)--token TOKEN
API token for authentication and higher rate limits--csv
Output in CSV format--no-color
Disable colored output--version
Display version information--help
Display help information
CAVEATS
Requires internet connectivity to reach the IPinfo.io API. Free tier has rate limits; register for an API token for higher quotas. Private/internal IP addresses cannot be geolocated. Geolocation accuracy varies by region and IP type.
HISTORY
Developed by IPinfo.io, a geolocation data provider founded in 2013. The CLI tool provides command-line access to the same data available through their web API, which serves billions of requests daily for IP intelligence data.
SEE ALSO
curl(1), whois(1), dig(1), geoiplookup(1)
