# Bulk Domain Availability & Expiry Checker (WHOIS/RDAP) (`open-data-tools/bulk-domain-availability-checker`) Actor

Check thousands of domains at once: available or registered, expiry date and days left, registrar, drop status (redemption, pending delete), nameservers and SSL expiry. RDAP, the official WHOIS replacement, plus DNS. Monitor mode returns only changes. $1 per 1,000 domains, no start fee.

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

## Pricing

Pay per event

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 & Expiry Checker (WHOIS/RDAP)

Check thousands of domains in one run. For each domain you get:

- **Availability**: `available`, `registered`, `likely-available` or `unknown`
- **Expiry date** and **days until expiry**, with an `expiresSoon` flag
- **Registrar** name and IANA ID, **registration date** and **domain age**
- **EPP status codes** and a plain **drop status**: `pending-delete`, `redemption-period`, `auto-renew-grace`, `expired`, `on-hold`
- **Nameservers** and **DNSSEC**
- Optional **SSL certificate expiry**: days left, issuer, and validation errors

It costs **$1 per 1,000 domains**, with **no start fee**. Domains it cannot determine are free.

### What people use it for

- **Name hunting.** Type name ideas (`mybrand`) and a TLD list, and see which of `mybrand.com`, `.net`, `.io`, `.ai`... are free. Turn on *Return only available domains* to keep just those.
- **Client or portfolio renewals.** Agencies and domain owners watch 20 to 5,000 domains, and catch expiring domains and SSL certificates before a site goes down.
- **Drop watching.** Schedule a list of names you want. *Monitor mode* tells you when one enters redemption or pending delete, or becomes available.
- **Lead and list cleaning.** Find dead, expired or parked company domains in a CRM export.

### How it works

1. Each input is normalised to its registrable domain. `https://shop.example.co.uk/page` becomes `example.co.uk`. IPs and invalid lines are skipped and listed in the run summary.
2. The domain is looked up over **RDAP**, the registration-data protocol that ICANN requires and that replaces WHOIS. The registry server is found from the official IANA bootstrap file, plus a few registries (.io, .me, .us, .de) missing from it. A *not found* answer is cross-checked in DNS: if the name is delegated, it is reported as registered.
3. TLDs without a public RDAP server (for example .co, .eu, .es, .it, .ch, .jp) are answered from DNS. A delegated name is `registered`. A name that does not exist in DNS is `likely-available`, because a registered domain with no nameservers looks the same.
4. With SSL checking on, the HTTPS certificate is read from the domain (or `www.`).

Requests are polite: each registry server gets at most 3 requests at a time with short pauses, and rate-limit answers are retried with back-off. Expect roughly 10 to 15 domains per second on a mixed list.

### Input example

```json
{
  "domains": ["apify.com", "example.org", "https://www.bbc.co.uk/news"],
  "keywords": ["mybrand"],
  "tlds": ["com", "net", "io", "ai"],
  "checkSsl": true,
  "expiryWarningDays": 30
}
```

### Output example

```json
{
  "domain": "example.org",
  "availability": "registered",
  "available": false,
  "method": "rdap",
  "registrar": "ICANN",
  "createdDate": "1995-08-31T04:00:00.000Z",
  "expiryDate": "2027-08-30T04:00:00.000Z",
  "daysUntilExpiry": 304,
  "expiresSoon": false,
  "dropStatus": null,
  "statusCodes": "server delete prohibited, server transfer prohibited, server update prohibited",
  "nameservers": "katelyn.ns.cloudflare.com, mitch.ns.cloudflare.com",
  "dnssec": true,
  "sslDaysLeft": 57,
  "sslIssuer": "SSL Corporation",
  "change": null
}
```

Download the results as CSV, Excel or JSON, or pipe them to Google Sheets, Make, n8n or Zapier. The `SUMMARY` record in the key-value store has counts by availability.

### Monitor mode

Turn on **Monitor mode** and schedule the Actor daily or weekly. The first run saves every domain as a baseline. After that, only these rows are returned:

- `became-available`, `became-registered`
- `renewed` (expiry moved later), `expiry-changed`
- `registrar-changed` (a transfer), `status-changed` (for example entering redemption)
- `ssl-renewed`
- any domain or certificate expiring within your warning window

Use a different **Monitor name** for each watchlist. Every domain checked counts as one check, including unchanged ones.

### Pricing

Pay per event, no start fee:

| Event | Price |
|---|---|
| Domain checked (available, registered or likely available) | $0.001 |
| SSL certificate read (only with SSL checking on) | $0.0005 |

Domains that end as `unknown` (registry and DNS both failed) are not charged. Set a maximum charge per run in the run options and the Actor stops cleanly when it is reached.

### Limits and notes

- `available` means the registry has no registration for the name. Premium or reserved names can still be unavailable, or priced higher, at the registrar.
- Some registries do not publish every field. For example, DENIC (.de) shows no expiry date, so those fields are empty.
- No registrant contact data is read or returned. Only the registrar's own name and ID are included.
- Registry terms forbid using registration data for spam or for flooding registry or registrar systems. Use the results for your own research, renewals and monitoring.

Questions or a TLD that should use RDAP but doesn't? Open an issue on the Actor page.

# Actor input Schema

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

One domain per line (example.com). URLs and subdomains are fine: https://shop.example.co.uk/page becomes example.co.uk. Duplicates are removed.

## `keywords` (type: `array`):

Optional. Each name (for example mybrand) is checked in every TLD in the list below: mybrand.com, mybrand.net and so on.

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

Used only with name ideas. Without a leading dot.

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

Keep only available or likely-available domains in the results. Every domain is still checked and counted.

## `checkSsl` (type: `boolean`):

For registered domains, read the HTTPS certificate on the domain (or www.) and return its expiry date, days left and issuer. Charged as a separate small event.

## `expiryWarningDays` (type: `integer`):

Sets expiresSoon (domain) and sslExpiresSoon (certificate) when fewer days than this are left.

## `monitorMode` (type: `boolean`):

Remembers each domain between runs. Later runs return only domains that changed (became available, renewed, transferred, status changed, certificate renewed) or that expire soon. Schedule it daily or weekly. The first run returns everything as the baseline.

## `monitorName` (type: `string`):

Keep separate watchlists apart, for example clients or drops. Letters, numbers and dashes.

## `includeUnchanged` (type: `boolean`):

Return every domain with its change field instead of only changes and alerts.

## `maxConcurrency` (type: `integer`):

Domains checked at the same time. Each registry server also gets at most 3 requests at once and short pauses, to stay polite.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "example.org",
    "open-data-tools-test-name-8812.com"
  ],
  "tlds": [
    "com",
    "net",
    "org",
    "io",
    "co",
    "ai",
    "app",
    "dev"
  ],
  "onlyAvailable": false,
  "checkSsl": false,
  "expiryWarningDays": 30,
  "monitorMode": false,
  "monitorName": "default",
  "includeUnchanged": false,
  "maxConcurrency": 8
}
```

# Actor output Schema

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

One row per domain checked.

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

Counts by availability, charged checks, invalid inputs.

# 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",
        "example.org",
        "open-data-tools-test-name-8812.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("open-data-tools/bulk-domain-availability-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",
        "example.org",
        "open-data-tools-test-name-8812.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("open-data-tools/bulk-domain-availability-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",
    "example.org",
    "open-data-tools-test-name-8812.com"
  ]
}' |
apify call open-data-tools/bulk-domain-availability-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,open-data-tools/bulk-domain-availability-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/Suq4tcAyesiDelKOa/builds/fym6SMBM8EpJJkeKQ/openapi.json
