# Bulk Domain Age & Expiry Checker (RDAP WHOIS) (`agent1tools/domain-age-checker`) Actor

Bulk WHOIS alternative using official RDAP: domain age, creation and expiry dates, registrar, status, nameservers, DNS provider, DNSSEC and availability. $2 per 1,000. No personal data.

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

## Pricing

from $2.00 / 1,000 domain results

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

## Bulk Domain Age & Expiry Checker (RDAP WHOIS)

Paste a list of domains and get one clean row per domain: **how old it is, when it expires, who the registrar is**, plus its status, nameservers, DNS provider, DNSSEC, and whether it looks available to register.

It uses **RDAP**, the official, structured successor to WHOIS that registries run themselves. You get consistent dates and fields across registries instead of messy WHOIS text, and no proxies are needed.

### Who uses it

- **Lead qualification:** older domains usually mean established businesses. Newly registered domains often mean startups or new projects.
- **Domain investing and brand monitoring:** find domains that are expiring soon, expired, on hold, or not registered.
- **Security and fraud checks:** flag brand-new domains, domains without a transfer lock, and domains without DNSSEC.
- **IT and agency asset reviews:** confirm renewal dates, registrars and DNS providers for a client's whole domain list.

### What you get for each domain

| Field | Meaning |
|---|---|
| `status` | `registered` or `not_registered` |
| `likely_available` | `true` when the registry has no record of the domain |
| `created`, `expires`, `updated` | Registry dates (YYYY-MM-DD) |
| `age_years`, `age_days` | Time since registration |
| `days_to_expiry` | Negative if the domain has expired |
| `registrar`, `registrar_iana_id` | The company the domain is registered with |
| `domain_status` | Registry status codes, such as `client transfer prohibited` |
| `nameservers`, `dns_provider` | Where DNS is hosted, such as Cloudflare, Route 53 or GoDaddy |
| `dnssec` | Whether the domain is signed with DNSSEC |
| `flags` | A plain list: `new_domain`, `expiring_soon`, `expired`, `on_hold`, `pending_delete`, `no_transfer_lock`, `likely_available` |

### Input

```json
{
  "domains": ["apify.com", "https://www.python.org/about/", "shop.example.co.uk"],
  "onlyRegistered": false
}
```

URLs and subdomains are reduced to the registered domain, so `shop.example.co.uk` becomes `example.co.uk`.

### Pricing

**$0.002 per domain returned** (about $2 per 1,000), plus Apify's small standard run-start fee. You aren't billed for:

- Duplicate or invalid entries
- Domains whose extension has no RDAP service (listed in the run summary)
- Lookups that fail because a registry errors or times out
- Unregistered domains, when you turn on `onlyRegistered`

The tool also stops before going over your run's spending limit.

### What it doesn't do

- **No personal data:** registrant names, emails, phones and addresses are ignored, even when a registry publishes them. Only the registrar, which is a company, is returned.
- **Not a purchase check:** `likely_available` means the registry has no record. Premium, reserved or blocked names may still be unavailable to buy.
- **Some extensions aren't covered:** a few country-code registries don't offer RDAP yet. Those domains are listed in the run summary and never billed.

### Output example

```json
{
  "domain": "python.org",
  "status": "registered",
  "likely_available": false,
  "created": "1995-03-27",
  "expires": "2033-03-28",
  "age_years": 31.6,
  "days_to_expiry": 2332,
  "registrar": "Gandi SAS",
  "domain_status": ["client transfer prohibited"],
  "dns_provider": "Amazon Route 53",
  "dnssec": false,
  "flags": []
}
```

The run's `OUTPUT` record lists invalid inputs, failed lookups, domains with no RDAP service, and domains skipped because of your spending limit.

### Use it in Clay or with AI assistants

**Clay:** add an enrichment, choose **Apify → Run Apify Actor**, pick `agent1tools/domain-age-checker`, and use `{ "domains": ["DOMAIN_COLUMN"] }`. Type `/` where it says `DOMAIN_COLUMN` and pick your domain column. Each domain returns one flat row, so fields like `age_years`, `expires` and `registrar` map straight to columns.

**AI assistants:** through the Apify MCP server, Claude, Cursor and other MCP clients can run it directly. Try something like *"how old are these domains, and which expire this year?"*

### Related tool

[Agency Lead Finder](https://apify.com/agent1tools/website-lead-qualifier) checks each website for problems an agency can fix, like missing analytics, no DMARC or an expiring SSL certificate, with a plain-English pitch line for each.

### Responsible use

You're responsible for following the laws and terms that apply to how you use these results.

# Actor input Schema

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

Domains or URLs, one per line. Subdomains are reduced to the registered domain. Duplicates and invalid entries are removed and never billed.

## `onlyRegistered` (type: `boolean`):

Leave out domains that aren't registered. They aren't billed.

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

Higher is faster, but registries may slow down busy clients. The default suits most lists.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "python.org",
    "bbc.co.uk"
  ],
  "onlyRegistered": false,
  "concurrency": 5
}
```

# Actor output Schema

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

One row per domain with age, dates, registrar, status, nameservers, DNS provider, DNSSEC and flags.

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

Counts of results, filtered and failed lookups, domains with no RDAP service, rejected inputs, and domains skipped because of the spending limit.

# 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",
        "bbc.co.uk"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("agent1tools/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",
        "bbc.co.uk",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("agent1tools/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",
    "bbc.co.uk"
  ]
}' |
apify call agent1tools/domain-age-checker --silent --output-dataset

```

## MCP server setup

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