๐ŸŒAdvance Geolocation

The IpForensics API supports looking up the Advance Geolocation of an IP Address.

We return the geolocation data belonging to the IP Address.

Sample Response

    "advanced-geolocation": {
        "area": 923768,
        "population": 211400704,
        "population_density": 228.85,
        "tld": ".ng",
        "continent": {
            "name": "Africa",
            "code": "AF"
        },
        "region": {
            "name": "Lagos",
            "code": "NG-LA"
        },
        "languages": [
            {
                "code": "en",
                "name": "English",
                "native": "English"
            },
            {
                "code": "ha",
                "name": "Hausa",
                "native": "Hausa"
            },
            {
                "code": "yo",
                "name": "Yoruba",
                "native": "รˆdรจ Yorรนbรก"
            },
            {
                "code": "ig",
                "name": "Igbo",
                "native": "Igbo"
            },
            {
                "code": "ff",
                "name": "Fula",
                "native": "Pulaar"
            }
        ],
        "borders": [
            "BJ",
            "CM",
            "NE",
            "TD"
        ]
    }
Field
Description

area

The sum of land and water areas within international boundaries and coastlines in kmยฒ.

population

The total population in number of residents for the country associated with the IP.

population_density

The number of residents per kmยฒ for the country associated with the IP.

tld

The country code top-level domain (ccTLD) associated with the country as defined by Internet Assigned Numbers Authority (IANA).

continent

The continent associated with the IP address.

name: The name of the continent associated with the IP address.

code: The 2 letter ISO 3166-1 alpha-2 code associated with the IP.

region

The region associated with the IP address.

name: The ISO 3166-2 subdivision/region code associated with the IP, when available.

code: The name of the region associated with the IP address. When a region code is available, the region name is in the administrative language of the country.

languages

A list of languages spoken in the country associated with the IP. Entries are sorted by popularity in descending order

name: The name of the main language associated with the IP location.

code: The 2 letter ISO 639-1 code of the main language associated with the IP location.

native: The native name of the main language associated with the IP location.

borders

The 2 letter ISO 3166-1 alpha-2 code of the countries that border the country associated with this IP. An empty list is returned if the country has no land borders.

Last updated

Was this helpful?