# Domain Availability Checker (RDAP), Registrar & Expiry Dates (`signalharbor/domain-availability-rdap`) Actor

Bulk-check if domains are available. Uses the official registry protocol RDAP, falls back to DNS, and returns registrar, creation and expiry dates, status codes and nameservers. You only pay for definitive answers.

- **URL**: https://apify.com/signalharbor/domain-availability-rdap.md
- **Developed by:** [Signal Harbor](https://apify.com/signalharbor) (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 usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-usage

## 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 (RDAP) with Registrar and Expiry Dates

Check in bulk whether domains are available. The Actor asks the registry directly over **RDAP**, the official machine-readable successor of WHOIS, and falls back to DNS for top-level domains without an RDAP service.

You only pay for definitive answers. Results that end as `unknown` or `likely_available` are free.

### What you get

For every domain one clean JSON record:

| Field | Meaning |
|---|---|
| `domain` | Registrable domain in ASCII form (`www.example.co.uk/page` becomes `example.co.uk`) |
| `status` | `available`, `registered`, `likely_available` or `unknown` |
| `available` | `true`, `false`, or `null` when the answer is not definitive |
| `confidence` | `high` (registry answer), `medium`, `low` (DNS only) or `none` |
| `method` | `rdap`, `dns` or `rdap+dns` |
| `registrar` | Registrar name of a registered domain |
| `createdAt`, `expiresAt`, `updatedAt` | Registration, expiry and last-change dates |
| `statuses` | Registry status codes, for example `client transfer prohibited` |
| `nameservers`, `dnssec` | Delegation data |
| `error` | Reason when the status is `unknown` |

Owner, admin and technical contacts are never returned.

### Typical uses

- Find a free name for a product, startup or campaign across many TLDs at once.
- Watch expiry dates of your own or competing domains.
- Let an AI agent verify a domain before it suggests or registers it.
- Clean a lead or link list by removing domains that no longer exist.

### Input

```json
{
    "domains": ["example.com", "https://www.example.co.uk/page"],
    "keywords": ["Acme Robotics"],
    "tlds": ["com", "io", "ai"],
    "includeRegistrationData": true
}
```

- `domains`: explicit domains, hostnames or URLs.
- `keywords` and `tlds`: every name is combined with every TLD (`acme-robotics.com`, `acme-robotics.io`, ...).
- Up to 5,000 domains per run. Duplicates are removed.

### How reliable is the answer?

- **RDAP, confidence `high`:** the registry itself says the domain exists (HTTP 200) or does not exist (HTTP 404).
- **DNS only:** some registries (for example `.de` and `.io`) offer no public RDAP. A delegated domain is reported as `registered`. A domain without DNS delegation is reported as `likely_available` with confidence `low`, because a registered domain can exist without nameservers. This result is free; confirm it with a registrar.
- If the registry gives no usable RDAP answer (error, rate limit, or a record that does not match the queried domain), that answer is discarded and the Actor falls back to DNS (`method: rdap+dns`). A delegated domain is then reported as `registered`; otherwise the result is `likely_available` or `unknown` and free.
- Reserved and premium names can be reported as `available` even though a registrar will not sell them at the standard price.

### Pricing

Pay per event: one `domain-checked` event for each domain with a definitive answer (`available` or `registered`). `unknown`, `likely_available` and invalid input are free. The run stops when your maximum cost for the run is reached and never bills beyond it.

### Good to know

- Each registry server is queried by at most two lookups at once. A registry that asks for a pause (`Retry-After`) is not queried earlier; if the pause is longer than 20 seconds the affected domains are answered from DNS instead (see above).
- A run that is restarted by the platform continues where it stopped: it reads which domains are already in the dataset and only works on the rest, so stored results are not billed again.
- Your raw input (for example a full URL) is never copied into results or logs, only the registrable domain.

# Actor input Schema

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

Domains to check, one per line. URLs and subdomains are reduced to the registrable domain (https://www.example.co.uk/page becomes example.co.uk).

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

Optional. Names without a top-level domain, for example a brand name. Each name is combined with every TLD below.

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

Optional. TLDs used for the names above, for example com, io, ai.

## `includeRegistrationData` (type: `boolean`):

For registered domains, add registrar, creation date, expiry date, status codes and nameservers. Contact data of owners is never returned.

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

How many domains are checked at the same time. Each registry is queried by at most two lookups at once.

## Actor input object example

```json
{
  "domains": [
    "example.com",
    "my-next-startup-idea.io"
  ],
  "tlds": [
    "com",
    "io",
    "ai"
  ],
  "includeRegistrationData": true,
  "maxConcurrency": 5
}
```

# Actor output Schema

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

One item per domain: status, availability, confidence, registrar, creation and expiry dates, status codes and nameservers.

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

Counts of billed, free and undelivered results for this run.

# 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",
        "my-next-startup-idea.io"
    ],
    "tlds": [
        "com",
        "io",
        "ai"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("signalharbor/domain-availability-rdap").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",
        "my-next-startup-idea.io",
    ],
    "tlds": [
        "com",
        "io",
        "ai",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("signalharbor/domain-availability-rdap").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",
    "my-next-startup-idea.io"
  ],
  "tlds": [
    "com",
    "io",
    "ai"
  ]
}' |
apify call signalharbor/domain-availability-rdap --silent --output-dataset

```

## MCP server setup

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

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/17AOPt85HXxgMTBC1/builds/bXa8kuS0P0gCGdjIP/openapi.json
