# Domain Age Checker: Created Date, Expiry & Registrar (`dataforgehq/domain-age-checker`) Actor

Bulk domain age lookup: creation date, age in days and years, expiry, days until expiry, registrar and status. Official RDAP with WHOIS fallback. No registrant contacts. $0.50 per 1,000 domains; failed lookups free.

- **URL**: https://apify.com/dataforgehq/domain-age-checker.md
- **Developed by:** [Andrew Shamah](https://apify.com/dataforgehq) (community)
- **Categories:** SEO tools, Developer tools, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 domains

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Domain Age Checker – created date, expiry & registrar (bulk)

Look up **how old a domain is** and **when it expires** for any list of names. Uses each registry's official **RDAP** server (IANA bootstrap) and falls back to port-43 **WHOIS** for TLDs without RDAP (for example `.eu`, `.il`, `.co`, `.jp`). DNS is a last resort when the registry does not answer.

**No registrant or personal contacts** are returned — only registry facts: created / updated / expiry dates, age, days to expiry, registrar, status codes and nameservers.

This listing is built for “domain age” and expiry monitoring. For a fuller WHOIS-style row (including A/MX/NS records) see our [WHOIS Domain Lookup](https://apify.com/dataforgehq/whois-domain-lookup).

### Features

- Creation date, age in **days** and **years**
- Expiry date, **days to expiry**, `expiringSoon` (≤ 30 days)
- Registrar name, IANA ID and URL
- Status codes and nameservers
- `source`: `rdap` / `whois` / `dns`
- Internationalised domain names
- Accepts bare domains or full URLs (`www.` and paths stripped)
- Failed / unknown lookups are free

### Input

```json
{
  "domains": ["apify.com", "python.org", "europa.eu"]
}
```

### Output (one item per domain)

```json
{
  "domain": "apify.com",
  "registered": true,
  "createdAt": "2015-03-18T00:00:00.000Z",
  "ageDays": 4253,
  "ageYears": 11.6,
  "expiresAt": "2027-03-18T00:00:00.000Z",
  "daysToExpiry": 130,
  "expiringSoon": false,
  "registrar": "Example Registrar",
  "source": "rdap"
}
```

### Pricing

**$0.0005 per domain** with a successful registry or DNS answer ($0.50 per 1,000) + a tiny start fee. Unknown / failed lookups are **free**. Unregistered domains (explicit registry 404) are charged — that answer is useful.

### Related Actors

- [WHOIS Domain Lookup](https://apify.com/dataforgehq/whois-domain-lookup)
- [Bulk Domain Availability Checker](https://apify.com/dataforgehq/domain-availability-rdap)
- [SSL Certificate Checker](https://apify.com/dataforgehq/ssl-certificate-checker)

# Actor input Schema

## `domains` (type: `array`):

Domain names or URLs, one per line (e.g. example.com, https://www.shop.co.uk/page). 'www.' and paths are stripped. Internationalised names are supported.

## `whoisFallback` (type: `boolean`):

For TLDs without a public RDAP server (e.g. .eu, .il, .co, .jp) or when RDAP fails, query the registry WHOIS server. Only registry-level facts are extracted; registrant contact data is never returned.

## `dnsFallback` (type: `boolean`):

If neither RDAP nor WHOIS answers, confirm registration via DNS (source = dns, without dates or registrar).

## `maxDomains` (type: `integer`):

Look up at most this many domains. 0 = no limit.

## `concurrency` (type: `integer`):

How many domains to look up at the same time (max 25).

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "python.org",
    "europa.eu"
  ],
  "whoisFallback": true,
  "dnsFallback": true,
  "maxDomains": 0,
  "concurrency": 10
}
```

# Actor output Schema

## `overview` (type: `string`):

All domains (overview table).

## `summary` (type: `string`):

Counts.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "apify.com",
        "python.org",
        "europa.eu"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dataforgehq/domain-age-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "domains": [
        "apify.com",
        "python.org",
        "europa.eu",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("dataforgehq/domain-age-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "apify.com",
    "python.org",
    "europa.eu"
  ]
}' |
apify call dataforgehq/domain-age-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dataforgehq/domain-age-checker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/xsbYnU1odad2QrZcz/builds/94GZTY78x7Bn4MYBH/openapi.json
