Domain WHOIS
Get fresh WHOIS data for any domain
Most fields are normalized to a common format, so dates, statuses, NS and more fields have same labels across different TLDs.
Get WHOIS data for any domain on the internet
GET https://domains-api.com/domains/{domain}/whois
Use this endpoint if you need domain WHOIS data. Api Key is required in either apiKey query parameter or Authorization header.
Path Parameters
domain*
String
Valid domain name
Query Parameters
key
String
Your API Key
follow
Number
How many WHOIS servers to query. 1 is faster, 2 includes more data from Registrar. Default: 1
raw
Boolean
Set to 1 or true to return raw WHOIS data in text format
Headers
Authorization
String
Your API Key. Include it as Bearer sk_abc123
The successful response will be in JSON format, and is an Object with WHOIS servers as keys.
{
"whois.verisign-grs.com": {
"Domain Name": "GOOGLE.COM",
"Registrar WHOIS Server": "whois.markmonitor.com",
...
},
"whois.markmonitor.com": {
"Domain Name": "google.com",
"Creation Date": "1997-09-15T00:00:00-0700",
"Expiry Date": "2020-09-13T21:00:00-0700",
"Registrar": "MarkMonitor, Inc.",
"Domain Status": [
"clientUpdateProhibited",
"clientTransferProhibited"
],
...
"Name Server": [
"ns1.google.com",
"ns2.google.com"
],
"text": [
"For more information on WHOIS status codes, please visit:",
...
]
}
}Examples
Last updated
Was this helpful?