# DomainTools Whois Lookup API reference

> The DomainTools WHOIS Lookup API returns the current WHOIS record for a domain name or IP address: registrant, registration dates, registrar, statuses, name servers and the raw record text. Not every field is present for every domain. An investigator can use it to see who registered a domain and…

Source: https://osinttools.io/apis/domaintools-whois/ (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/domaintools-whois/

- Base URL: https://api.domaintools.com/v1
- Authentication: API key in the `X-Api-Key` header. Get a key: https://docs.domaintools.com/ Query-string api_username/api_key and HMAC signed requests are also supported.
- Rate limits: Not stated in the docs
- Vendor docs: https://docs.domaintools.com/api/lookups/whois-lookup/

## Overview

The DomainTools WHOIS Lookup API returns the current WHOIS record for a domain name or IP address: registrant, registration dates, registrar, statuses, name servers and the raw record text. Not every field is present for every domain.

An investigator can use it to see who registered a domain and when. The domain or IP goes in the path, and `format` selects html, json or xml. If DomainTools has no recent WHOIS record for a domain, the call returns an error.

Authentication is by API key header, open query credentials, or HMAC signature (see the auth page). The docs page read does not state rate limits or pricing. Other lookups (Parsed WHOIS, WHOIS History) exist and are not covered here.

## WHOIS

### Current WHOIS record for a domain name or IP address.

`GET /{domain}/whois/`

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

Returns a response object with registrant, registration details, name servers and the raw record. Check whois.date to judge how current the record is.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | Domain name or IP address Example: example.com |
| `format` | query | string | no | Response format; JSON when omitted Example: json One of: html, json, xml |

Response fields:

- `response.registrant` (string): Registrant
- `response.registration.created` (string): Creation date
- `response.registration.expires` (string): Expiry date
- `response.registration.updated` (string): Last update date
- `response.registration.registrar` (string): Registrar
- `response.registration.statuses` (array): Domain statuses
- `response.name_servers` (array): Name servers
- `response.whois.date` (string): Date of the WHOIS record
- `response.whois.record` (string): Raw WHOIS text
- `response.record_source` (string): Source of the record

```bash
curl 'https://api.domaintools.com/v1/example.com/whois/' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "response": {
    "registrant": "Example Registrant",
    "registration": {
      "created": "2000-01-01",
      "expires": "2030-01-01",
      "updated": "2025-01-01",
      "registrar": "Example Registrar",
      "statuses": [
        "clientTransferProhibited"
      ]
    },
    "name_servers": [
      "ns1.example.com",
      "ns2.example.com"
    ],
    "whois": {
      "date": "2026-01-01",
      "record": "Domain Name: EXAMPLE.COM"
    },
    "record_source": "example.com"
  }
}
```

---

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/
