geoip.me

Hello, 3.235.65.220.

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.235.65.220
{ "ip": "3.235.65.220", "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 ru locale:

curl -H 'Accept-Language: ru' -H 'Accept: */json' https://geoip.me/3.235.65.220
{ "ip": "3.235.65.220", "type": "IPv4", "country_code": "US", "country": "США", "region": "Вирджиния", "city": "Ашберн", "postcode": "20149", "latitude": 39.0481, "longitude": -77.4728, "accuracy_radius": 1000 }

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