Domain Expiration API: WHOIS Dates From a URL

September 22, 2026
Domain Expiration API: WHOIS Dates From a URL

A domain expiration API takes a URL and returns when the domain was registered and when it is set to expire. On Klazify that is POST https://www.klazify.com/api/domain_expiration with a Bearer token. The official quick-start example is https://www.cbsnews.com.

Starter is $39.99/mo (500 successful calls) with a 7-day trial. Failed or unreachable lookups are not billed. This is not IAB classification and not POST /api/domain_tech. Docs: klazify.com/api-docs.

Use cases

  • Renewal queue. Store domain_expiration_date and alert when domain_expiration_days_left drops under 30.
  • Age filter. Skip brand-new domains in a signup form using domain_age_date.
  • CRM hygiene. Keep updated_at so you know when the WHOIS snapshot was last refreshed.

Request: CBS News

curl 'https://www.klazify.com/api/domain_expiration' -X POST \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY' \
--data $'url=https://www.cbsnews.com'

Response: official domain_expiration sample

{
"domain": {
"domain_url": "https://cbsnews.com",
"updated_at": "2022-12-19T15:50:47.000000Z"
},
"success": true,
"domain_registration_data": {
"domain_age_date": "1994-10-04",
"domain_age_days_ago": 10303,
"domain_expiration_date": "2023-10-03",
"domain_expiration_days_left": 287
}
}

The fixture is dated 19 December 2022. Copy a live call for today’s days_left.

Go live

1. Register — 7-day trial.

2. Copy the Bearer key.

3. POST form field url to /api/domain_expiration.

4. Store domain_expiration_date.

Read domain expiry with a Klazify key →

Ready to use Klazify?

Start classifying websites, enriching company data, and exploring web intelligence.

Get Started Free