Domain Age API

Domain Age API
WHOIS-Based Registration Lookups.

Look up the registration date and age of any domain name using live WHOIS data. Useful for SEO research, fraud detection, due diligence, and competitive analysis.

Try it live
Domain
● Checking…
Registered
● Pending…
Age
● Pending…
API Response
{
"domain": "—",
"is_valid": false,
"registration_date": "—",
"age_in_years": ,
"age_in_days":
}
Trusted by thousands of businesses
Fast JSON API responses
Real-time validation
Simple integration, SDKs & examples
How It Works

How Domain Age Detection Works

Every domain name has a registration date recorded in the global WHOIS database. We query that record in real time to tell you exactly how old a domain is.

WHOIS Lookup

When you check a domain, we query the global WHOIS database — the authoritative record of who registered a domain name and when. WHOIS data is maintained by registrars and updated within hours of any domain registration.

Registration Date

The WHOIS record contains the original registration date — the day the domain was first created. This date does not reset when a domain is transferred or renewed, making it a reliable indicator of true domain age.

Age Calculation

We calculate the exact age from the registration date to today, returning both years and days so you have precise data. Results are cached to keep the tool fast for popular domains.

Developer Experience

API Documentation & Code Examples

One endpoint returns the registration date and age of any domain via live WHOIS data. Integrate into any fraud detection, SEO research, or due diligence pipeline in minutes.

Fast JSON responses, typically under 200ms
SDKs for JavaScript, Python, PHP, Ruby, Go
Copy buttons and reproducible examples
Consistent, versioned API structure
Read API Reference
Endpoint
GET /api/v1/domain/age/{domain}?api_key={key}
Example Request
# Domain age lookup
curl "https://ip-api.io/api/v1/domain/age/google.com?api_key=YOUR_API_KEY"
Example Response
200
{
  "domain": "google.com",
  "is_valid": true,
  "registration_date": "1997-09-15",
  "age_in_years": 28,
  "age_in_days": 10437,
  "error": null
}
Endpoint
GET /api/v1/domain/age/{domain}?api_key={key}
Example Request
async function checkDomainAge(domain) {
  const res = await fetch(
    `https://ip-api.io/api/v1/domain/age/${domain}?api_key=YOUR_API_KEY`
  );
  const data = await res.json();
  console.log(data.registration_date); // "1997-09-15"
  console.log(data.age_in_years);      // 28
  return data;
}
Example Response
200
{
  "domain": "google.com",
  "is_valid": true,
  "registration_date": "1997-09-15",
  "age_in_years": 28,
  "age_in_days": 10437,
  "error": null
}
Endpoint
GET /api/v1/domain/age/{domain}?api_key={key}
Example Request
import requests

res = requests.get(
    "https://ip-api.io/api/v1/domain/age/google.com",
    params={"api_key": "YOUR_API_KEY"}
)
data = res.json()
print(data["registration_date"]) # "1997-09-15"
print(data["age_in_years"])      # 28
Example Response
200
{
  "domain": "google.com",
  "is_valid": true,
  "registration_date": "1997-09-15",
  "age_in_years": 28,
  "age_in_days": 10437,
  "error": null
}
Use Cases

Why Domain Age Matters

SEO & Search Rankings

Search engines factor domain age into trust and authority scores. Older domains with a consistent history tend to rank more easily for competitive keywords. If you are buying a domain or evaluating a competitor, domain age is a key signal.

SEO Rankings Trust

Fraud Detection

Fraudsters and phishing operators routinely register new domains to avoid blacklists. A domain registered within the past 30–90 days is a significant risk signal. Combining domain age with IP intelligence gives you a powerful fraud scoring model.

Phishing Risk Signal Fraud

Due Diligence

When evaluating a vendor, partner, or acquisition target, domain age reveals how long they have actually been operating online. A company claiming 10 years of experience with a 2-year-old domain is a red flag worth investigating.

Vendor Check Due Diligence
FAQ

Domain Age — FAQs

Common questions about domain age and the ip-api.io Domain Age API.

What is domain age?

Domain age is how long a domain name has been registered, measured from its original registration date to today. It is retrieved from WHOIS records maintained by domain registrars and registries worldwide. A domain registered in 1997 is considered very old; one registered last month is considered new.

Why does domain age matter for SEO?

Domain age is one of many signals search engines use when evaluating trust and authority. Older domains have typically accumulated more backlinks, content, and user history — all positive ranking signals. A newly registered domain must build that trust from scratch, which is why new sites take longer to rank for competitive keywords.

How do you check domain age?

You can check domain age using the free tool at the top of this page — enter any domain name and get the registration date and age instantly. For programmatic use, the ip-api.io Domain Age API at GET https://ip-api.io/api/v1/domain/age/{domain} returns the registration date, age in years, and age in days in JSON format.

Can domain age help detect fraud?

Yes. Very new domains — registered within the past 30 to 90 days — are frequently associated with phishing campaigns, spam, and fraud operations. Fraudsters register fresh domains to avoid blacklists. Checking domain age as part of fraud detection lets you flag or block interactions from suspiciously new domains before they cause harm.

Is the domain age checker free?

Yes, the interactive domain age checker tool on this page is completely free with no sign-up required. API access requires a paid subscription — see the pricing section for plans.

Pricing

Simple, transparent pricing

Start small, scale as you grow. No hidden fees.

Small
€10 /month
100,000 geo IP requests / month
10,000 advanced email validation requests
VPN, proxy & Tor detection
IP reputation & risk scoring
Email support
99.9% uptime SLA
Get started
Large
€49 /month
1,000,000 geo IP requests / month
100,000 advanced email validation requests
Full fraud detection suite
Datacenter & abuse history
SLA & uptime guarantee
All datasets
Custom integrations
Dedicated support
Get started

Instantly check how old any domain is

Registration date and domain age from live WHOIS data — useful for SEO research, fraud prevention, and due diligence.

> _
curl ip-api.io/api/v1/
domain-age/example.com
Domain