← Back to blog

Domain Expiration Check: How to See When Any Domain Expires (Free, Bulk or curl)

Domainee·
domain expiration checkcheck domain name expirycheck when a domain expiresdomain expiration lookupdomain expiry checker
Domain Expiration Check: How to See When Any Domain Expires (Free, Bulk or curl)

To run a domain expiration check, paste the domain into the free domain expiration checker and read the expiry date. It takes up to 20 domains at once, one per line or comma-separated.

The date comes from the registry record, read via RDAP or WHOIS. It is not the day the domain becomes available to register. That gap is where most people misjudge timing, so we cover it below. We also cover curl, SSL, and what a lapsed domain does to your SaaS.

Check when a domain expires

  1. Open the free domain expiration checker.
  2. Paste one domain, or up to 20.
  3. Read the expiry date.

One domain or twenty, same box.

Prefer a terminal? Skip to the curl section.

How to check domain expiry in bulk (up to 20 domains)

The checker takes up to 20 domains in one run. Paste them one per line or comma-separated, then run the check.

This is the right tool when you:

  • run an agency and hold domains for clients
  • keep a portfolio of side projects (we don't judge)
  • want to spot the next renewal before it bites

One plain note: the free tool is a lookup, not a monitor. It tells you the date when you ask. It doesn't watch the date for you.

What a domain expiration date actually means

An expiration date is not the day a domain disappears. It is also not the day the domain becomes available to register. The expiration date is where most people misjudge timing.

Two things people get wrong:

  • They assume the domain is free to grab the moment the expiry date passes. It isn't. Expiry is a date on the registration record, not a release date.
  • They assume a missing date means a broken domain. A missing date usually means the TLD, not the domain.

For the full record on a domain, including nameservers, use the WHOIS lookup. It shows what a given domain publishes today.

Read the date. Then read the record. Don't plan around a guess.

RDAP vs WHOIS: which one to use to check expiry

Both answer "when does this domain expire." For the date itself, either works.

Here is how that maps to our tools:

  • Domain expiration checker: takes up to 20 domains and returns expiry dates.
  • WHOIS lookup API: returns the same dates for one domain.
  • Domain age checker: checks the registration age of a domain.

If the date comes back empty, the TLD is the usual cause. It's rarely a typo on your end.

Check domain expiry from the command line

One domain, one request:

curl -s "https://api.domainee.dev/v1/tools/whois-lookup?domain=example.com" | jq

The free WHOIS lookup API returns the same dates for one domain that the browser tool does.

The domain age checker has an API too. It returns the registration date, age in days and years, last-updated date and expiration date. One call gets you all of it.

The ground rules for the free public APIs:

  • No key needed.
  • CORS-enabled.
  • 30 requests per minute and 500 per day, per IP.
  • No uptime commitment.

That last one matters. Use these for scripts and audits, not as a production dependency. A cron job that sweeps your client list on a Tuesday is a great fit. Your checkout flow is not.

What happens when a domain lapses: DNS, SSL and your product

When a registration lapses, the domain stops working the way it did. A lapsed domain can't pass the certificate check, so the certificate eventually runs out. Site down, padlock gone, support inbox full.

There are three separate clocks. Don't mix them up.

ClockWhat it tracksWhere to check
Registration expiryWhen the registration lapsesDomain expiration checker or WHOIS lookup
Certificate expiryWhen the SSL certificate runs outSSL certificate checker
DNS healthWhether the hostname still resolves where you expectDNS record lookup, or connected-domain monitoring if you run a SaaS

The SSL certificate checker shows issuer, validity, expiration countdown and certificate chain for any domain. That expiry is a different date from the registration expiry. Check both.

If you run a SaaS: get alerted when a customer's domain lapses

Your customers connect their own domains to your product. Then one of them forgets to renew. You find out when they email you that your product is broken.

We re-check DNS and SSL for every connected domain every 5 minutes. Each domain carries a monitorStatus, such as dns_not_resolving or ssl_expired, and you can subscribe to webhooks for changes. Domainee also has a domain.expired webhook event. The docs page covers its payload and when it fires.

Be clear on scope. Domainee doesn't read registration dates for connected domains. Our monitoring is detection after the fact, not an advance renewal reminder. For advance dates, use the free checker or the curl call above.

What to do when a domain expires event reaches your endpoint:

  • Tell the customer to check their domain.
  • Retry renewal, if you handle renewals for them.
  • Switch your UI from "live" back to "needs DNS".

Webhooks are signed with HMAC-SHA256 in the x-domainee-signature header. Failed deliveries retry 6 times: immediately, then at +1 min, +5 min, +30 min, +2 h and +12 h. Verify the signature, return a 2xx, and you're done.

Want the whole setup? Domainee by Common Ninja is a custom-domains-as-a-service API for SaaS products. 20 custom domains and 100 GB bandwidth are free forever.

If you sell domains in your app: renewals and auto-renew

If your product sells domains, the renewal clock is yours to manage. With the Buy a Domain API you can renew, cancel, or toggle auto-renew. You also get domain_purchase.renewed and domain_purchase.renewal_failed webhooks.

The API works on POST /v1/domain-purchases, covers 500+ TLDs, and charges wholesale price plus a $1 flat fee through the customer's Stripe account. The end user is the legal registrant.

Details are on the Buy a Domain API page.

Start checking

Paste your domains into the free domain expiration checker. Up to 20 at once, no key.

If you run a SaaS and your customers connect their own domains, start free with 20 domains. A card on file is required before your first domain, and it is charged $0 under the free tier.

FAQ

How do I check when a domain expires? Paste the domain into the free domain expiration checker and read the expiry date. The date comes from the registry record, read via RDAP or WHOIS.

Can I check the expiry date of several domains at once? Yes. The checker takes up to 20 domains per run, one per line or comma-separated.

Is the expiration date the day the domain becomes available? No. An expiration date is not the day a domain disappears or becomes available to register. It is where most people misjudge timing.

What is the difference between RDAP and WHOIS for expiry dates? Both answer "when does this domain expire." Our hosted WHOIS lookup API returns the same dates for one domain.

How do I check domain expiry from the command line? Run curl -s "https://api.domainee.dev/v1/tools/whois-lookup?domain=example.com" | jq. It needs no key, but it is limited to 30 requests per minute and 500 per day per IP, with no uptime commitment.

Is domain expiry the same as SSL certificate expiry? No. They are separate dates. The SSL certificate checker shows a certificate's own validity and expiration countdown, while the registration expiry comes from the registry record.

What happens to my website when a domain expires? The domain stops working the way it did. A lapsed domain can't pass the certificate check, so its certificate eventually runs out.

Can I get alerted before a domain expires? The free checker is a lookup, not a monitor, so it doesn't send reminders. Check the date yourself and set a calendar alert ahead of it. Domainee's connected-domain monitoring doesn't read registration dates, so it isn't an advance reminder either.

How do I know if a customer's domain has lapsed on my SaaS? Domainee re-checks DNS and SSL for every connected domain every 5 minutes and reports each domain's monitorStatus. You can subscribe to webhooks, including the domain.expired event, and act on them.

Domain Expiration Check: See When Any Domain Expires | Domainee