# Domain Availability Checker, WHOIS & DNS: Age, Expiry, DKIM (`best_celerytop/domain-whois-dns-lookup`) Actor

Domain availability checker, bulk WHOIS lookup and DNS checker in one. Test name ideas across many zones and keep the free ones, or check domain age, expiry, registrar and status over RDAP (the successor of WHOIS), plus MX, email provider, SPF, DMARC and DKIM. No API key.

- **URL**: https://apify.com/best_celerytop/domain-whois-dns-lookup.md
- **Developed by:** [Konstantin Semin](https://apify.com/best_celerytop) (community)
- **Categories:** Lead generation, Developer tools, 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 $1.40 / 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 Availability Checker, WHOIS & DNS Lookup: Age, Expiry, MX, DKIM

One Actor for three jobs. Test brand or project name ideas across many zones (.com, .io, .ai, .dev and any other TLD) and keep only the names that are free. Check a list of domains for registration data from RDAP, the registries' official successor of WHOIS: age, expiry, registrar, status, nameservers. And read each domain's DNS and email setup: MX, email provider, SPF, DMARC and the DKIM selectors in use.

No login, no browser, no proxies, no API keys.

### What you can do with it

- **Find a free domain name** – enter name ideas and zones, switch on "Save only available names", and get the free combinations as rows. Taken names cost you nothing.
- **Qualify companies** – see how old a company's domain is, whether it has a working website and mailbox, and whether it runs on Google Workspace or Microsoft 365.
- **Check email deliverability** – find domains without MX, SPF, DMARC or DKIM before you send to them, or audit your own domains and see which sending services (Google, Microsoft, SendGrid, Mailchimp, Postmark and others) have DKIM keys published.
- **Monitor expirations** – schedule a run over your portfolio or your clients' domains and act on `daysUntilExpiry`.
- **Spot risky domains** – a domain registered last week with no website is a common fraud and phishing signal.

### Input

| Field | Type | Description |
|---|---|---|
| `domains` | array | Domains to check. URLs (`https://www.example.com/page`) and email addresses (`jane@example.com`) are accepted and reduced to `example.com`. Duplicates are removed. |
| `names` | array | Name ideas to test, for example `brightpath` or `Nimbus Cloud` (spaces become hyphens). Each name is combined with every zone in `tlds`. |
| `tlds` | array | Zones for the name ideas. Default `com, net, org, io, co, ai, app, dev`; any TLD works, including `co.uk`. |
| `onlyAvailable` | boolean | Save only available and likely available domains. Taken names are counted in the run summary but not saved. Default `false`. |
| `includeRegistration` | boolean | Registration data over RDAP. Default `true`. |
| `includeDns` | boolean | DNS records, email setup and DKIM selectors. Default `true`. |
| `dkimSelectors` | array | DKIM selectors to test. The default list covers about 40 selectors of the common mailbox and sending services; clear it to skip DKIM. |
| `maxItems` | integer | Maximum number of domains checked in one run, name ideas x zones included. Default `1000`. |

#### Example input

Domain check:

```json
{
    "domains": ["apify.com", "https://www.wikipedia.org", "sales@stripe.com", "my-new-brand-idea.com"]
}
```

Availability check, free names only:

```json
{
    "names": ["brightpath", "nimbus cloud", "quartzlabs"],
    "tlds": ["com", "io", "ai", "dev", "co"],
    "onlyAvailable": true
}
```

### Output

One dataset item per domain.

```json
{
    "domain": "apify.com",
    "tld": "com",
    "availability": "registered",
    "rdapSupported": true,
    "registrar": "Amazon Registrar, Inc.",
    "registrarIanaId": "468",
    "createdAt": "2009-06-02T17:14:10.000Z",
    "updatedAt": "2026-05-16T16:53:04.000Z",
    "expiresAt": "2035-06-02T17:14:10.000Z",
    "domainAgeDays": 6368,
    "daysUntilExpiry": 3127,
    "statuses": ["client transfer prohibited"],
    "nameservers": ["ns-1225.awsdns-25.org", "ns-1928.awsdns-49.co.uk"],
    "dnssec": true,
    "rdapError": null,
    "dnsExists": true,
    "aRecords": ["3.160.150.21"],
    "aaaaRecords": [],
    "mxRecords": ["1 aspmx.l.google.com", "5 alt1.aspmx.l.google.com"],
    "nsRecords": ["ns-1225.awsdns-25.org", "ns-1928.awsdns-49.co.uk"],
    "hasWebsite": true,
    "hasEmail": true,
    "emailProvider": "Google Workspace",
    "spfRecord": "v=spf1 include:_spf.google.com ~all",
    "dmarcRecord": "v=DMARC1; p=reject; rua=mailto:dmarc@example.com",
    "dmarcPolicy": "reject",
    "hasDkim": true,
    "dkimSelectors": ["google"],
    "dkimServices": ["Google Workspace"],
    "dnsError": null,
    "checkedAt": "2026-11-09T05:30:00.000Z"
}
```

#### The `availability` field

| Value | Meaning |
|---|---|
| `registered` | The registry confirms the domain is registered, or the domain is live in DNS. |
| `available` | The registry reports that no such domain exists. |
| `likely available` | The registry has no RDAP service and the name does not exist in DNS. Confirm with a registrar before you rely on it. |
| `unknown` | Could not be determined, for example because the registry was unreachable. See `rdapError`. |

In an availability run the `RUN_SUMMARY` record in the key-value store counts registered, available and likely available names, so you see the whole picture even when only the free names are saved.

### Good to know

- **Coverage.** Registration data is available for more than 1,200 top-level domains that run RDAP, including .com, .net, .org, .io, .ai, .app, .dev, .xyz, .me, .us, .de, .uk, .fr, .nl, .au, .br, .ca and .in. Some country registries do not offer a usable RDAP service, among them .co, .eu, .es, .it, .ch, .se, .jp, .cn and .ru. For those you still get all DNS and email fields, `rdapSupported` is `false`, and `availability` is derived from DNS.
- **Missing dates.** A few registries publish less. For .de you get the status, nameservers and last change but no registration date, expiry date or registrar; .uk does not publish the expiry date. Missing fields are `null`.
- **Email provider.** Detected from the MX records. Around 25 providers are recognised by name; anything else is reported as `Other`.
- **DKIM.** DNS has no way to list a domain's DKIM selectors, so the Actor tests a list of about 40 selectors that the common services use (`google`, `selector1`, `selector2`, `k1`, `s1`, `pm`, `fm1` and so on) and reports the ones that publish a key, with the service behind each. A custom selector is found only if you add it to `dkimSelectors`.
- **Availability at scale.** Name ideas x zones can grow fast: 50 names x 8 zones is 400 lookups. Registries are queried politely, roughly one request per 0.6 seconds per registry, so plan a few minutes for bigger matrices.
- **No personal data.** Registrant, admin and technical contacts are not collected, even where a registry publishes them. The Actor returns the registrar and technical facts only.
- **Polite by design.** Requests to the same registry are spaced out and retried gently when the registry asks to slow down. A run over 1,000 .com domains takes roughly ten minutes.
- **Price.** $2 per 1,000 domains saved, no start fee; platform usage is included. With "Save only available names" on, you pay for the free names only.
- **Works with n8n, Make, Zapier and AI agents.** The official Apify node for n8n runs this Actor and returns the rows inside a workflow, Make and Zapier use the Apify integration, and AI agents call it as a tool through the Apify MCP server.

### Terms of the registries

RDAP is a public service that registries operate under their own terms of use. They typically allow lookups for lawful, informational purposes and forbid using the data for unsolicited marketing or for high-volume harvesting of registration data. Use this Actor for reasonable volumes and for purposes those terms allow.

### FAQ

**Is this the same as WHOIS?**
It returns the same registration facts. RDAP is the protocol that ICANN introduced to replace WHOIS, and it answers in a structured format instead of free text.

**Why is the registrant's name missing?**
Most registries redact it for privacy, and this Actor does not collect contact data at all.

**Can I run it on a schedule?**
Yes. Use Apify Schedules to re-check your list daily or weekly and compare `daysUntilExpiry` or `availability` between runs.

**How do I check the age of a domain in bulk?**
Paste the domains and run. Every row carries `createdAt` and `domainAgeDays` from the registry's RDAP record.

**How can I find the expiry date of many domains at once?**
The same run returns `expiresAt` and `daysUntilExpiry` for every domain whose registry publishes them.

**How do I check SPF and DMARC records for a list of domains?**
Keep `includeDns` on. Each row shows `spfRecord`, `dmarcRecord`, `dmarcPolicy`, the MX records and the detected email provider.

**How do I check whether a domain name is available in several TLDs at once?**
Put the names in `names`, the zones in `tlds` and switch on `onlyAvailable`. Each free combination becomes one row with its `availability` value; `likely available` marks zones whose registry has no RDAP and where only DNS could be checked.

**How do I check DKIM for a domain?**
Keep `includeDns` on. `hasDkim`, `dkimSelectors` and `dkimServices` show which of the tested selectors publish a key and which sending services they belong to.

**Can I use it from n8n or an AI agent?**
Yes. Pass the domains in through the official Apify node for n8n, the Make or Zapier integration, or the Apify MCP server, and read the rows back from the dataset.

**Something is missing or broken?**
Open an issue on the Issues tab and include the domain or name you checked.

### Disclaimer

This Actor is an independent tool and is not affiliated with ICANN, IANA or any registry or registrar. Availability results are informational; only a registrar can confirm that a domain can be registered.

# Actor input Schema

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

Domains to check, one per line. URLs and email addresses are accepted too and reduced to their domain. Leave empty if you only test name ideas below.

## `names` (type: `array`):

Brand or project names to test across the zones below, one per line, for example `brightpath` or `Nimbus Cloud` (spaces become hyphens). Each name is combined with every zone.

## `tlds` (type: `array`):

Top-level domains to try for every name idea, one per line, for example `com`, `io`, `co.uk`.

## `onlyAvailable` (type: `boolean`):

Keep only domains that are available or likely available. Taken names are counted in the run summary but not saved, so you pay only for the free ones.

## `includeRegistration` (type: `boolean`):

Registration and expiry dates, domain age, registrar, status, nameservers and availability.

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

A, AAAA, MX and NS records, the email provider, SPF, DMARC and DKIM selectors.

## `dkimSelectors` (type: `array`):

DKIM selectors looked up for every domain, one per line. The default list covers Google Workspace, Microsoft 365, Zoho, Mailchimp, SendGrid, Postmark, Mailgun, Proton, Fastmail, HubSpot, Klaviyo, Brevo and common generic names. Clear the list to skip the DKIM check.

## `maxItems` (type: `integer`):

Maximum number of domains checked in one run, name ideas x zones included.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "wikipedia.org",
    "stripe.com"
  ],
  "names": [
    "brightpath",
    "nimbus cloud"
  ],
  "tlds": [
    "com",
    "io",
    "ai",
    "dev"
  ],
  "onlyAvailable": false,
  "includeRegistration": true,
  "includeDns": true,
  "dkimSelectors": [
    "google",
    "selector1",
    "selector2",
    "default",
    "k1",
    "s1"
  ],
  "maxItems": 1000
}
```

# Actor output Schema

## `domains` (type: `string`):

Registration data and DNS findings for each domain.

## `runSummary` (type: `string`):

Counts of checked, invalid and available domains.

# 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",
        "wikipedia.org",
        "stripe.com"
    ],
    "names": [
        "brightpath",
        "nimbus cloud"
    ],
    "tlds": [
        "com",
        "io",
        "ai",
        "dev"
    ],
    "dkimSelectors": [
        "google",
        "selector1",
        "selector2",
        "default",
        "k1",
        "s1"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("best_celerytop/domain-whois-dns-lookup").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",
        "wikipedia.org",
        "stripe.com",
    ],
    "names": [
        "brightpath",
        "nimbus cloud",
    ],
    "tlds": [
        "com",
        "io",
        "ai",
        "dev",
    ],
    "dkimSelectors": [
        "google",
        "selector1",
        "selector2",
        "default",
        "k1",
        "s1",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("best_celerytop/domain-whois-dns-lookup").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",
    "wikipedia.org",
    "stripe.com"
  ],
  "names": [
    "brightpath",
    "nimbus cloud"
  ],
  "tlds": [
    "com",
    "io",
    "ai",
    "dev"
  ],
  "dkimSelectors": [
    "google",
    "selector1",
    "selector2",
    "default",
    "k1",
    "s1"
  ]
}' |
apify call best_celerytop/domain-whois-dns-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,best_celerytop/domain-whois-dns-lookup"
        }
    }
}
```

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/O16PQUe2Bqex9PZzA/builds/ueT7myRNnX6a0jLg9/openapi.json
