IpForensics
HomeGoto Dashboard
  • πŸ“–Introduction
  • Protocols
    • HTTP Json Protocol
    • Response headers
    • Error Codes
  • Features
    • Pay-As-You-Go
    • API Security
    • HTTPS
  • Api Response Data
    • πŸ“ΆMobile Carrier
    • πŸ₯ASN
    • πŸ“ŠGeneral
    • ⏲️Timezone
    • πŸ’΅Currency
    • πŸ‘¨β€πŸ’»Threat Detector
    • 🌐Company
    • 🌏Geolocation
    • 🌍Advance Geolocation
    • πŸ’»Device Information
    • ✈️IATA/ICAO
  • API
    • πŸš€Intro
    • πŸ“ŠIP & Threat Intelligence API
      • Single Lookup
      • Origin Lookup
    • πŸ’ΉExchange Rate API
      • Currency Endpoint
      • Live Rate Endpoint
      • Historical Rate Endpoint
      • Currency Conversion Endpoint
      • Currency Swap Endpoint
  • Code Implantation
    • Block Automated Visits From Hosting Providers
    • Block VPN/Proxy and Tor users
    • Redirect by Country and Location Offers
    • Content Personalisation
    • Get the location from an IP Address in Javascript
    • How to get a client's IP address using JavaScript
    • HTML5 Geolocation with IpForensics fallback
    • Blocking Users by Country
    • Detecting Users Currency or Currency Personalisation
    • Preventing Free Trial Abuse
    • Device-Based Ads and App Binary
    • Detect Users Device/Computer and Operating System
    • Detect visitors from EU countries
    • How to detect and prevent credit card fraud
    • How to convert amounts to website visitor currency
  • MISC
    • Changelog
    • FAQs
    • Troubleshooting
    • API Status
    • Rate Limits
Powered by GitBook
On this page

Was this helpful?

  1. Api Response Data

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.

region

The region associated with the IP address.

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.

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

borders

PreviousGeolocationNextDevice Information

Last updated 2 years ago

Was this helpful?

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

name: The subdivision/region code associated with the IP, when available.

code: The 2 letter code of the main language associated with the IP location.

The 2 letter 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.

🌍
ISO 3166-1
ISO 3166-2
ISO 639-1
ISO 3166-1