# Ip2Whois

IP2WHOIS provides a WHOIS lookup API that returns comprehensive domain information, including creation date, updated date, expiration date, domain age, registrant contact information, and nameservers.

- **Category:** security & identity tools
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 2
- **Triggers:** 0
- **Slug:** `IP2WHOIS`
- **Version:** 20260211_00

## Tools

### IP2WHOIS Domain Lookup

**Slug:** `IP2WHOIS_DOMAIN_LOOKUP`

Retrieves WHOIS registration data for any domain. Returns registrar info, registration/expiration dates, domain age, nameservers, and contact details (registrant, admin, tech, billing). Use to investigate domain ownership, check availability, verify legitimacy, or research competitors. Note: Some data may be redacted due to WHOIS privacy protection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `domain` | string | Yes | Domain name to look up WHOIS information for. Supports all TLDs including .com, .org, .net, .co.uk, etc. Do not include 'http://' or 'www.' prefix. |
| `format` | string ("json" | "xml") | No | Response format. Use 'json' (default) for structured data parsing or 'xml' for XML output. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Hosted Domains Lookup

**Slug:** `IP2WHOIS_HOSTED_DOMAINS_LOOKUP`

Tool to retrieve hosted domains for a given IP address. Use this after validating the IP.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ip` | string | Yes | IPv4 or IPv6 address to look up |
| `page` | integer | No | Page number for paginated results, must be >= 1 |
| `format` | string ("json" | "xml") | No | Response format; one of 'json' or 'xml' |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
