$ geoip 8.8.8.8
IP: 8.8.8.8
United States (US)
North America (NA)
Coordinates: 37.751, -97.822
Flag: 🇺🇸
Currency: USD ($)
Calling code: +1
Organization: Google LLC
AS number: AS15169
Options
--api-key, -a value ipdata.co api key [GEOIP_API_KEY]
--ip-only, --ip Print current public IP and exit
--json, -j Print pure json
--no-color Disable color and emoji output [NO_COLOR] (http://no-color.org)
--user-agent, -u value HTTP user agent [GEOIP_USER_AGENT]
License
This project is distributed under the MIT License.