geoip.me

Hello, 3.214.216.177.

Latitude
39.0481
Longitude
-77.4728
Country code
US
Country name
United States
Region
Virginia
City
Ashburn
Postcode
20149

JSON API example with default en locale:

curl -H 'Accept: */json' https://geoip.me/3.214.216.177
{ "ip": "3.214.216.177", "type": "IPv4", "country_code": "US", "country": "United States", "region": "Virginia", "city": "Ashburn", "postcode": "20149", "latitude": 39.0481, "longitude": -77.4728, "accuracy_radius": 1000 }

JSON API example using es locale:

curl -H 'Accept-Language: es' -H 'Accept: */json' https://geoip.me/3.214.216.177
{ "ip": "3.214.216.177", "type": "IPv4", "country_code": "US", "country": "Estados Unidos", "region": "Virginia", "city": "Ashburn", "postcode": "20149", "latitude": 39.0481, "longitude": -77.4728, "accuracy_radius": 1000 }

Available locales include: en, de, es, fr, ja, pt-BR, ru, zh-CN