Get Whois
Gets the Whois information for the given domain. Returns the information if successful, otherwise returns an error.
Permissions Required: Whois::Whois
GET
/whois/whois
curl \
-X GET https://thefemdevs.com/api/whois/whois \
-H "x-domain: thefemdevs.com"
Response examples (200)
{
"tech": {
"fax": "Unknown",
"city": "Unknown",
"name": "Unknown",
"email": "https://domaincontact.cloudflareregistrar.com/thefemdevs.com",
"phone": "Unknown",
"state": "Unknown",
"street": "Unknown",
"country": "Unknown",
"postalCode": "Unknown",
"organization": "Unknown"
},
"admin": {
"fax": "Unknown",
"city": "Unknown",
"name": "Unknown",
"email": "https://domaincontact.cloudflareregistrar.com/thefemdevs.com",
"phone": "Unknown",
"state": "Unknown",
"street": "Unknown",
"country": "Unknown",
"postalCode": "Unknown",
"organization": "Unknown"
},
"status": [
"Client Transfer Prohibited"
],
"billing": {
"fax": "Unknown",
"city": "Unknown",
"name": "Unknown",
"email": "https://domaincontact.cloudflareregistrar.com/thefemdevs.com",
"phone": "Unknown",
"state": "Unknown",
"street": "Unknown",
"country": "Unknown",
"postalCode": "Unknown",
"organization": "Unknown"
},
"registrar": "Cloudflare, Inc.",
"domainName": "THEFEMDEVS.COM",
"registrant": {
"fax": "Unknown",
"city": "Unknown",
"name": "Unknown",
"email": "https://domaincontact.cloudflareregistrar.com/thefemdevs.com",
"phone": "Unknown",
"state": "MI",
"street": "Unknown",
"country": "US",
"postalCode": "Unknown",
"organization": "Unknown"
},
"updatedDate": "2023-07-24T19:03:11Z",
"creationDate": "Unknown",
"expirationDate": "2024-07-17T14:59:48Z"
}
Response examples (400)
Missing domain
{
"code": 8,
"message": "Missing Header Parameter(s)"
}
{
"code": 9,
"message": "Invalid Header Parameter(s)"
}
Response examples (401)
Missing API Token
{
"code": 3,
"message": "No API key provided"
}
{
"code": 4,
"message": "Invalid API key provided"
}
Response examples (403)
Missing permissions
{
"code": 1,
"message": "You are not authorized to access this resource"
}
{
"code": 2,
"message": "You are blacklisted from accessing this resource"
}