IPinfo.io provides a comprehensive API for IP address geolocation and related data.
Toolkit · ipinfo_io
v1
01Batch IP Lookuptool
02Batch Lite Lookuptool
03Get Abuse Contacttool
04Get City by IPtool
API Key · verified
27T · 0TR
ipinfo.io
Supported tools and triggers
Each tool is a typed function your agent can call. Each trigger fires an agent run when something changes upstream.
Batch IP Lookup
Perform batch IP lookups to retrieve geolocation and ASN information for multiple IPs in a single request. Use this tool when you need to look up multiple IP addresses efficiently. Supports up to 1000 IPs per request. IMPORTANT: For free tier API tokens, prefix each IP with 'lite/' (e.g., 'lite/8.8.8.8'). Bare IPs without the 'lite/' prefix require a paid subscription.
TOOL
Batch Lite Lookup
Perform bulk Lite IP lookups for up to 1000 IPs in a single request. Returns lightweight IP information including ASN (Autonomous System Number), AS organization details, and geolocation (country and continent). Use cases: - Look up geolocation for multiple IPs at once - Identify the ISP/organization owning IP addresses - Detect bogon/private IPs (192.168.x.x, 10.x.x.x, etc.) - Retrieve specific fields only (e.g., '8.8.8.8/country' returns just the country) Supports both IPv4 and IPv6 addresses.
TOOL
Get Abuse Contact
Retrieve abuse contact and organization information for an IP address. Use this tool when you need to identify who owns an IP address or find contact information for reporting malicious activity. Note: Full abuse contact details (email, phone, name) require IPinfo Enterprise tier. For standard tiers, returns organization info (org, country, city, region) which can be used to identify the IP owner.
TOOL
Get City by IP
Retrieve the city name for a specific IP address. Returns the city name as plain text for any IPv4 or IPv6 address.
TOOL
Get Company Info for an IP
Retrieve company/organization information for an IP address. Returns the company name, domain, and type (business, ISP, hosting, etc.) associated with the IP. Supports both IPv4 and IPv6 addresses.
TOOL
Get Comprehensive IP Information
Retrieve comprehensive information about a specified IP address. Returns geographic location (city, region, country, coordinates), ASN details, company/organization info, privacy detection flags (VPN, proxy, Tor), carrier information for mobile IPs, and associated domain names. Supports both IPv4 and IPv6 addresses.
TOOL
Get Core Field by Me
Retrieve a specific field from core IP information about the current IP. Use this tool when you need just one specific piece of information (like city, country, hostname, or AS details) about the caller's IP address instead of fetching the complete IP profile.
TOOL
Get Country by IP
Retrieve the two-letter ISO 3166 country code for an IP address. Use when you need to quickly identify which country an IP address is located in without requesting full geolocation details.
TOOL
Get Current IP
Retrieve the current public/external IP address. Use this tool when you need to determine the caller's public IP address.
TOOL
Get Current IP Information
Retrieve comprehensive IP information about the caller's current IP address. Returns geolocation (city, region, country, coordinates, postal code, timezone), ASN details, company info, privacy detection flags (VPN/proxy/Tor), carrier info for mobile IPs, and abuse contact information. Use this when you need to identify and analyze the caller's IP address without specifying an IP parameter.
TOOL
Get Current Location
Retrieve geographic coordinates for the current IP address. Returns the latitude and longitude of the caller's IP address as a comma-separated string in the format 'latitude,longitude'. Use this when you need quick location coordinates without full geolocation details.
TOOL
Get Current Region
Retrieve the region/state for the caller's current IP address. Use this tool when you need to identify the geographic region or state where the current IP address is located. Returns a plain text region name.
TOOL
Get Geo by IP
Get geolocation data only for an IP address. Returns city, region, country, continent, coordinates, timezone, and postal code. Use this when you need detailed geographic location information for an IP address.
TOOL
Get Hostname by IP
Retrieve the hostname (reverse DNS) for an IP address. Use this tool to look up the hostname associated with any IPv4 or IPv6 address. Returns the hostname as a string. If no hostname is available, returns an empty string.
TOOL
Get IP by IP
Retrieve the IP address for a specified IP as plain text. Use this tool to echo back an IP address from the IPInfo API. This endpoint returns the IP address as plain text (not JSON). Useful for verifying IP address formatting or testing connectivity.
TOOL
Get IP Carrier Info
Retrieves mobile carrier information for a given IP address. Returns the carrier name, Mobile Country Code (MCC), and Mobile Network Code (MNC) for mobile network IPs. For non-mobile IPs (e.g., datacenter, ISP), returns the organization/ASN name with empty MCC/MNC values. Useful for identifying if an IP belongs to a mobile carrier network and which carrier it is.
TOOL
Get IP Information
Retrieve geolocation and ASN information for an IP address. Use this tool to look up country, continent, and Autonomous System (AS) details for any IPv4 or IPv6 address. Pass 'me' or omit the ip parameter to get information about the caller's own IP address. For private/reserved (bogon) IP addresses like 192.168.x.x or 10.x.x.x, only the ip and bogon fields will be populated.
TOOL
Get IP Privacy Details
Retrieve privacy/anonymous IP detection flags for an IP address. Returns whether the IP is associated with VPN, proxy, Tor, relay, or hosting services. Use this to detect potentially anonymous or masked traffic from an IP address. Note: This endpoint requires a Privacy Detection API subscription. If privacy data is unavailable for your subscription level, the action will return default values (all flags set to False).
TOOL
Get Lite Field By IP
Retrieve a specific field from lightweight IP information. Use this tool to get a single piece of information about an IP address (e.g., just the country, or just the ASN) without fetching the full IP data. This is more efficient when you only need one specific field. Supported fields: ip, asn, as_name, as_domain, country_code, country, continent_code, continent.
TOOL
Get Location by IP
Retrieve geographic coordinates (latitude, longitude) for an IP address. Returns location as comma-separated text in the format 'latitude,longitude'. Use when you need precise geolocation coordinates for IPv4 or IPv6 addresses.
TOOL
Get Organization by IP
Retrieve ASN and organization name for an IP address as plain text. Use this tool when you need to quickly identify which organization or ASN owns a specific IP address. Returns a plain text string containing the Autonomous System Number (ASN) and organization name (e.g., 'AS15169 Google LLC').
TOOL
Get Plus Field for Current IP
Retrieve a specific field from plus IP information about the current IP. Use this tool to get individual fields from IPInfo's Plus API for your current IP address. This includes detailed geographic data (city, region, coordinates), AS information, mobile carrier details, and privacy flags. Each field returns its specific data type (string, number, boolean, or object). Note: This endpoint requires a Plus API subscription. Returns 403 if the subscription doesn't include Plus features.
TOOL
Get Postal Code by IP
Retrieve the postal/zip code for an IP address. Use this when you need to identify the geographic postal code associated with an IPv4 or IPv6 address.
TOOL
Get Region by IP
Retrieve the region/state for a specified IP address. Use this tool when you need to identify the geographic region or state where a specific IPv4 or IPv6 address is located. Returns a plain text region name.
TOOL
Get Timezone by IP
Retrieve the IANA timezone for a given IP address. Use this tool when you need to determine the local timezone of an IP address location for scheduling, time conversion, or geographic analysis purposes.
TOOL
Get Token Information
Retrieve API service request limit information by access token. Returns usage statistics, request limits, remaining quota, and available API features. Use this to check your token's rate limits, current usage, and feature access before making other API calls.
TOOL
Map IP Addresses
Create an IPinfo map visualization from a list of IP addresses. Use this tool to generate an interactive map showing the geographic locations of multiple IP addresses. The tool accepts up to 500,000 IPs and returns a link to a visual map where all IP locations are plotted. Useful for visualizing the geographic distribution of network traffic, analyzing user locations, or investigating security incidents across multiple IP addresses.