IP Geolocation
IPApproximate location and network (ISP / ASN) for any IP — from self-hosted GeoLite2, never a third-party API.
Use this from the command line
curl -s https://ipcow.com/api/geo \
-H 'content-type: application/json' \
-d '{"ip":"8.8.8.8"}'