# Domain Availability Checker: Bulk Domain Check via RDAP (`thoob/domain-availability-checker`) Actor

Domain availability checker for bulk domain checks: queries official registry RDAP servers found via the IANA bootstrap and returns registered or available, with registrar, dates, statuses and nameservers. Billed per domain with a definite answer.

- **URL**: https://apify.com/thoob/domain-availability-checker.md
- **Developed by:** [Pono Data](https://apify.com/thoob) (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.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

## Domain Availability Checker: Bulk RDAP, Registered or Available

Checks a list of domains against the official registry RDAP servers and tells you whether each one is registered, available or unknown, for anyone who needs to screen many names at once.

### What you get

- **Status**: `availability` (registered, available, unknown), `httpStatus` and `reason` for unknown rows
- **Registration dates**: `registeredAt`, `expiresAt`, `lastChangedAt`
- **Ownership details**: `registrar`, `statuses` (EPP status codes), `nameservers`
- **Lookup details**: `domain`, `tld`, `rdapServer`, `sourceUrl`, `retrievedAt`

### Input

```json
{
    "domains": ["ponodata.com", "example.org", "some-free-name-zq9x7.com"],
    "names": ["ponodata"],
    "tlds": ["com", "net", "org", "io", "ai", "co"],
    "maxRecords": 0
}
```

`names` are combined with every entry in `tlds`. Domains are lowercased, scheme, path and `www.` are removed, international names are converted to punycode, and duplicates are dropped. `maxRecords` of 0 means no cap.

A run with no domains and no names ends successfully with the status message "Provide at least one valid domain in domains, or names with tlds." and delivers no rows.

### Output

Illustration only, values shortened:

```json
{
    "domain": "example.org",
    "tld": "org",
    "availability": "registered",
    "registrar": "Example Registrar, Inc.",
    "registeredAt": "1995-08-31T04:00:00Z",
    "expiresAt": "2025-08-30T04:00:00Z",
    "lastChangedAt": "2024-08-14T07:01:34Z",
    "statuses": ["client transfer prohibited", "..."],
    "nameservers": ["a.iana-servers.net", "b.iana-servers.net"],
    "rdapServer": "https://rdap.publicinterestregistry.org/rdap/",
    "httpStatus": 200,
    "reason": null,
    "sourceUrl": "https://rdap.publicinterestregistry.org/rdap/domain/example.org",
    "retrievedAt": "2024-09-01T10:00:00Z"
}
```

### Pricing

Event `domain-checked` at USD 0.002 per domain, which is USD 2.00 per 1,000 domains. You are charged only for rows with availability `registered` or `available`. Rows with availability `unknown` (no RDAP server, rate limited, or other error) are pushed free.

### Data source

The IANA RDAP bootstrap file (https://data.iana.org/rdap/dns.json) is used to find the registry RDAP server for each TLD, and each domain is looked up on that server. Every row carries `sourceUrl` (the RDAP URL queried, or the bootstrap URL when no server exists) and `retrievedAt`.

### Limits

- "Available" means the registry returned 404, so the name is not in the registry. Premium or reserved names can still be impossible to buy at normal price.
- TLDs without an RDAP server in the IANA bootstrap return `unknown` with reason `NO_RDAP_SERVER`. Some country code TLDs fall in this group.
- Lookups are throttled to one request per 300 ms per RDAP server, with up to 4 servers in parallel, so large lists on a single TLD take time.
- Registries may rate limit. After retries such rows are returned as `unknown` with reason `RATE_LIMITED`.

### Who uses it

- Founders and naming agencies who check candidate `names` across several `tlds` and keep the rows where `availability` is available.
- Domain investors who watch `expiresAt` and `statuses` on names they want.
- IT teams who audit a company's `domains` for `registrar` and `nameservers`.
- Brand teams who check lookalike domains and note who registered them through `registrar`.

### FAQ

#### What input does it take?

Use `domains` for full domain names, or `names` for bare names to pair with the extensions in `tlds`. `maxRecords` caps the billed records.

#### What does an empty result mean?

No domain received a definite registered or available answer. Domains without a definite answer are not billed. On returned rows, `reason` and `httpStatus` show what the registry server reported.

#### Is an available result a guarantee?

No. It reflects the registry RDAP answer at `retrievedAt`. Someone can register the domain after that.

#### Can it run on a schedule or through the Apify API?

Yes. Use Apify Schedules to re-check a watch list, or start runs from the Apify API and read the dataset.

# Actor input Schema

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

Full domains, one per line. Schemes, paths and www. are stripped, IDNs converted to punycode, duplicates removed.

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

Optional bare names (no TLD). Each is combined with every entry in TLDs.

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

TLDs combined with each bare name.

## `maxRecords` (type: `integer`):

Cap on delivered, billed rows (registered or available). 0 means no cap. The platform spend cap is honored regardless.

## Actor input object example

```json
{
  "domains": [
    "ponodata.com",
    "example.org",
    "some-free-name-zq9x7.com"
  ],
  "tlds": [
    "com",
    "net",
    "org",
    "io",
    "ai",
    "co"
  ],
  "maxRecords": 0
}
```

# Actor output Schema

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

One row per domain.

# 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": [
        "ponodata.com",
        "example.org",
        "some-free-name-zq9x7.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thoob/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": [
        "ponodata.com",
        "example.org",
        "some-free-name-zq9x7.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("thoob/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": [
    "ponodata.com",
    "example.org",
    "some-free-name-zq9x7.com"
  ]
}' |
apify call thoob/domain-availability-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thoob/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/OFXYzV5dlrRdwhV6H/builds/yqkZg63Dd2UMho0su/openapi.json
