IP2Location.io

App · 1 action

Look up where an IPv4 or IPv6 address is with IP2Location.io: the country, region, city, postcode, coordinates and UTC offset, the network it belongs to and whether it is a known proxy. No account or API key required.

Look up IP address

Find out where an IPv4 or IPv6 address is (country, region, city, postcode, coordinates and UTC offset), which network it belongs to and whether it is a known proxy. Useful for tagging sign-ups or orders by country and for spotting visitors hiding behind a proxy. Private addresses come back with 'found' set to false rather than failing the step. No API key required.

Inputs

IP addressip_addresstextRequired
The IPv4 or IPv6 address to look up.

Outputs

asnnumber
The number of the network (autonomous system) the address belongs to, e.g. 15169.
citytext
The city, e.g. 'Mountain View'.
country_codetext
The country's two-letter code, e.g. 'US'.
country_nametext
The country's name, e.g. 'United States of America'.
foundtrue/false
True when IP2Location could place the address. False for a private or reserved address (such as 10.0.0.1) or one it has no record of; every other detail is then empty.
iptext
The address that was looked up, e.g. '8.8.8.8'.
is_proxytrue/false
True when IP2Location knows the address as a proxy (an open proxy, VPN, Tor exit and the like).
latitudenumber
The latitude of the location, e.g. 37.38605.
longitudenumber
The longitude of the location, e.g. -122.08385.
network_nametext
The name of the organisation that runs that network, e.g. 'Google LLC'.
postal_codetext
The ZIP or postal code of the area, e.g. '94043'.
regiontext
The state, province or region, e.g. 'California'.
summarytext
One line saying where the address is, e.g. '8.8.8.8 is in Mountain View, California, United States of America (Google LLC)', or that no location was found.
utc_offsettext
The location's current offset from UTC, e.g. '-07:00'. It is an offset, not a time zone name, and moves with daylight saving.
Example output
{
  "asn": 15169,
  "city": "Mountain View",
  "country_code": "US",
  "country_name": "United States of America",
  "found": true,
  "ip": "8.8.8.8",
  "is_proxy": false,
  "latitude": 37.38605,
  "longitude": -122.08385,
  "network_name": "Google LLC",
  "postal_code": "94043",
  "region": "California",
  "summary": "8.8.8.8 is in Mountain View, California, United States of America (Google LLC)",
  "utc_offset": "-07:00"
}

On this page