Skip to content

Email DNS

Check when a domain expires

Days left before the registration ends, from the registry's own record, with the statuses that show a domain in grace, redemption or pending delete.

Try an example
Expires in 2277 daysExample

The registration runs until 2033-02-17. When a registrar renews a domain automatically, this date moves forward.

Expires on
2033-02-17
Days left
2277
Registered on
2009-02-17
Last updated
2024-01-09
Registrar
Cloudflare, Inc. (IANA 1910)
Statuses to watch
None
Registry statuses
client delete prohibited, client transfer prohibited, client update prohibited, server delete prohibited, server transfer prohibited, server update prohibited
API access
Unlock with a free account

Unlock with a free account

These fields need an API key. The free plan includes 100 credits every month, no card required.

Unlock these fields

How to read the result

The status says how many days are left, or how long ago the date passed. The rows show the dates behind that number and the statuses that tell you where the domain stands in its lifecycle.

Field What it means What to do with it
Status Expires in N days, Expired N days ago, Expiry date not published, or Not registered. Green at 30 days or more, amber under 30, red once the date has passed. Amber on your own domain: renew now, or confirm auto-renew. Red: see the timeline below.
Reason Shown first, only when no record could be read: the registry has no record of the domain, the TLD has no public RDAP server, or the registry's RDAP server did not answer. An unsupported TLD has no dates here. Retry when the server did not answer.
Expires on The end of the current registration period, as a UTC date, colored like the status. The date to renew before.
Days left Whole days from now to that date. Negative once it has passed. Use it in alerts: it is the number the color is based on.
Registered on The start of the current registration. With Expires on, it gives the length paid so far.
Last updated The last change the registry recorded. A renewal moves it. A recent update next to a date pushed a year out usually means a renewal.
Registrar The company the domain is registered through, with its IANA Registrar ID. Renewals, restores and auto-renew are handled there.
Statuses to watch Only the lifecycle statuses: auto renew period, renew period, redemption period, pending restore, pending delete, client hold, server hold. None when there are none. Any value here changes how to read the date. The table below explains each.
Registry statuses Every RDAP status of the domain, locks included. The WHOIS lookup explains the locks.
API access Locked. The same lookup from your code. Needs a free account, which includes 100 credits every month.

Checks are free: 10 a day without an account.

How the check works

  1. The tool reduces what you typed to the registrable domain. mail.example.co.uk is read as example.co.uk, because only that name has a registration.
  2. It finds the registry's RDAP server in IANA's bootstrap file (RFC 9224) and asks it for the domain (RFC 9082).
  3. It reads the expiration, registration and last changed events and the status list from the JSON answer (RFC 9083).
  4. Days left is the number of whole days between the lookup and the expiration time. The 30-day threshold sets the color.
  5. The answer is kept for up to 24 hours, so a renewal made a moment ago can take that long to show.

What the date cannot tell you:

  • Whether the owner paid. A registry that auto-renews moves the date forward on its own. The auto renew period status is the clue.
  • Whether auto-renew is on. That setting lives at the registrar and is not published.
  • Country-code rules. ICANN's policies cover generic TLDs. Each ccTLD registry has its own grace and deletion rules, and some publish no expiry date.

The life of an expiring domain

For generic TLDs such as .com, .org or .net, ICANN's Expired Registration Recovery Policy (ERRP) sets the minimum protections, and the EPP grace period statuses of RFC 3915 show where a domain stands. Registries and registrars can be more generous than the minimum.

Stage What happens Status you may see Who can act
Before expiry The registrar must send renewal reminders about one month and about one week before the date. none The owner renews at the registrar.
Expiry date passes Many registries auto-renew the domain at the registry level and open an auto-renew grace period. The expiry date moves forward even without payment. auto renew period The owner can still renew. The registrar can delete the domain within the grace period.
Renewal window If the domain is neither renewed nor deleted within five days after expiry, the registrar must send one more notice. For at least the last eight consecutive days the owner can renew, DNS resolution must be interrupted, so the website and email stop. A registrar that shows a page instead must say there that the domain expired. client hold, sometimes The owner can still renew at the registrar.
Deleted: redemption Once deleted, the domain enters a 30-day Redemption Grace Period, which gTLD registries other than sponsored ones must offer. It does not resolve and cannot be transferred. redemption period Only the previous owner, through the registrar, by restoring it.
Restore requested The registrar asked the registry to restore the domain and must send the paperwork. pending restore The registrar. If it fails, the domain falls back into redemption.
Pending delete No restore is possible. ICANN's EPP status page puts this phase at five calendar days. pending delete Nobody. The registry purges the domain.
Released The name is available again. Not registered Anyone can register it.

A renewal made by the registrar on purpose shows renew period for a short while afterwards: that is the grace period for an explicit renewal, and it is harmless.

Statuses to watch, one by one

Status What it means here If it is your domain If it is someone else's
auto renew period The registry renewed it automatically. The new date is provisional. Make sure you paid the registrar, or the domain can still be deleted. Do not rely on the new date yet.
renew period An explicit renewal just happened. Nothing to do. A good sign: the owner is keeping it.
client hold The registrar took the domain out of DNS. Contact the registrar now: usually non-payment or a dispute. The site and email are down, whatever the date says.
server hold The registry took the domain out of DNS. Contact the registrar to find out why. Same as above.
redemption period Deleted, restorable for a limited time. Restore it through your registrar now, before the window closes. The owner let it go, for now.
pending restore A restore is in progress. Check that your registrar sends the paperwork in time. The owner is trying to get it back.
pending delete Gone soon. Too late to restore. You can try to register it again once released. The name will be released shortly.

Use cases

Monitoring your own portfolio

Losing a domain you use is rarely a single failure. It is a chain: an outdated card, reminders sent to an old address, a domain that seemed to work because the registry auto-renewed it. Break the chain early.

  1. List every domain you own, including old brands, campaign domains and the domain behind your email.
  2. Check each one here and note Expires on. Set your own reminders well ahead of the registrar's, for example at 90 and 30 days.
  3. Treat amber as an action item: renew, or confirm in the registrar's dashboard that auto-renew is on and the payment method is valid.
  4. Make sure the registrant email address is one you read. ERRP reminders go there.
  5. Keep old domains registered if they ever sent or received email. After release, a new owner would receive whatever still arrives, including password reset emails for accounts tied to those addresses.

For more than a handful of domains, a bulk job adds the expiry date to every row of a CSV.

Vetting a supplier or a partner

A supplier's domain carries its website, its invoices and its email. Read three rows together:

Signal What it can mean
Expires on within weeks, no auto renew period yet Normal if they renew at the last minute. Worth a reminder if your orders depend on their email.
Expired, with client hold Their website and email are probably down. Contact them by another channel before you pay anything.
redemption period or pending delete The domain is being let go. An email that seems to come from it, or a request to change bank details, needs verification by phone.

Catching freshly registered fraud domains

A lookalike domain made for a phishing or invoice fraud campaign has to be registered before the campaign starts, so a recent registration date is one of the few signals visible from outside. The domain age checker gives the age in days. This tool adds the other end: how long the registration runs. A domain registered days ago, paid for the minimum term and asking you to log in or pay deserves suspicion. Legitimate new businesses can look the same, so verify through a channel you already trust rather than blocking on dates alone.

Watching a name you want

If a domain you want is expiring, the statuses show how close it is to release. auto renew period and client hold mean the owner can still renew. redemption period means only the owner can restore it. pending delete means release is days away. Before release, the only legitimate route is to contact the owner through the registrar.

Mistakes that let domains lapse

Mistake Why it hurts The fix
Trusting a date that just moved forward With auto renew period, the registry renewed, not the owner. The registrar can still delete the domain. Confirm payment at the registrar until the status clears.
Reminders going to a former employee ERRP notices go to the registrant's email address. Nobody reads a departed person's inbox. Use a shared address the team monitors, on a domain other than the one being renewed.
An expired card on file Auto-renew fails quietly and the domain enters the renewal window. Check the payment method when the status turns amber.
Registering at many registrars Each one has its own dashboard, emails and auto-renew setting. Consolidate, or keep a list with the registrar of each domain.
Letting a retired domain go A new owner after release receives mail still sent to it, and can serve anything on its old links. Keep domains that ever carried email or appeared in printed material.
Watching the website only A domain on client hold can keep loading from caches for a while, while new lookups and incoming email already fail. Check the statuses, not just whether the site loads.

Country-code domains follow their own registry's rules: grace periods, deletion steps and even whether an expiry date is published differ from one ccTLD to the next. Read your registry's policy page for those, and treat the ICANN timeline above as specific to generic TLDs.

Check expiry dates from your code

The domain intelligence API returns registration.expires_at, registration.expires_in_days and registration.statuses for 1 credit per domain, cached 24 hours. A lookup the registry does not answer is not billed, so a scheduled check that hits a slow registry costs nothing for that domain. The domain endpoint reference documents every field, and the credits page explains billing. AI assistants can run the same lookup through the MCP server.

Same check through the API

One HTTPS call, one credit. The response below is the real schema returned by the API.

cURL
curl https://api.qelka.com/v1/domain \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{"domain":"cloudflare.com"}'
JavaScript
const response = await fetch("https://api.qelka.com/v1/domain", {
  method: "POST",
  headers: {
    Authorization: "Bearer sk_test_your_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    domain: "cloudflare.com",
  }),
});
const result = await response.json();
{
  "id": "lkp_01M875D1RE89KBPYC9QGDPVNSN",
  "object": "domain",
  "input": "cloudflare.com",
  "domain": "cloudflare.com",
  "tld": "com",
  "status": "registered",
  "rdap": {
    "status": "found",
    "server": "https://rdap.verisign.com/com/v1/"
  },
  "registration": {
    "created_at": "2009-02-17T22:07:54.000Z",
    "updated_at": "2024-01-09T16:45:28.000Z",
    "expires_at": "2033-02-17T22:07:54.000Z",
    "age_days": 6488,
    "expires_in_days": 2277,
    "registrar": {
      "name": "Cloudflare, Inc.",
      "iana_id": "1910"
    },
    "statuses": [
      "client delete prohibited",
      "client transfer prohibited",
      "client update prohibited",
      "server delete prohibited",
      "server transfer prohibited",
      "server update prohibited"
    ],
    "nameservers": [
      "ns3.cloudflare.com",
      "ns4.cloudflare.com",
      "ns5.cloudflare.com",
      "ns6.cloudflare.com",
      "ns7.cloudflare.com"
    ],
    "dnssec": true
  },
  "dns": {
    "status": "NOERROR",
    "a": [
      "104.16.132.229",
      "104.16.133.229"
    ],
    "aaaa": [
      "2606:4700::6810:84e5",
      "2606:4700::6810:85e5"
    ],
    "mx": [
      {
        "priority": 5,
        "exchange": "mxa-canary.global.inbound.cf-emailsecurity.net"
      },
      {
        "priority": 5,
        "exchange": "mxb-canary.global.inbound.cf-emailsecurity.net"
      },
      {
        "priority": 10,
        "exchange": "mxa.global.inbound.cf-emailsecurity.net"
      },
      {
        "priority": 10,
        "exchange": "mxb.global.inbound.cf-emailsecurity.net"
      }
    ],
    "ns": [
      "ns3.cloudflare.com",
      "ns4.cloudflare.com",
      "ns5.cloudflare.com",
      "ns6.cloudflare.com",
      "ns7.cloudflare.com"
    ],
    "txt": {
      "records": 29,
      "spf": "v=spf1 ip4:199.15.212.0/22 ip4:173.245.48.0/20 include:_spf.google.com include:spf1.mcsv.net include:spf.mandrillapp.com include:mail.zendesk.com include:stspg-customer.com include:_spf.salesforce.com -all",
      "verifications": [
        "apple",
        "atlassian",
        "cisco",
        "facebook",
        "google",
        "microsoft",
        "miro",
        "onetrust",
        "stripe"
      ]
    }
  },
  "email": {
    "mx": true,
    "null_mx": false,
    "provider": null,
    "spf": true,
    "spf_all": "fail",
    "dmarc": true,
    "dmarc_policy": "reject",
    "disposable": false
  },
  "credits_used": 1,
  "cached": false
}

Frequently asked questions

What happens when a domain expires?
Not much happens on the day itself. For most generic TLDs, the registrar keeps the domain for a while so the owner can still renew, but at some point it stops resolving: ICANN's Expired Registration Recovery Policy requires the website and email to be interrupted for at least the last eight days the owner can renew. If nobody renews, the registrar deletes the domain, and a 30-day redemption period starts before the name is released.
Can I renew a domain after it expires?
Usually, yes. For generic TLDs, the registrar must let the owner renew between the expiry date and the end of the period in which it interrupts resolution. After deletion, the owner can still restore the domain during the 30-day redemption period, through the registrar and often for an extra fee. Country-code registries set their own rules, so check with the registrar as soon as you notice.
What is the redemption period?
It is a 30-day window after a registrar deletes a generic TLD domain, required from gTLD registries by ICANN's Expired Registration Recovery Policy, sponsored TLDs excepted. The domain does not resolve and cannot be transferred, but the previous owner can restore it through their registrar. The card shows it as redemption period under Statuses to watch.
What does pending delete mean?
The last stage before the name is released. Nobody can restore the domain any more, and the registry will purge it at the end of the phase, which ICANN's page on EPP status codes puts at five calendar days after the redemption period. Once purged, the name is available to anyone, and anyone can register it, including people who watch for expiring domains.
Why does an expired domain still show a future expiry date?
Many registries renew a domain automatically at the registry level when it reaches its expiry date, and open an auto-renew grace period (RFC 3915) during which the registrar can still delete it. The date moves forward a year even if the owner never paid. If Statuses to watch shows auto renew period, the new date is provisional.
Why did a domain stop working before its expiry date?
Look at the statuses. client hold or server hold keeps a domain out of DNS whatever its expiry date says, usually because of a payment problem, a dispute or a registry decision. A domain whose nameservers were removed shows inactive. If none of these appear, the problem is in the DNS setup: the NS lookup shows whether the nameservers answer.
How do I know whether auto-renew is on?
You cannot see it from outside. Auto-renew is a setting between the owner and the registrar, and the registry record does not carry it. The registrar's dashboard shows it. From outside, the hint comes afterwards: a date that moved forward with no auto renew period status usually means the registrar renewed and kept the domain.
When can I register a domain that is about to expire?
Only after the registry releases it, at the end of the pending delete phase, and only if the owner did not renew or restore it before that. Until then the domain belongs to its current registrant. Some registrars offer backorders that try to register a name the moment it is released, with no guarantee of success.
Why is the expiry date not published?
Some registries leave the expiration event out of their RDAP answer, and some country-code registries publish no RDAP at all, as with .de. The status then reads Expiry date not published, and the Reason row says which case applies. The registry's own website or the registrar is the only place to read the date.
Does renewing early waste the time left?
Normally not. A renewal adds the paid period to the current expiry date, not to the day you renew, and generic TLDs allow registration terms of up to ten years in total. Check your registrar's terms before renewing for many years at once, and keep the payment method on file up to date.
Do registrars send renewal reminders?
For generic TLDs they must. The Expired Registration Recovery Policy requires at least two notices before expiry, about one month and about one week ahead, and one more after expiry if the domain is neither renewed nor deleted within five days. They go to the registrant's email address, so an outdated address is how domains lapse unnoticed.
Why does Days left differ from my registrar's dashboard?
Days left counts whole days between now and the registry's expiry time, in UTC, so it can be a day lower than a date printed in your time zone. The result can also be up to 24 hours old. Some registrars show their own renewal deadline, which can come before the registry's date. Trust the earlier of the two.
Can someone take my domain after it expires?
Not while you can still renew or restore it. After the pending delete phase, the name is free and anyone can register it, sometimes within seconds. The new owner then controls its website and its email: messages still sent to your old addresses, including password reset emails, would reach them. Renew domains you have used, even if you no longer need them.
What does a short registration term tell me about a domain?
Compare Registered on with Expires on. A domain created last week and paid for one year is common for new projects, but it is also the cheapest setup for a domain meant to be used once. Neither proves intent. Combine it with the age on the domain age checker and with what the domain is asking you to do.

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.

  • 100 free credits a month
  • No card
  • Test keys spend nothing
  • Cancel any time