Skip to main content

ipinfo

Description

IP information from ipinfo.io service

Init

ipinfo(ip ip)

Fields

IDTYPEDESCRIPTION
requested_ipipThe IP address that was requested (empty if querying for your public IP)
returned_ipipThe IP address returned by ipinfo.io
hostnamestringHostname for this IP address
bogonboolTrue if the IP is from a special use, non-public range.
citystringCity where the IP is located, e.g. Los Angeles
regionstringRegion where the IP is located, e.g. California
countrystringCountry code where the IP is located, e.g. US
country_namestringCountry name of the location, e.g. United States
is_euboolTrue if the IP address is located in the European Union (EU).
locationstringGeocode location, e.g. 34.0522,-118.2437
orgstringName of the organization that manages the IP, e.g. AS13335 Cloudflare, Inc.
postalstringPostal code of the location, e.g. 90076
timezonestringTimezone of the location, e.g. America/Los_Angeles