> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ip2location

> Domain WHOIS Lookup

**Server path:** `/ip2location` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                  | Description                            |
| --------------------------------------------------------------------- | -------------------------------------- |
| [`ip2location_lookup_domain_whois`](#ip2location_lookup_domain_whois) | Look up WHOIS information for a domain |

***

## ip2location\_lookup\_domain\_whois

Look up WHOIS information for a domain

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                |
| --------- | ------ | -------- | ------- | ---------------------------------------------------------- |
| `domain`  | string | Yes      | —       | The domain name to look up (e.g., google.com, github.com). |
| `format`  | string | No       | —       | Response format. Defaults to JSON if not specified.        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "domain": {
        "type": "string",
        "description": "The domain name to look up (e.g., google.com, github.com)."
      },
      "format": {
        "type": "string",
        "description": "Response format. Defaults to JSON if not specified.",
        "enum": [
          "json",
          "xml"
        ]
      }
    },
    "required": [
      "PCID",
      "domain"
    ]
  }
  ```
</Expandable>
