This service allows you to determine real-world geographical location of an IP address or domain by country, region, city, ISP and organization. You can perform active Nmap scan to probe for open services, fetch up-to-date WHOIS record or run live multi-source visual traceroute to find out connection bottleneck for any host on the Internet.
A free public API that returns geolocation information for an IP address is available from dazzlepod.com/ip/<IP_ADDRESS>.json. For example, you can use cURL to do this curl dazzlepod.com/ip/8.8.8.8.json.