Domain Analysis
WHOIS Lookup
Get WHOIS registration data for any domain — registrar, dates, nameservers.
POST
$0.02/call/v1/seo/domain/whoisUsage
const res = await fetch('https://api.yepapi.com/v1/seo/domain/whois', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({ domain: 'vercel.com' }),
});
const { data } = await res.json();
console.log(data);curl -X POST https://api.yepapi.com/v1/seo/domain/whois \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain": "vercel.com"}'Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
domain | string | Yes | Domain to look up (without protocol) | — |
Response
{
"ok": true,
"data": {
"domain": "youtube.com",
"registrar": "MarkMonitor Inc.",
"createdDate": "",
"updatedDate": "",
"expiryDate": "",
"nameServers": []
}
}Response Fields
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the request succeeded |
data.domain | string | The domain that was looked up |
data.registrar | string | The domain registrar company |
data.createdDate | string | Domain registration creation date (ISO format, empty if unavailable) |
data.updatedDate | string | Date the WHOIS record was last updated (empty if unavailable) |
data.expiryDate | string | Domain expiration date (empty if unavailable) |
data.nameServers | string[] | List of authoritative nameservers for the domain |
Under the Hood
Real-time WHOIS data.