ipwho.is returns the location, ISP, time zone, and currency for an IP address. Leave the IP off to look up the caller's own.
None for non-commercial use, with a monthly cap.
Full reference: https://ipwhois.io/documentation
curl https://ipwho.is/8.8.8.8
{
"ip": "8.8.8.8",
"success": true,
"type": "IPv4",
"continent": "North America",
"continent_code": "NA",
"country": "United States",
"country_code": "US",
"region": "California",
"region_code": "CA",
"city": "San Jose",
"latitude": 37.3393939,
"longitude": -121.8949553,
"is_eu": false,
"postal": "95025",
"calling_code": "1"
}
curl "https://ipwho.is/1.1.1.1?fields=country,city,connection"
{
"country": "Australia",
"city": "Brisbane",
"connection": {
"asn": 13335,
"org": "Apnic Research And Development",
"isp": "Cloudflare, Inc.",
"domain": "cloudflare.com"
}
}