# Ip2Location AI integration on Definable

> IP2Location.io provides fast and accurate IP geolocation data, including country, city, ISP, latitude, longitude, and more, supporting both IPv4 and IPv6 lookups.

## What this connects

IP2Location.io provides fast and accurate IP geolocation data, including country, city, ISP, latitude, longitude, and more, supporting both IPv4 and IPv6 lookups.

Vendor: https://www.ip2location.io/

## Tools available

**8** tools available. First 8:

- `IP2LOCATION_BULK_IP_GEOLOCATION` — Bulk IP Geolocation — Retrieve geolocation information for multiple IP addresses in a single request. Supports batch processing of 1-1000 IPv4 or IPv6 addresses with flexible output formats (JSON or CSV) and customizable field selection. Returns comprehensive data including country, region, city, coordinates, timezone, ASN, and proxy detection. Note: Automatically falls back to individual lookups if bulk endpoint is unavailable.
- `IP2LOCATION_CHECK_CREDITS` — Check IP2Location API Credits — Tool to check remaining IP2Location API credits. Use after setting up authentication to monitor usage.
- `IP2LOCATION_DISTANCE` — IP2Location Distance Calculator — Calculate the great-circle distance between two IP addresses based on their geographic locations. This tool looks up the geolocation (latitude/longitude) for each IP address and calculates the shortest distance between them over the Earth's surface using the Haversine formula. Supports both IPv4 and IPv6 addresses. Returns the distance in kilometers along with the coordinates of both IPs. Use when you need to determine geographic separation between two IP addresses, such as for latency estimation, geographic analysis, or network optimization.
- `IP2LOCATION_GET_HOSTED_DOMAINS` — IP2WHOIS Hosted Domains Lookup — Retrieves a list of domain names hosted on a specific IP address (IPv4 or IPv6). Use this tool when you need to: - Discover which domains are hosted on a particular IP - Investigate shared hosting environments - Analyze domain-to-IP relationships The API supports pagination for IPs with many hosted domains.
- `IP2LOCATION_GET_IP_GEOLOCATION` — IP2Location Get IP Geolocation — Tool to retrieve geolocation data for an IP address. Use when detailed IP location info is needed.
- `IP2LOCATION_GET_PROXY_DETECTION` — IP2Proxy: Get Proxy Detection — Tool to detect if an IP is a proxy, VPN, or TOR exit node. Use when verifying anonymizing services.
- `IP2LOCATION_IP2_WHOIS_DOMAIN_WHOIS` — IP2WHOIS Domain WHOIS Lookup — Tool to retrieve WHOIS information for a domain. Use when you need domain registration details.
- `IP2LOCATION_LIST_IPS` — IP2Location List IPs — Tool to list a curated set of test IPv4 and IPv6 addresses. Use when sample IPs are needed for IP2Location or IP2Proxy lookups during development or testing.

## Auth

Auth schemes: `API_KEY`.

## How agents use Ip2Location

Inside a Definable workflow, Ip2Location is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Ip2Location** — the Researcher (GPT-5.5) pulls context from Ip2Location (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Ip2Location** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Ip2Location (create record, post message, draft email).
- **Designer / Engineer → Distributor → Ip2Location** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Ip2Location (attach file, open PR comment, post status).

The Verifier checks every Ip2Location call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- developer tools — https://definable.ai/apps/category/developer-tools/
- analytics — https://definable.ai/apps/category/analytics/

## Related

- HTML page: https://definable.ai/apps/ip2location/
- Same category (developer tools): https://definable.ai/apps/category/developer-tools/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
