GeoIP
Just an IP-to-location service.
API
You might want to read the
API