Actinia is an open source REST API for geographical data that uses GRASS GIS
Find geolocation with ip address
IP Geolocation API. Collecting data from multiple sources
Get location information by IP address
A (country/region/city) in-cascade location API