Free IP geolocation API

Zero maintenance and always up to date.

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.





Free API

Simple location data for small projects

The Free API is a simple and easy way to implement IP geolocation in a prototype or small website. It is limited to 1,000 daily requests and cannot be used over HTTPS.

~# 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"
}


  •   Continent/Country code and name
  •   State or Province
  •   City
  •   Currency and international phone prefix
  •   District name and zip code
  •   Latitude and Longitude
  •   Timezone
  •   AS number and access to AS API
  •   ISP and Organization name
  •   Connection type
  •   Threat level assessment and details
  •   Crawler, proxy and VPN detection






Resources



  Documentation

  GitHub