
IP2Location.io
Process up to 1,000 IP addresses at once, pull WHOIS records for any domain, and discover all sites hosted on a single IP. Your AI agent taps into IP2Location.io's streamlined API to deliver geolocation and domain intelligence right where the conversation happens.




Four focused APIs that give your AI agent the power to geolocate IPs in bulk, look up domain ownership, and map hosted domains, all in real time.
IP2Location.io
From batch processing visitor logs to verifying domain ownership, your AI agent uses IP2Location.io to make every interaction more informed and secure.
Your marketing team uploads a list of 500 website visitor IPs. Your AI Agent sends them to IP2Location.io's bulk geolocation endpoint and returns country, city, and ISP data for every address. The sales team instantly sees which regions drove the most traffic. No manual spreadsheet work, no waiting for analytics reports to refresh.
A new partner submits their domain for integration setup. Your AI Agent queries IP2Location.io's WHOIS API, retrieves the registration date and registrant organization, and confirms the domain has not expired. If the registrant does not match the partner's stated company, the agent flags it for manual review. Verification happens within the onboarding conversation.
A security analyst asks your AI Agent to investigate an IP flagged in your firewall. The agent calls the Hosted Domains API to reveal all 47 domains sharing that server. Several are known spam domains. The agent recommends blocking the IP range and documents its findings in the conversation log for the security team.

IP2Location.io
FAQs
The agent can submit up to 1,000 IPv4 or IPv6 addresses in one API call to IP2Location.io's bulk endpoint. Results include country code, city, region, latitude, longitude, ZIP code, time zone, ASN, and proxy status for every address. Responses can be returned in JSON or CSV format.
IP2Location.io's WHOIS API returns domain creation date, updated date, expiration date, domain age, registrar name and URL, registrant name, organization, street address, city, region, country, phone, fax, email, and nameservers. It supports queries for 1,221 TLDs and 634 ccTLDs.
Tars requires your IP2Location.io API key, generated from your IP2Location.io dashboard. Enter the key in the Tars Tools configuration. All API calls are authenticated with this key. No OAuth or additional credentials needed.
No. Tars calls IP2Location.io's APIs in real time during conversations. Geolocation results, WHOIS records, and hosted domain lists are used to respond to the current query and are not persisted in Tars after the interaction ends.
Yes. The Hosted Domain API accepts an IPv4 or IPv6 address and returns a paginated list of all domain names hosted on that server. Your agent can browse through pages of results and identify co-hosted domains for security analysis or competitive research.
IP2Location.io is the newer, streamlined platform that consolidates IP geolocation, bulk lookups, WHOIS, and hosted domain APIs into a unified service with a single API key. The original IP2Location web service uses separate product keys for each feature. IP2Location.io is the recommended path for new integrations.
Yes. The bulk endpoint returns an is_proxy flag for each IP address in the batch. For detailed proxy classification including VPN, TOR, and datacenter detection, you can use the optional fields parameter to include proxy-specific data in the response.
Yes. The optional 'fields' parameter lets you specify exactly which data points to return, such as country_code, city_name, latitude, longitude, or is_proxy. Filtering reduces payload size and speeds up processing when you only need specific data points from large batches.
Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security
At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.