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
Name
Type
Description
domain*
String
Valid domain name
Query Parameters
Name
Type
Description
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
Name
Type
Description
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.
Examples
Last updated
Was this helpful?