IPinfo at https://ipinfo.io returns location, ASN, and hostname data for an IP address. Basic lookups work without a token at low volume.
None for light use. A free token raises the limit; send it as Authorization: Bearer <token>.
Full reference: https://ipinfo.io/developers
curl https://ipinfo.io/8.8.8.8/json
{
"ip": "8.8.8.8",
"hostname": "dns.google",
"city": "Mountain View",
"region": "California",
"country": "US",
"loc": "38.0088,-122.1175",
"org": "AS15169 Google LLC",
"postal": "94043",
"timezone": "America/Los_Angeles",
"readme": "https://ipinfo.io/missingauth",
"anycast": true
}
Returns plain text.
curl https://ipinfo.io/1.1.1.1/org