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": "vercel.com",
"registrar": "Amazon Registrar, Inc.",
"createdDate": "1999-10-04T19:30:47Z",
"updatedDate": "2026-05-16T15:54:35Z",
"expiryDate": "2029-10-04T19:30:47Z",
"nameServers": [
"a.zeit-world.co.uk",
"b.zeit-world.org",
"e.zeit-world.com",
"f.zeit-world.net"
]
}
}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 (empty if the registry does not publish it) |
data.createdDate | string | Domain registration date (ISO 8601, empty if unavailable) |
data.updatedDate | string | Date the registration record was last changed (ISO 8601, empty if unavailable) |
data.expiryDate | string | Domain expiration date (ISO 8601, empty if unavailable) |
data.nameServers | string[] | Authoritative nameservers for the domain, lowercased |
Under the Hood
Real-time registration data straight from the registry's RDAP service (the structured successor to WHOIS), so dates and nameservers are authoritative. Unregistered domains return an error response and are never charged.