# Domain WHOIS Lookup (RDAP) (`properscraper/domain-whois-rdap-lookup`) Actor

Look up registration details for a list of domains: registrar, creation and expiry dates, status, nameservers and DNSSEC, and whether the domain is registered at all. Uses RDAP, the official successor to WHOIS.

- **URL**: https://apify.com/properscraper/domain-whois-rdap-lookup.md
- **Developed by:** [jake mcclure](https://apify.com/properscraper) (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 $0.50 / 1,000 domain looked ups

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 WHOIS Lookup (RDAP)

Look up registration details for any list of domains: who the registrar is, when the domain was created, when it expires, its status, its nameservers and whether DNSSEC is on. Domains that are not registered are reported as such, so the same run works as a bulk availability check.

It uses RDAP, the registries' official replacement for WHOIS. RDAP returns structured data straight from the registry, so there is no fragile parsing of WHOIS text.

Use it to:

- watch expiry dates across a portfolio of domains
- check which names on a list are still unregistered
- find the registrar and abuse contact for a domain
- enrich a list of company websites with domain age

### Input

| Field | What it does |
|---|---|
| **Domains** | One domain per line. Web addresses work too; the domain is taken from them. |
| **Leave out unregistered domains** | Save, and pay for, registered domains only. Off by default. |

```json
{
    "domains": ["apify.com", "wikipedia.org", "a-name-nobody-has-registered-yet.com"]
}
```

### Output

One record per domain:

```json
{
    "input": "apify.com",
    "domain": "apify.com",
    "registered": true,
    "registrar": "Amazon Registrar, Inc.",
    "registrarIanaId": "468",
    "abuseEmail": "trustandsafety@support.aws.com",
    "abusePhone": "+1.2024422253",
    "createdAt": "2009-06-02T17:14:10.000Z",
    "updatedAt": "2026-05-16T16:53:04.000Z",
    "expiresAt": "2035-06-02T17:14:10.000Z",
    "status": ["client transfer prohibited"],
    "nameservers": ["ns-1225.awsdns-25.org", "ns-1928.awsdns-49.co.uk"],
    "dnssec": true,
    "registrantOrganization": null,
    "registrantCountry": null,
    "rdapUrl": "https://rdap.verisign.com/com/v1/domain/apify.com",
    "scrapedAt": "2026-11-11T22:30:00.000Z"
}
```

- `registered` is `false` when the registry has no registration for the name. The other fields are then empty.
- `abuseEmail` and `abusePhone` are the registrar's contacts for reporting abuse.
- `registrantOrganization` and `registrantCountry` are filled only when the registry publishes them. Most registries hide registrant details.
- `rdapUrl` is the registry record the data came from.
- If you enter a subdomain such as `blog.example.com`, the record is for the registered domain behind it (`example.com`), and `input` keeps what you entered.

A `SUMMARY` record in the run's key-value store lists every domain with any error.

### Pricing

Pay per result. You are charged once for each domain saved to the dataset, at the per-result price shown on this page. That includes domains reported as unregistered, unless you turn on **Leave out unregistered domains**.

Domains that could not be looked up cost nothing. The run stops as soon as it reaches the maximum charge you set for it.

### Limits

- RDAP covers all generic top-level domains (.com, .net, .org, .app, .dev and so on) and many country domains (.uk, .fr, .nl and others). Some country registries, for example .de and .io, do not offer RDAP; those domains are reported with an error and not charged.
- The Actor never returns personal contact details of a registrant: only the organisation name and country, when the registry publishes them.
- Registries limit how fast they can be queried. The Actor spaces out its requests to each registry and waits when asked to slow down; if a registry keeps refusing, the domain is reported with an error.
- "Not registered" means the registry has no record of the name. Some names are reserved by registries and cannot be bought even though they are not registered.

### Is this allowed?

RDAP is the public lookup service that domain registries are required to provide, and it is designed for programmatic access. You are responsible for how you use the data.

# Actor input Schema

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

One domain per line, for example example.com. Web addresses work too; the domain is taken from them.

## `skipUnregistered` (type: `boolean`):

By default a domain that is not registered is saved with "registered": false, which is useful for checking availability. Turn this on to save (and pay for) registered domains only.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "wikipedia.org"
  ],
  "skipUnregistered": false
}
```

# Actor output Schema

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

One record per domain looked up.

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

Totals for the run and, for each domain, how many results were saved and any error.

# 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",
        "wikipedia.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("properscraper/domain-whois-rdap-lookup").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",
        "wikipedia.org",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("properscraper/domain-whois-rdap-lookup").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",
    "wikipedia.org"
  ]
}' |
apify call properscraper/domain-whois-rdap-lookup --silent --output-dataset

```

## MCP server setup

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

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/97bsJCdVIHJHuJx0s/builds/BLpnxG1HzPTQ5Ee6U/openapi.json
