How to check when a domain expires
Enter the domain at lookup.icann.org and read the "Expires" date; your registrar's dashboard shows the same date for domains you own. For your own domains, turn on auto-renew and keep your card and contact email current. To watch many domains, a short Python script can read expiry dates over RDAP, or our Domain Report API returns days_to_expiry for $0.01 a domain.
Try it free Domain Report API — WHOIS, DNS, email set-up and HTTPS · $0.01 / call
Free ways to find the date
- ICANN Lookup (lookup.icann.org): free, no sign-up, reads the registry directly.
- Your registrar's account page: the most reliable date for your own domains, with the renewal setting next to it.
- Any WHOIS lookup site: handy, but expect ads and upsells to buy or back-order the domain.
- For country domains not covered above, the country registry's own search page.
Why two dates can disagree
For .com and many other endings, the registry renews the domain automatically on its expiry day and gives the registrar some time to bill the owner. So the public date can jump a year ahead while the owner still hasn't paid, and the registrar may still delete it. The date in your registrar account is the one that counts for your own domains.
What happens after it lapses
- Grace period: the site and email usually stop working, but the owner can still renew, often at the normal price. Its length depends on the registrar.
- Redemption period: on most generic domains this is about 30 days, and getting it back costs an extra fee. The status shows "redemption period".
- Pending delete: about 5 days when nobody can renew it. Then it's released and anyone, including back-order services, can register it.
- Country domains follow their own rules, so check your registry.
A free expiry watchlist in Python
Put your domains in a list, run this once a week (cron, Task Scheduler or a GitHub Action) and act on anything under 30 days. It uses the free rdap.org redirector, with a pause between lookups.
import time, requests
from datetime import datetime, timezone
DOMAINS = ["example.com", "example.org", "example.net"]
for d in DOMAINS:
r = requests.get(f"https://rdap.org/domain/{d}", timeout=15)
exp = None
if r.ok:
for e in r.json().get("events", []):
if e["eventAction"] == "expiration":
exp = datetime.fromisoformat(e["eventDate"].replace("Z", "+00:00"))
if exp is None:
print(f"{d}: no expiry date published, check by hand")
else:
days = (exp - datetime.now(timezone.utc)).days
print(f"{d}: {days} days left" + (" <-- RENEW" if days < 30 else ""))
time.sleep(2)
When the API is easier
The Domain Report API returns days_to_expiry already worked out, plus status codes, nameservers and an HTTPS check, so one call tells you both "when does it expire" and "is the site still up". It's $0.01 per domain, one domain per call, paid with x402 in USDC on Base. You can check 5 domains a day free on the listing page.
The product
Questions
Can I find out who will get an expiring domain?
No. When it's released it goes to whoever registers it first, often through a back-order service.
Does auto-renew guarantee I keep my domain?
Only if the payment goes through. An expired card is a common reason people lose domains, so keep the billing details and contact email current.
Why does my lookup show no expiry date?
Some country registries don't publish dates over RDAP. Check the registry website or your registrar account.
Related
Updated 2026-12-01
