geoip.me

Hello, 44.192.114.32.

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/44.192.114.32
{ "ip": "44.192.114.32", "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 ja locale:

curl -H 'Accept-Language: ja' -H 'Accept: */json' https://geoip.me/44.192.114.32
{ "ip": "44.192.114.32", "type": "IPv4", "country_code": "US", "country": "アメリカ合衆国", "region": "バージニア州", "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