📍GeoIP Location API

Provides the location for a provided host/IP address.

The API host for all tools is tools.datalabs.net.


GeoIP Location API

POST https://tools.datalabs.net/geoIP
Host: tools.datalabs.net
Content-Type: application/json

{
  "key": "DATALABS_API_KEY", // Required - DataLabs API Key
  "host": "22.22.22.22" // Required - IP to be checked
}
Example Response
{
    "success": true,
    "ip": "22.22.22.22",
    "hostname": "Unknown",
    "records": {
        "country_code": "US",
        "country_code3": "USA",
        "country_name": "United States",
        "region": {
            "code": "Unknown",
            "name": "Unknown"
        },
        "city": "Unknown",
        "postal_code": "Unknown",
        "latitude": "37.751",
        "longitude": "-97.822",
        "metro_code": "Unknown",
        "isp": "DoD Network Information Center",
        "organization": "DNIC-AS-00749",
        "asn": "AS749",
        "timezone": {
            "format": "America/Chicago",
            "time": "Thu, 06 Jun 2024 21:44:27 -0500"
        },
        "continent": {
            "code": "NA",
            "name": "North America"
        }
    }
}

Last updated