Skip to content

IPs ​

This page documenents API Endpoints for quering IP data

JSON ​

GET /api/public/ip/{ip}

Parameters ​

ParameterTypeDescription
ipstringAny IPv4 or IPv6 to query.

Query Parameters ​

ParameterTypeDescriptionOptional
domainbooleanIf present, return the domain of the managing authority.yes
vpnbooleanIf present, return a "vpn" array which will detect basic VPNs.yes
nohostnamebooleanIf present, do not return the Hostname.yes

INFO

You can use self as the ip parameter to query the IP of the requesting client.

INFO

Example JSON:

json
{
    "ip": "8.8.8.8",
    "is6": false,
    "hostname": "dns.google",
    "accuracy_radius": 1000,
    "country": "United States",
    "continent": "North America",
    "loc": "37.751,-97.822",
    "lat": 37.751,
    "lon": -97.822,
    "asn": "15169",
    "aso": "Google LLC",
    "isp": "Google",
    "org": "Google",
    "registered_country": "United States",
    "timezone": "America/Chicago",
    "cc": "us",
    "mobile": [],
    "bgp": {
        "path": [
            "15169"
        ],
        "route": "8.8.8.0/24"
    },
    "vpn": {
        "is_vpn": false
    }
}