# Domain Age API

> Domain Age returns when a domain was first registered and how old it is in days, months and years, with a readable age, an age bracket and a newly-registered flag. Paid plans add the expiration date and the last registry update.

**Endpoint:** `GET https://api.apiverve.com/v1/domainage`  
**Category:** Domain Data  
**Cost:** 10 credits per call  
**Canonical page:** https://apiverve.com/marketplace/domainage

## Overview

Domain Age reads the domain's registration record from the registry over RDAP, falling back to WHOIS, and measures the time since the creation date. The flag for newly registered domains is set below 30 days, the window in which most phishing and spam domains are used.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/domainage?domain=myspace.com" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `domain` | string | Yes | The domain to check the age of. domain |

## Response fields

- `domain` — string · The domain that was checked
- `createdDate` — string · ISO 8601 timestamp when the domain was first registered
- `domainAgeDays` — number · Domain age in whole days
- `domainAgeMonths` — number · Domain age in whole months
- `domainAgeYears` — number · Domain age in years, to one decimal place
- `domainAgeText` — string · Readable age, such as "29 years, 7 months"
- `ageCategory` — string · Age bracket: new (under 30 days), young (under 1 year), established (under 5 years), mature (under 10 years) or veteran
- `isNewlyRegistered` — boolean · True when the domain is under 30 days old
- `expirationDate` — string · ISO 8601 timestamp when the current registration expires; null when the registry publishes no expiry date · (premium)
- `lastUpdatedDate` — string · ISO 8601 timestamp of the last change to the registration record · (premium)
- `daysSinceLastUpdate` — number · Days since the registration record last changed · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "domain": "myspace.com",
    "createdDate": "1996-02-22T05:00:00Z",
    "domainAgeDays": 11193,
    "domainAgeMonths": 367,
    "domainAgeYears": 30.6,
    "domainAgeText": "30 years, 7 months",
    "ageCategory": "veteran",
    "isNewlyRegistered": false,
    "expirationDate": "2029-02-23T05:00:00Z",
    "lastUpdatedDate": "2023-01-17T00:16:21Z",
    "daysSinceLastUpdate": 1367
  }
}
```

## Use cases

- **Fraud and Phishing Scoring** — Score sign-ups, payments and inbound email by the age of the sender's domain, and step up checks when isNewlyRegistered is true.
- **Lead Qualification** — Rank inbound leads by how established their company domain is, so a 15-year-old domain gets routed ahead of one registered last week.
- **Link and Content Moderation** — Hold links to domains younger than 30 days for review before they appear in comments, chats or user profiles.
- **SEO and Domain Investing** — Check the age of expired or for-sale domains before buying, since older domains often carry more backlink history.

## More

- Full reference: https://docs.apiverve.com/ref/domainage
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
