Current WHOIS record for a domain name or IP address.
GET/{domain}/whois/
- Takes: Domain
- Takes: IP address
- 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.
Path parameters
domainDomain name or IP address
Query parameters
formatResponse format; JSON when omitted
Response fields · 10ShowHide
registrant
Registrant
created
Creation date
expires
Expiry date
updated
Last update date
registrar
Registrar
statuses
Domain statuses
name_servers
Name servers
date
Date of the WHOIS record
record
Raw WHOIS text
record_source
Source of the record
curl 'https://api.domaintools.com/v1/example.com/whois/' \
-H 'X-Api-Key: YOUR_API_KEY'{
"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"
}
}