IP string

The IP address that is being requested.



hostname string

The hostname or PTR record associated with the IP address.

To disable the hostname, set the hostname to false in the URL query. This will yield faster results as the API does not need to fetch the hostname for the IP address.

Example
https://api.nodedata.io/v1/1.1.1.1?hostname=false&key=API_KEY
security object

Contains information if the IP address is a VPN, proxy server, part of the TOR network, or belongs to an IP Relay service.

vpn boolean

Determines if the IP address is a VPN.

proxy boolean

Determines if the IP address is a proxy server.

tor boolean

Determines if the IP address is a TOR Exit Node.

relay boolean

Determines if the IP address is part of an IP Relay Service.

residential_proxy boolean

Determines if the IP address is part of a residential proxy network.

provider boolean

If available, determines the provider of the VPN, proxy, or relay service.

location object

Displays geolocation information about the IP address.

city string

The approximate city of the IP address.

region string

The approximate region or state of the IP address.

country string

The approximate country of the IP address.

continent string

The approximate continent of the IP address.

region_code string

The region or state area code.

country_code string

The ISO 3166-1 alpha-2 country code.

continent_code string

The continent code.

postal string

The approximate postal code for the IP address.

latitude number (float)

The approximate latitude coordinates for the IP address.

longitude number (float)

The approximate longitude coordinates for the IP address.

timezone string

Displays the timezone.

eu boolean

Determines if the IP address is in a country that is part of the European Union.

network object

Provides information about the IP's route, autonomous system name, and autonomous system number.

asn integer

The autonomous system number.

name string

The name of the autonomous system organization that manages the IP address.

route string

The IP network that the IP address is a part of.

cloudflare boolean

If the IP address is identified as part of the Cloudflare network. (Must have cloudflare parameter present).

Endpoint

https://api.nodedata.io/v1/{IP_ADDRESS}?hostname=false&cloudflare&key=API_KEY
Response
{
  "ip": "216.24.210.18",
  "security": {
    "vpn": true,
    "proxy": false,
    "tor": false,
    "relay": false,
    "residential_proxy": false,
    "crawler": false,
    "provider": "ExpressVPN"
  },
  "location": {
    "city": "Los Angeles",
    "region": "California",
    "country": "United States",
    "continent": "North America",
    "region_code": "CA",
    "country_code": "US",
    "continent_code": "NA",
    "postal": "90096",
    "latitude": 34.05306,
    "longitude": -118.244,
    "timezone": "America/Los_Angeles",
    "eu": false
  },
  "network": {
    "asn": 62240,
    "name": "Clouvider",
    "route": "216.24.210.0/24",
    "cloudflare": false
  }
}