IP2Location.io connects to a Nagent workspace with an API key. Once it is connected, agents can call 5 IP2Location.io actions, such as "Get API Key", "Get IP Geolocation" and "Bulk IP Geolocation". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against IP2Location.io, with input parameters and output schema.
IP2LOCATION_IO_BULK_IP_GEOLOCATIONTool to retrieve geolocation information for multiple IP addresses in bulk. Use when processing up to 1000 IPs at once.
Input parameters
Optional subset of fields to include. Allowed values: country_code, country_name, region_name, city_name, latitude, longitude, zip_code, time_zone, asn, as, is_proxy
Response format: 'json' or 'csv'
List of IPv4 or IPv6 addresses (1-1000 entries)
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
IP2LOCATION_IO_DOMAIN_WHOISTool to retrieve WHOIS information for a given domain. Use when you need domain registration and contact details via IP2WHOIS API.
Input parameters
API key for IP2Location.io WHOIS service
Domain name to look up, e.g., 'example.com'
Response format; valid values: 'json' or 'xml'
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
IP2LOCATION_IO_GET_API_KEYTool to retrieve the configured API key. Use when authentication is needed for IP2Location.io requests.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
IP2LOCATION_IO_GET_IP_GEOLOCATIONTool to retrieve comprehensive geolocation data for an IPv4 or IPv6 address. Returns location details including country, region, city, coordinates, timezone, ISP, ASN, and proxy information.
Input parameters
IP address (IPv4 or IPv6) for geolocation lookup. If not present, the server IP address will be used.
Translation language (ISO639-1) for continent, country, region and city names. Only available for Plus and Security plans.
Format of the response message. Default is json.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
IP2LOCATION_IO_IP2_WHOIS_HOSTED_DOMAINTool to retrieve hosted domain names by IP address. Use when you need to list domains hosted on a given IP. Call after confirming the IP.
Input parameters
IPv4 or IPv6 address to lookup hosted domains
Page number for pagination
Response format
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 5 IP2Location.io actions on Nagent, including "Get API Key", "Get IP Geolocation" and "Bulk IP Geolocation". Get API Key: Retrieve the configured API key. Each action is listed on this page with its input parameters and its output.
IP2Location.io connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
It returns data, error and successful.