Geolocation Object

The geolocation (geolocation ) object is provided on IP addresses with known locations. This information is provided in both the IP API and various Netify Data Feed datasets.

The geolocation provided in our APIs and data feeds is city-level or country-level. City-level (if available) data comes directly from Netify's data collectors and analysis. If the city-level information is unavailable, the country-level data is provided using IPinfo data.

The Geoname ID is provided for both the city and region information. Geonames is an open geographical database available under the Creative Commons attribution license.

Geolocation Info
City
Toronto
City Geoname ID
6167865
Region
Ontario
Region Geoname ID
6093943
Country
Canada
Continent
North America
Latitude
43.70011
Longitude
-79.41630

Geolocation Attributes

continent

object
A small object with the continent code and label.

country

object
A small object with the country code and label.

region

object
A small object with the region geoname_id and label.

city

object
A small object with the city geoname_id and label.

coordinates

object
A small object with the scale (city or country), latitude and longitude.

Geolocation Object - JSON Overview

"geolocation": {
   "continent": {
      "code": "NA",
      "label": "North America"
   },
   "country": {
      "code": "CA",
      "label": "Canada"
   },
   "region": {
      "geoname_id": 6093943,
      "label": "Ontario"
   },
   "city": {
      "geoname_id": 6167865,
      "label": "Toronto"
   },
   "coordinates": {
      "scale": "city",
      "latitude": "43.70011",
      "longitude": "-79.41630"
   }
}