YepAPI
Domain Analysis

WHOIS Lookup

Get WHOIS registration data for any domain — registrar, dates, nameservers.

POST/v1/seo/domain/whois
$0.02/call

Usage

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

ParameterTypeRequiredDescriptionDefault
domainstringYesDomain 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

FieldTypeDescription
okbooleanWhether the request succeeded
data.domainstringThe domain that was looked up
data.registrarstringThe domain registrar company (empty if the registry does not publish it)
data.createdDatestringDomain registration date (ISO 8601, empty if unavailable)
data.updatedDatestringDate the registration record was last changed (ISO 8601, empty if unavailable)
data.expiryDatestringDomain expiration date (ISO 8601, empty if unavailable)
data.nameServersstring[]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.

On this page