# Bulk Domain Availability Checker – WHOIS (RDAP) & DNS (`oldjard/domain-availability-whois-dns`) Actor

Check thousands of domains at once: available or registered, straight from the registry (RDAP, or WHOIS where a TLD has no RDAP). Registrar, created and expiry dates, status codes, nameservers and DNS records. Covers .io, .co, .de, .uk, .jp and 1,200+ TLDs. $0.50 per 1,000 domains.

- **URL**: https://apify.com/oldjard/domain-availability-whois-dns.md
- **Developed by:** [Joshua White](https://apify.com/oldjard) (community)
- **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 domain checkeds

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 Availability Checker – WHOIS (RDAP) & DNS

Check a list of domains and see which are **available** and which are **registered**. For registered domains you also
get the registrar, created and expiry dates, days until expiry, registry status codes and nameservers. DNS records
(A, AAAA, MX) come in the same row.

The answer comes from the domain's **registry**: its RDAP server, or its WHOIS server for TLDs that have no RDAP. It
covers the 1,200+ TLDs in IANA's RDAP list, plus .io, .co, .de, .ch, .me, .us, .uk, .jp, .it, .eu, .se and other
country TLDs whose RDAP server isn't in that list or that only run WHOIS.

**Try it:** the input is prefilled with four domains. Click Start and the results show in a few seconds.

### How to check domain availability in bulk

1. Paste domains, one per line. URLs are fine too: `https://www.example.com/page` becomes `example.com`.
2. Or enter names without a TLD (`acme`) and a list of TLDs (`com, io, ai, co`) to try every combination.
3. Click **Start**, then download the table as CSV, Excel or JSON.

### What you get for each domain

| Field | What it is |
|---|---|
| `domain`, `domainUnicode` | The domain checked. International names are shown both ways (`xn--mnchen-3ya.de`, `münchen.de`). |
| `availability` | `available`, `registered`, `likely-available` or `unknown` (see below). `available` is the same as true/false. |
| `source` | Where the answer came from: `rdap` or `whois` (the registry), or `dns` (only when the registry gave no answer). |
| `expiring` | `true` when a registered domain is in its redemption or pending-delete period, so it may become available soon. |
| `registrar`, `registrarIanaId` | The registrar that holds the domain. |
| `createdAt`, `updatedAt`, `expiresAt`, `daysUntilExpiry` | Registry dates, in UTC. |
| `statusCodes` | EPP status codes, e.g. `client transfer prohibited`, `pending delete`. |
| `nameservers`, `dnssec` | Nameservers in the registry, and whether the delegation is signed. |
| `dnsStatus` | What DNS says: `delegated`, `nxdomain`, `no-ns` or `servfail`. |
| `aRecords`, `aaaaRecords`, `mxRecords` | DNS records, when **Include DNS records** is on. |
| `note`, `error` | Plain-English explanation when an answer needs one. |

The output never includes registrant, admin, technical or abuse contacts. Only the registrar is named.

### What the availability values mean

- **available**: the registry has no record of the domain.
- **registered**: the registry has a record. That includes domains on hold and domains that don't resolve in DNS.
- **likely-available**: the registry gave no answer, and DNS has no delegation. A domain can be registered without
  DNS, so confirm it at a registrar.
- **unknown**: no answer from the registry or DNS, or the two disagree. The `note` says which.

Premium and reserved names can show as available while a registrar refuses them or charges more. Some registries
don't publish every field: .de, .nl, .ch and .au give no expiry date, and .jp gives no registrar.

### How much does it cost?

**$0.50 per 1,000 domains** with a firm answer (`available` or `registered`). Lines that aren't domains, `likely-available`
and `unknown` results, and domains left out by your filters are free. Apify's $5 monthly free credit covers about 10,000
domains. The run's maximum cost caps what you spend: the run stops cleanly when it's reached.

### Input example

```json
{
    "domains": ["google.com", "github.io", "bbc.co.uk", "münchen.de"],
    "names": ["acme", "acmelabs"],
    "tlds": ["com", "io", "ai", "co", "dev"],
    "dnsRecords": true,
    "onlyAvailable": false,
    "expiringWithinDays": null,
    "maxDomains": 10000
}
```

- **Only return available domains**: leave registered domains out of the results.
- **Only return domains expiring within (days)**: keep only registered domains that expire within that many days,
  plus domains already being deleted. Use it to watch your own renewals or to find names that will drop soon.

### Output example

```json
{
    "input": "github.io",
    "domain": "github.io",
    "domainUnicode": "github.io",
    "tld": "io",
    "availability": "registered",
    "available": false,
    "source": "rdap",
    "expiring": false,
    "registrar": "MarkMonitor Inc.",
    "registrarIanaId": "292",
    "createdAt": "2013-03-08T19:12:48.000Z",
    "updatedAt": "2025-02-05T09:43:39.000Z",
    "expiresAt": "2027-03-08T19:12:48.000Z",
    "daysUntilExpiry": 486,
    "statusCodes": ["client delete prohibited", "client transfer prohibited", "client update prohibited"],
    "nameservers": ["dns1.p05.nsone.net", "dns2.p05.nsone.net", "ns-1622.awsdns-10.co.uk"],
    "dnssec": false,
    "dnsStatus": "delegated",
    "aRecords": ["185.199.108.153", "185.199.109.153"],
    "aaaaRecords": [],
    "mxRecords": [],
    "note": null,
    "error": null,
    "checkedAt": "2026-11-07T19:40:00.000Z"
}
```

The run also saves a summary (`OUTPUT` in the key-value store): counts by availability and by source, rows charged, and
whether the run stopped early.

### How accurate is it?

We tested it on 50 domains whose status we checked by hand at each registry. They were big names, random free strings
in 18 TLDs, international names, a domain in pending delete, a domain on client hold with no DNS, and two registered
domains whose DNS is broken. It got all 50 right, and every answer came from the registry. A DNS-only check gets the
last four wrong.

### How it works

- **RDAP first.** RDAP is the registries' JSON replacement for WHOIS. The actor reads IANA's list of RDAP servers at the
  start of each run and adds the registry RDAP servers that the list leaves out.
- **WHOIS when there's no RDAP.** For TLDs without RDAP, or whose RDAP server asks robots not to query it, the actor asks
  the registry's WHOIS server. It reads only the yes/no, dates, registrar and nameservers. The raw WHOIS text is never
  stored or returned.
- **Polite.** It honours robots.txt and `Retry-After`, keeps a few requests at a time per registry, and asks each WHOIS
  server one question at a time. Large lists are paced, so 10,000 domains take a few minutes.
- **DNS alongside.** Nameservers are always looked up. A, AAAA and MX records are added when you ask for them.

### FAQ

**Is this a WHOIS lookup?** Yes. RDAP returns the same registration data as WHOIS, in structured form, and is what
ICANN now requires registries to run. Where a TLD only has WHOIS, the actor uses WHOIS.

**Why are there no owner names or emails?** Most registries hide them now, and we don't collect personal data. Only the
registrar is named.

**Can AI agents use it?** Yes, through Apify's MCP server or API. Every field has a fixed name and type.

**How many domains per run?** Up to 100,000 (default cap 10,000). Duplicates are checked once.

# Actor input Schema

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

Domains to check, one per line. URLs are fine too: https://www.example.com/page becomes example.com. International names (münchen.de) are fine.

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

Names without a TLD, e.g. "acme". Each name is checked with every TLD below.

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

TLDs to combine with the names above, e.g. com, io, ai, co, dev. Used only with names. Default: com.

## `dnsRecords` (type: `boolean`):

Also return A, AAAA and MX records. The nameserver check always runs.

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

Leave out registered domains. You pay only for the rows you get.

## `expiringWithinDays` (type: `integer`):

Optional. Keep only registered domains whose expiry date is within this many days, plus domains already in their redemption or pending-delete period.

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

Safety cap. Domains past it are not checked and not charged.

## Actor input object example

```json
{
  "domains": [
    "google.com",
    "github.io",
    "bbc.co.uk",
    "my-new-startup-name-2026.com"
  ],
  "tlds": [
    "com",
    "io",
    "ai",
    "co",
    "dev",
    "app"
  ],
  "dnsRecords": true,
  "onlyAvailable": false,
  "maxDomains": 10000
}
```

# Actor output Schema

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

Dataset, one row per domain: availability, source of the answer, registrar, dates, status codes, nameservers and DNS records.

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

Counts by availability and by source, rows charged, and whether the run stopped early.

# 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": [
        "google.com",
        "github.io",
        "bbc.co.uk",
        "my-new-startup-name-2026.com"
    ],
    "tlds": [
        "com",
        "io",
        "ai",
        "co",
        "dev",
        "app"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("oldjard/domain-availability-whois-dns").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": [
        "google.com",
        "github.io",
        "bbc.co.uk",
        "my-new-startup-name-2026.com",
    ],
    "tlds": [
        "com",
        "io",
        "ai",
        "co",
        "dev",
        "app",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("oldjard/domain-availability-whois-dns").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": [
    "google.com",
    "github.io",
    "bbc.co.uk",
    "my-new-startup-name-2026.com"
  ],
  "tlds": [
    "com",
    "io",
    "ai",
    "co",
    "dev",
    "app"
  ]
}' |
apify call oldjard/domain-availability-whois-dns --silent --output-dataset

```

## MCP server setup

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

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/VtOdgbydIpEtj9pwG/builds/q5qASWgditrmZ1Hpj/openapi.json
