# Domain Availability Checker and WHOIS Lookup (RDAP) (`forgeloop/domain-availability-whois`) Actor

Check if domains are free to register and get WHOIS style data from the official registry RDAP servers: registrar, created, updated and expiry date, days until expiry, status, nameservers, DNSSEC. Optional NS and A lookup. No contact data. Pay per domain.

- **URL**: https://apify.com/forgeloop/domain-availability-whois.md
- **Developed by:** [Markus Heiß](https://apify.com/forgeloop) (community)
- **Categories:** 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.00 / 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

## Domain Availability Checker and WHOIS Lookup (RDAP)

Check a list of domains: is each one still free to register, or who is the registrar and when does it expire? The Actor asks the official RDAP server of each registry, the modern successor of WHOIS. Get back one row per domain with availability, registrar name and IANA ID, created, updated and expiry date, days until expiry, status codes, nameservers and DNSSEC. Optional NS and A lookup through DNS.

Built for domain research, brand protection, portfolio and renewal checks, and lead lists that need a quick registration check. No contact data of registrants or other persons is returned.

Not affiliated with IANA, ICANN or any registry. All data comes from the public RDAP services listed in the [IANA RDAP bootstrap file](https://data.iana.org/rdap/dns.json).

### What it does

- **Normalizes your list:** URLs, `www.`, uppercase, trailing dots, email addresses and subdomains become the registrable domain (`https://WWW.Blog.Example.co.uk/page` becomes `example.co.uk`). International names like `münchen.de` are converted to punycode (`xn--mnchen-3ya.de`). Duplicates are dropped. Invalid lines return a free error item.
- **Finds the right registry:** loads the IANA RDAP bootstrap once per run and picks the RDAP server for each TLD.
- **Checks availability:** HTTP 404 from the registry means the domain is not registered (`available: true`). A domain record means it is taken (`available: false`). When the RDAP server keeps failing, `available` is `null` and `note` says why.
- **DNS fallback for TLDs without RDAP** (for example `.de`, `.io`, `.ch`, `.at`, `.eu`, `.jp`, `.edu`): the Actor asks DNS for the NS records of the domain, and for its SOA record when no NS record comes back. NS or SOA found means registered (`available: false`, `source: "dns"`). Not in DNS (NXDOMAIN) means probably available, but only the registry can confirm it, so `available` stays `null`.
- **Reads registration data** for taken domains: status codes, registrar name and IANA ID, created, updated and expiry date, days until expiry, nameservers and whether DNSSEC is on.
- **Optional DNS lookup:** NS and A records of each domain through DNS, under `dns`.
- **No contact data:** registrant, admin, tech, billing and abuse contacts are skipped completely. Only the registrar's name and IANA ID are read from the entities.
- **Polite to the registries:** at most 1 request per second per RDAP server, at most 3 servers at the same time, up to 3 retries with a growing pause (2, 4, 8 s) on HTTP 429 and 5xx, and it waits longer when the server sends Retry-After. A server that fails for 2 domains in a row is skipped for the rest of the run.

### Use cases

- **Domain research:** check a list of name ideas for a new product or company and see which ones are free.
- **Brand protection:** check typo and TLD variants of your brand and see who registered the taken ones and when.
- **Portfolio and renewal checks:** list the expiry dates and days until expiry of your own domains and spot ones without DNSSEC.
- **Lead and data hygiene:** check that the company domains in a list are registered, how old they are and where their DNS is hosted.
- **Expiring domains:** watch domains you want and see when they come up for renewal.

### Input

| Field | Description | Default |
|---|---|---|
| Domains | `example.com`, `https://www.python.org/about/`, `münchen.de`, `info@example.org`. Up to 10,000 per run. | |
| Include DNS lookup | Add the NS and A records of each domain under `dns` | off |
| Max parallel domains | 1 to 10. The limits per RDAP server apply anyway. | 3 |
| Timeout | Seconds per RDAP request, 5 to 120 | 20 |

Example, check name ideas across TLDs:

```json
{
  "domains": ["forgeloop.com", "forgeloop.org", "forgeloop.dev", "forgeloop.co.uk"]
}
```

Example, renewal check of your own domains with DNS:

```json
{
  "domains": ["example.com", "https://www.wikipedia.org/", "python.org"],
  "includeDns": true
}
```

### Output

One dataset item per domain:

```json
{
  "domain": "wikipedia.org",
  "domainUnicode": "wikipedia.org",
  "input": "wikipedia.org",
  "tld": "org",
  "available": false,
  "source": "rdap",
  "status": ["client delete prohibited", "client transfer prohibited", "client update prohibited"],
  "registrar": "MarkMonitor Inc.",
  "registrarIanaId": "292",
  "createdAt": "2001-01-13T00:12:14.754Z",
  "updatedAt": "2026-08-12T08:47:19.410Z",
  "expiresAt": "2027-01-13T00:12:14.000Z",
  "daysUntilExpiry": 54,
  "nameservers": ["ns0.wikimedia.org", "ns1.wikimedia.org", "ns2.wikimedia.org"],
  "dnssec": false,
  "rdapServer": "https://rdap.publicinterestregistry.org/rdap/",
  "note": null,
  "checkedAt": "2026-11-19T00:19:53.831Z",
  "dns": {
    "ns": ["ns0.wikimedia.org", "ns1.wikimedia.org", "ns2.wikimedia.org"],
    "a": ["185.15.59.224"],
    "error": null
  },
  "error": null
}
```

- `available` is `true` when the registry answered 404 Not Found, `false` when it returned a domain record, and `null` when the answer is unknown. `note` explains `true` and `null`.
- `source` is `rdap` when the registry RDAP server answered and `dns` for the DNS fallback on TLDs without RDAP. DNS results have the nameservers but no registrar, dates, status or DNSSEC, and `note` is `No RDAP for this TLD, registration seen in DNS`. A name without RDAP that is not in DNS gets `available: null` and the note `Not in DNS, probably available, check with the registry`.
- `domain` is the checked name in punycode, `domainUnicode` the readable form, `input` your original line.
- `tld` is the public suffix, for example `com` or `co.uk`.
- `status` holds the RDAP status values in lowercase, like `client transfer prohibited`, `server hold`, `redemption period` or `pending delete`.
- `registrarIanaId` is empty for most country code registries, which do not use IANA registrar IDs.
- `daysUntilExpiry` counts full days from the check to `expiresAt`. It is negative for domains past their expiry date that are not deleted yet.
- `dnssec` is `true` when the registry has DS records for the domain.
- `dns` appears only with Include DNS lookup. It is empty for domains that do not resolve.
- Invalid lines, server errors and DNS fallback names that are not in DNS return an item with `available: null` and `error` set.

The key-value store record `OUTPUT` holds a run summary: domains checked, available, registered, unknown, invalid, servers that were down and the run time.

Export the dataset as JSON, CSV or Excel, or read it through the Apify API.

### Pricing

Pay per domain: 0.001 USD per checked domain with a clear answer, so 1.00 USD per 1,000 domains. A clear answer is available or registered from RDAP, or registered from the DNS fallback. Invalid lines, duplicates, DNS fallback names that are not in DNS and domains whose availability stays unknown are free. The DNS lookup is free. Set the maximum charge in Apify to cap the cost of a run.

Each run also has a start fee of 0.00005 USD per GB of memory, which Apify shows as Actor Start.

### Limits

- Speed depends on the TLD mix. Each RDAP server gets at most 1 request per second, so 600 `.com` domains take about 10 minutes, while a list spread over `.com`, `.org` and `.uk` runs up to 3 times faster.
- Many TLDs have no RDAP service yet, among them `.de`, `.io`, `.ch`, `.at`, `.eu`, `.jp` and `.edu` at the time of writing. For these the Actor checks DNS instead and does not use port 43 WHOIS. DNS shows only delegated domains: a registered domain without nameservers, or one on hold, looks like it is not in DNS. So a name that is not in DNS returns `available: null`, not `true`. DNS results have no registrar, dates or status.
- Availability is a snapshot. A free domain can be registered by someone else a minute later. Premium, reserved and blocked names can show as available although the registry will not sell them at the normal price, or at all.
- Some registries return 404 for names they do not manage in RDAP, for example reserved names. Such names show as available.
- Registries may rate limit busy periods. The Actor retries with growing pauses and returns `available: null` when the server stays unavailable.
- Registration data is what the registry publishes. Many registries leave out fields, and some country code registries return no registrar or no dates.
- Subdomains are reduced to the registrable domain. `blog.example.com` is checked as `example.com`.

### Data source, permitted use and legal

- **Data source:** The public RDAP services of the domain registries, found through the [IANA RDAP bootstrap file](https://data.iana.org/rdap/dns.json). The DNS fallback for TLDs without RDAP and the optional DNS records come from the public DNS. This Actor is not affiliated with or endorsed by IANA, ICANN or any registry or registrar.
- **No contact data:** The Actor returns no registrant, administrative, technical, billing or abuse contacts, and no names, emails, phone numbers or addresses of persons. From the RDAP entities it reads only the registrar's name and IANA ID.
- **Snapshot:** Results show what the registries published at the time of the run. Availability is not a registration guarantee. Register through a registrar of your choice and check the price and terms there. We do not guarantee that the results are complete, current or correct.
- **For business use:** This Actor is offered to businesses only, not to consumers.
- **Permitted use:** Look up only domains you have a legitimate reason to check. Respect the terms of service that each RDAP server states in its answers.
- **Your responsibility:** You choose the domains and decide what happens with the results. If your input or the results contain personal data, you are the controller and need your own legal basis.
- **No circumvention:** The Actor uses public, unauthenticated endpoints only. It does not bypass rate limits, blocks or access restrictions.
- **Request volume:** At most 1 request per second per RDAP server and at most 3 servers at the same time, backoff on HTTP 429 and 5xx with Retry-After respected, and a server that stays unavailable is skipped for the rest of the run. Do not use it to put excessive load on the registries.
- **Provider:** forgeloop, Markus Heiss, Austria. [Imprint](https://devhem.github.io/forgeloop-legal/imprint.html), [Privacy Notice](https://devhem.github.io/forgeloop-legal/privacy.html), [Terms of Use](https://devhem.github.io/forgeloop-legal/terms.html).

### Questions and issues

Open an issue on the Actor page.

# Actor input Schema

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

Domains to check, like "example.com". URLs, "www.", uppercase, subdomains and international names (münchen.de) are normalized to the registrable domain in punycode. Duplicates are dropped. Up to 10,000 per run. Format: a list of strings.

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

Also resolve the NS and A records of each domain through DNS and add them under "dns". Free, it adds no RDAP requests.

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

How many domains are checked at the same time. The Actor still sends at most 1 request per second to each RDAP server and queries at most 3 servers at once, so a higher value only helps for lists with many different TLDs.

## `timeoutSecs` (type: `integer`):

Give up on one RDAP request after this many seconds. Failed requests are retried up to 3 times with a growing pause.

## Actor input object example

```json
{
  "domains": [
    "example.com",
    "forgeloop-test-availability-8812.com",
    "wikipedia.org",
    "https://www.python.org/about/"
  ],
  "includeDns": false,
  "maxConcurrency": 3,
  "timeoutSecs": 20
}
```

# Actor output Schema

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

No description

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

No description

# 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",
        "forgeloop-test-availability-8812.com",
        "wikipedia.org",
        "https://www.python.org/about/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("forgeloop/domain-availability-whois").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",
        "forgeloop-test-availability-8812.com",
        "wikipedia.org",
        "https://www.python.org/about/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("forgeloop/domain-availability-whois").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",
    "forgeloop-test-availability-8812.com",
    "wikipedia.org",
    "https://www.python.org/about/"
  ]
}' |
apify call forgeloop/domain-availability-whois --silent --output-dataset

```

## MCP server setup

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

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/NOJv1RAs6nxEkhP9t/builds/00O8vUbKz9b5YFhur/openapi.json
