# Domain Age Checker: WHOIS Age, Expiry, DNS, SSL & Wayback (`zaiq/domain-age-checker`) Actor

Check how old any domain is, in bulk: registration and expiry dates, age in days and years, registrar, status, name servers, DNS, the SSL certificate and the first and last Wayback Machine snapshots. Read from each registry's own records. Pay per domain found; unknown ones are free.

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

## Pricing

from $4.00 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 API: bulk WHOIS age, expiry, DNS, SSL and Wayback history

![Domain Age Checker: WHOIS Age, Expiry, DNS, SSL & Wayback](https://api.apify.com/v2/key-value-stores/4VJNANhwKgqPpXtAi/records/hero-domain-age-checker.jpg)

Check **how old any domain is**, in bulk. For each one you get the **registration date** and **age in days and years**, the **expiry date** and days left, the **registrar**, status and name servers, read from **each registry's own records** (RDAP, and the registry's WHOIS for .co.za).

Each row also carries the **DNS** (A and MX records, SPF and DMARC), the **SSL certificate** the site presents, and the **first and latest Wayback Machine snapshot**. Built for **fraud and risk teams** scoring sign-ups, **SEO buyers** checking expired domains and links, and **sales teams** sorting leads by how established a company is.

### What you get

| Field | What it holds |
|---|---|
| The registry record | `registered`, `ageDays`, `ageYears`, `expires`, `daysToExpiry`, `updated`, `registrar`, `registrarIanaId`, `status`, `nameservers`, `dnssec`, `source` |
| DNS | `a`, `mx`, `spf`, `dmarc` (the policy: none, quarantine or reject) |
| SSL | `sslValid`, `sslIssuer`, `sslValidFrom`, `sslValidTo`, `sslDaysLeft`, `sslError` |
| History | `firstSnapshot`, `lastSnapshot`, `waybackUrl` |
| Free rows | Domains no registry holds (`registryState: unregistered`) and extensions whose registry publishes no record (`unknown`), each with a note |

### What people use it for

- **Fraud and sign-up checks:** a domain registered last week is a warning sign: score new accounts, merchants and email senders by domain age
- **Expired and aged domains:** check age, archive history and expiry before you buy a domain or a link
- **Lead scoring:** sort companies by how long their domain has existed and whether it takes email
- **Expiry and SSL monitoring:** run your own domains weekly and catch registrations and certificates about to lapse

### How to use it

1. Add **domains or links**, one per line. Subdomains and links are reduced to the registered domain.
2. Leave **DNS**, **SSL** and **Wayback** on, or switch off what you do not need.
3. Run it, or call it from the API with a list. Each domain a registry knows is one charged row.

### Input

| Field | Example | Notes |
|---|---|---|
| Domains | example.com | A domain, a subdomain or a full link. Repeats are checked once. |
| DNS records | true | A and MX records, SPF and DMARC. |
| SSL certificate | true | The certificate on port 443, at the domain or at www. |
| Wayback Machine history | true | First and latest snapshot of the home page. |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "kind": "domain",
  "domain": "example.com",
  "registryState": "registered",
  "registered": "1995-08-14",
  "ageDays": 11404,
  "ageYears": 31.2,
  "expires": "2027-08-13",
  "daysToExpiry": 283,
  "updated": "2026-08-14",
  "registrar": "Example Registrar Ltd",
  "registrarIanaId": "376",
  "status": [
    "client transfer prohibited"
  ],
  "nameservers": [
    "ns1.example-dns.net",
    "ns2.example-dns.net"
  ],
  "dnssec": true,
  "source": "RDAP",
  "a": [
    "192.0.2.10"
  ],
  "mx": [
    "mail.example.com"
  ],
  "spf": true,
  "dmarc": "reject",
  "sslValid": true,
  "sslIssuer": "Example CA",
  "sslValidFrom": "2026-09-05",
  "sslValidTo": "2026-12-24",
  "sslDaysLeft": 52,
  "firstSnapshot": "2002-01-20",
  "lastSnapshot": "2026-11-03",
  "checkedAt": "2026-11-03T08:10:00Z"
}
```

A record named `SUMMARY` in the run's key-value store says what each input returned, with any notes (for example an account that does not exist), what was charged and how much traffic the run used.

### Pricing

- **$5 per 1,000 domains** on Free and Bronze, $4.50 on Silver, $4 on Gold and above.
- Domains no registry holds, extensions with no public registry record and bad inputs are free.
- The Free plan checks 25 domains a run.

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| 100 domains | $0.50 |
| 1,000 domains | $5.00 |
| 50 new sign-up domains a day | $0.25 a day |

On Apify's Scale and Business plans the per-event prices are lower (Store discounts). Set **Maximum cost per run** and the Actor stops cleanly when it is reached: you never pay more than that.

### Tips

- Paste links straight from a spreadsheet: `https://shop.example.co.uk/page` is read as example.co.uk.
- For expiry monitoring, sort by `daysToExpiry` and `sslDaysLeft`.
- Switch Wayback off when you only need registry dates: runs finish faster.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("zaiq/domain-age-checker").call(run_input={"domains": ["example.com", "example.net"]})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('zaiq/domain-age-checker').call({"domains": ["example.com", "example.net"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/zaiq~domain-age-checker/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"domains": ["example.com", "example.net"]}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server with this Actor already pinned (`https://mcp.apify.com?tools=zaiq/domain-age-checker`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for How old are these domains, and which of them expire within 30 days?. AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- Only what registries publish. Some extensions, for example .de, give no dates: those rows come back free with DNS, SSL and Wayback only.
- Registrant names and contacts are never read.
- Wayback dates are for the home page, so a domain used earlier for something else can have older pages elsewhere.
- Registries limit how fast they answer, so very long lists take longer.

### FAQ

**Is this WHOIS?**

RDAP is the registries' modern WHOIS, run by the same registries. For .co.za, .org.za, .net.za and .web.za it reads the registry's own WHOIS.

**Why was a domain free?**

Either no registry holds it (it looks unregistered) or its extension publishes no record. The row says which.

**Does it show who owns a domain?**

No. Owner details are left out on purpose.

**Can I run it every day?**

Yes, on a schedule or from the API. Each run charges per domain found.

### Related Actors from Zaiq

- [domain-hunter](https://apify.com/zaiq/domain-hunter): find a brandable name that is still free
- [website-traffic-checker](https://apify.com/zaiq/website-traffic-checker): search traffic for the same domains
- [domain-seo-overview](https://apify.com/zaiq/domain-seo-overview): the SEO profile of a domain

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: domain age checker, bulk domain age checker, domain age API, WHOIS lookup API, RDAP API, domain expiry checker, domain history checker, Wayback Machine first snapshot, expired domain checker, fraud domain age check.

# Actor input Schema

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

Domains or links, one per line. A subdomain or a link is reduced to its registered domain (blog.example.co.uk becomes example.co.uk). Repeats are checked once.

## `includeDns` (type: `boolean`):

Read the A and MX records, and whether SPF and DMARC are set up.

## `includeSsl` (type: `boolean`):

Read the certificate the site presents on port 443: issuer, dates, days left and whether it is valid.

## `includeWayback` (type: `boolean`):

The first and the latest snapshot the Internet Archive holds of the home page.

## Actor input object example

```json
{
  "domains": [
    "example.com",
    "example.net"
  ],
  "includeDns": true,
  "includeSsl": true,
  "includeWayback": true
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset: the results.

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

What each input returned, and notes.

# 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": [
        "example.com",
        "example.net"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zaiq/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": [
        "example.com",
        "example.net",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("zaiq/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": [
    "example.com",
    "example.net"
  ]
}' |
apify call zaiq/domain-age-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zaiq/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/GU8pmYLOIUFbALFEp/builds/joqII7NzN3h4440oI/openapi.json
