> For the complete documentation index, see [llms.txt](https://ipforensics.gitbook.io/ipforensics/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ipforensics.gitbook.io/ipforensics/api-response-data/advance-geolocation.md).

# Advance Geolocation

We return the geolocation data belonging to the IP Address.

Sample Response

```javascript
    "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           | <p>The continent associated with the IP address. </p><p></p><p><strong>name</strong>: The name of the continent associated with the IP address.</p><p></p><p><strong>code:</strong> The 2 letter <a href="https://en.wikipedia.org/wiki/ISO_3166-1">ISO 3166-1</a> alpha-2 code associated with the IP.</p>                                                                                                                                                                                                                            |
| region              | <p>The region associated with the IP address. </p><p></p><p><strong>name</strong>: The <a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO 3166-2</a> subdivision/region code associated with the IP, when available. </p><p></p><p><strong>code:</strong> 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.</p>                                                                                                            |
| languages           | <p>A list of languages spoken in the country associated with the IP. Entries are sorted by popularity in descending order</p><p></p><p><strong>name:</strong> The name of the main language associated with the IP location.</p><p></p><p><strong>code:</strong> The 2 letter <a href="https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes">ISO 639-1</a> code of the main language associated with the IP location.</p><p></p><p><strong>native</strong>: The native name of the main language associated with the IP location.</p> |
| borders             | The 2 letter [ISO 3166-1](https://en.wikipedia.org/wiki/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.                                                                                                                                                                                                                                                                                                                       |
