Simple location data for small projects
Backed by the continuously growing and improving DB-IP database, our online API makes it easy to use real-time IP geolocation without the trouble of hosting and maintaining gigabytes of data.
The Free API is a fast and easy way to implement IP geolocation in a prototype or small website. It provides a simple IP to country, state and city mapping and is limited to 500 daily requests.
~# curl http://api.db-ip.com/v2/free/8.8.8.8
{
"ipAddress": "8.8.8.8",
"continentCode": "NA",
"continentName": "North America",
"countryCode": "US",
"countryName": "United States",
"stateProv": "California",
"city": "Mountain View"
}