The IP Geolocation API allows you to look up detailed information about an IP address, including country, city, ISP, connection type, coordinates, and more.
IPv4 : 216.73.216.178
IPv6 : Detecting...
ISP : AMAZON-02
Location : United States
curl -s https://ip.imoz.io
Response
{
"ip": "216.73.216.178",
"iso_code": "US",
"country": "United States",
"city": null,
"state": null,
"state_name": null,
"postal_code": null,
"lat": 37.751,
"lon": -97.822,
"timezone": "America\/Chicago",
"continent": "NA",
"localizations": {
"en": {
"country": "United States",
"state_name": null,
"city": null
}
},
"currency": "USD",
"asn": 16509,
"ips": "AMAZON-02"
}
curl -s https://ip.imoz.io/8.8.8.8
Response
{
"ip": "8.8.8.8",
"iso_code": "US",
"country": "United States",
"city": null,
"state": null,
"state_name": null,
"postal_code": null,
"lat": 37.751,
"lon": -97.822,
"timezone": "America\/Chicago",
"continent": "NA",
"localizations": {
"en": {
"country": "United States",
"state_name": null,
"city": null
}
},
"currency": "USD",
"asn": 15169,
"ips": "GOOGLE"
}
Our API uses trusted data sources: