IP Address:
ISP: Amazon.com
Hostname: ec2-50-19-57-50.compute-1.amazonaws.com
Country: United States
Country Code: US
Region: VA
City: Ashburn
Latitude: 39.043701171875
Longtitude: -77.487503051758
DMA Code: 511
50.19.57 block

Try JSON API from command line

$curl http://www.ipgeni.com/api/
    "ip": "",
    "hostname": "ec2-50-19-57-50.compute-1.amazonaws.com",
    "city": "Ashburn",
    "region": "VA",
    "country": "US",
    "loc": "39.043701171875,-77.487503051758",
    "org": "AMAZON.COM",
    "postal": "",
    "phone": ""
IPGENI geolocation API is available on the developer page. The API is compatible with hostip.info api which is no longer updated.