# IP2WHOIS API reference

> The IP2WHOIS API returns the WHOIS record of a domain as JSON or XML: registrar, registration, update and expiry dates, domain age in days, nameservers and the registrant, admin, tech and billing contacts. The docs state coverage of 1221 TLDs, including 634 ccTLDs. Calls are GET requests to…

Source: https://osinttools.io/apis/ip2whois/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/ip2whois/

- Base URL: https://api.ip2whois.com
- Authentication: API key in the `key` query parameter. Get a key: https://www.ip2whois.com/developers-api
- Free tier: yes
- Rate limits: Not stated in the docs; the free API allows up to 500 lookups per month
- Vendor docs: https://www.ip2whois.com/developers-api

## Overview

The IP2WHOIS API returns the WHOIS record of a domain as JSON or XML: registrar, registration, update and expiry dates, domain age in days, nameservers and the registrant, admin, tech and billing contacts. The docs state coverage of 1221 TLDs, including 634 ccTLDs.

Calls are GET requests to `https://api.ip2whois.com/v2` with the license key in the `key` query parameter and the domain in `domain`.

The docs say the free API allows up to 500 WHOIS lookups per month. They do not state a rate limit.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Error body carries error_code 10000 (missing parameter), 10007 (invalid domain) or 10008 (invalid format) |
| 401 | Error body carries error_code 10001 (API key not found), 10002 (disabled) or 10003 (expired) |

## WHOIS

### WHOIS record of a domain, with registrar, dates, nameservers and contacts.

`GET /v2`

- Takes: Domain
- Footprint: passive (the target is not contacted)

Returns the parsed WHOIS record. Other error codes in the error body: 10004 insufficient credits, 10005 unknown error, 10006 no data found. The docs do not list HTTP status codes for these.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | query | string | yes | Domain name to look up Example: example.com |
| `format` | query | string | no | Response format Example: json One of: json, xml |

Response fields:

- `domain` (string): Domain name
- `domain_id` (string): Registry domain ID
- `status` (string): Domain status
- `create_date` (string): Creation date
- `update_date` (string): Last update date
- `expire_date` (string): Expiry date
- `domain_age` (integer): Domain age in days
- `whois_server` (string): WHOIS server
- `registrar.iana_id` (string): Registrar IANA ID
- `registrar.name` (string): Registrar name
- `registrar.url` (string): Registrar URL
- `registrant.name` (string): Registrant name; admin, tech and billing have the same fields
- `registrant.organization` (string): Registrant organization
- `registrant.country` (string): Registrant country
- `registrant.email` (string): Registrant email
- `nameservers[]` (string): Nameservers

```bash
curl 'https://api.ip2whois.com/v2?domain=example.com&key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "domain_id": "0000000000_DOMAIN_COM-VRSN",
  "status": "clientTransferProhibited",
  "create_date": "2012-04-03T02:34:32Z",
  "update_date": "2021-12-03T02:54:57Z",
  "expire_date": "2030-04-03T02:34:32Z",
  "domain_age": 3863,
  "whois_server": "whois.registrar.example",
  "registrar": {
    "iana_id": "9999",
    "name": "Example Registrar, Inc.",
    "url": "https://registrar.example.com"
  },
  "registrant": {
    "name": "Registration Private",
    "organization": "Example Org",
    "country": "US",
    "email": "registrant@example.com"
  },
  "nameservers": [
    "ns1.example.net",
    "ns2.example.net"
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
