Free IP geolocation API

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 1,000 daily requests.

~# curl http://api.db-ip.com/v2/free/
    "ipAddress": "",
    "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