> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# IP2Location.io

> IP2Location.io provides a fast and accurate IP Geolocation API tool to determine a user's location and use the geolocation information in different use cases.

![IP2Location.io logo](https://mintcdn.com/composio-preview/tIuAovF9-7pXq2wA/images/toolkits/ip2location_io.svg?fit=max\&auto=format\&n=tIuAovF9-7pXq2wA\&q=85\&s=1c192b2da9bfb3ce728fc9ee9108628e)

* **Category:** places & weather
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 5
* **Triggers:** 0
* **Slug:** `IP2LOCATION_IO`
* **Version:** 20261101\_00

## Tools

> [accordion] Bulk IP Geolocation
>
> **Slug:** `IP2LOCATION_IO_BULK_IP_GEOLOCATION`
>
> Look up geolocation information for 1 to 1,000 IPv4 or IPv6 addresses, with JSON or CSV output and an optional selection of basic fields. Available data depends on your plan; the bulk API requires a paid plan.
>
> #### Input Parameters
>
> **fields** `array`
>
> 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
>
> **format** `string ("json" | "csv")`
>
> Response format: 'json' or 'csv'
>
> **ip\_list** `array` *required*
>
> List of IPv4 or IPv6 addresses (1-1000 entries)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Domain WHOIS Lookup
>
> **Slug:** `IP2LOCATION_IO_DOMAIN_WHOIS`
>
> Tool to retrieve WHOIS information for a given domain. Use when you need domain registration and contact details via IP2WHOIS API.
>
> #### Input Parameters
>
> **key** `string` *required*
>
> API key for IP2Location.io WHOIS service
>
> **domain** `string` *required*
>
> Domain name to look up, e.g., 'example.com'
>
> **format** `string ("json" | "xml")`
>
> Response format; valid values: 'json' or 'xml'
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get API Key
>
> **Slug:** `IP2LOCATION_IO_GET_API_KEY`
>
> Tool to retrieve the configured API key. Use when authentication is needed for IP2Location.io requests.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get IP Geolocation
>
> **Slug:** `IP2LOCATION_IO_GET_IP_GEOLOCATION`
>
> Retrieve geolocation data for an IPv4 or IPv6 address, including location, coordinates, time zone, ASN, and potentially ISP and proxy information. Available details depend on the subscription plan.
>
> #### Input Parameters
>
> **ip** `string` *required*
>
> IP address (IPv4 or IPv6) for geolocation lookup. If not present, the server IP address will be used.
>
> **lang** `string ("ar" | "cs" | "da" | "de" | "en" | "es" | "et" | "fi" | "fr" | "ga" | "it" | "ja" | "ko" | "ms" | "nl" | "pt" | "ru" | "sv" | "tr" | "vi" | "zh-cn" | "zh-tw")`
>
> Translation language (ISO639-1) for continent, country, region and city names. Only available for Plus and Security plans.
>
> **format** `string ("json" | "xml")`
>
> Format of the response message. Default is json.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] IP2WHOIS Hosted Domain
>
> **Slug:** `IP2LOCATION_IO_IP2_WHOIS_HOSTED_DOMAIN`
>
> Tool 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
>
> **ip** `string` *required*
>
> IPv4 or IPv6 address to lookup hosted domains
>
> **page** `integer`
>
> Page number for pagination
>
> **format** `string ("json" | "xml")`
>
> Response format
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
