# WHOIS Domain Lookup via RDAP: Created, Expiry, Registrar, DNS (`sebdata/domain-rdap-lookup`) Actor

Bulk WHOIS-style domain lookup through the registries' official RDAP servers (the successor of WHOIS): registered or not, creation and expiry dates, days until expiry, registrar, status codes, nameservers and DNSSEC. Clean JSON, no contact data.

- **URL**: https://apify.com/sebdata/domain-rdap-lookup.md
- **Developed by:** [Sebastian](https://apify.com/sebdata) (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

$1.00 / 1,000 domains

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

### What does WHOIS Domain Lookup via RDAP do?

Give this bulk WHOIS domain lookup a list of domains and get back, for each one: **is it registered, when was it created, when
does it expire, who is the registrar, what are its status codes and nameservers.** The answers come
from the registries' own **RDAP** servers, the official successor of WHOIS, so they arrive as clean
structured data instead of free text that has to be guessed at.

- **Price:** $1.00 per 1,000 domains ($0.001 per domain). You pay only for domains the registry
  answered for (registered or not found). Domains on a TLD without RDAP, and lookups that fail, are
  listed but not charged.
- **Bulk:** up to 1,000 domains per run, across any mix of TLDs.
- **URLs accepted:** paste `https://www.example.com/page` or `shop.example.com`; the registered
  domain is worked out for you.
- **No contact data:** registrant, admin and technical contacts are never read or saved.
- **Fast:** plain HTTP. In our test 150 domains took 21 seconds.

### Input example

```json
{
    "domains": ["github.com", "wikipedia.org", "https://www.lemonde.fr/international", "a-name-nobody-registered-1234.com"]
}
```

| Field | What it does | Default |
|---|---|---|
| `domains` | Domain names or URLs, up to 1,000. Required. | |
| `includeUnsupported` | List domains on unsupported TLDs (status `unsupported_tld`, not charged). | `true` |
| `proxyConfiguration` | Optional proxy. Normally not needed. | none |

### Output example

```json
{
    "input": "github.com",
    "domain": "github.com",
    "tld": "com",
    "status": "registered",
    "registered": true,
    "unicodeName": null,
    "createdAt": "2007-10-09T18:20:50.000Z",
    "updatedAt": "2026-09-07T09:22:52.000Z",
    "expiresAt": "2028-10-09T18:20:50.000Z",
    "daysUntilExpiry": 695,
    "registrar": "MarkMonitor Inc.",
    "registrarIanaId": 292,
    "statuses": ["client delete prohibited", "client transfer prohibited", "client update prohibited"],
    "nameservers": ["dns1.p08.nsone.net", "dns2.p08.nsone.net", "dns3.p08.nsone.net", "dns4.p08.nsone.net"],
    "dnssec": false,
    "rdapServer": "https://rdap.verisign.com/com/v1/",
    "checkedAt": "2026-11-14T00:43:23.080Z"
}
```

(The nameserver list is shortened here.) A domain the registry does not know comes back with the
same fields, `"status": "not_found"`, `"registered": false` and empty values. Export the dataset as
JSON, CSV or Excel, or read it through the Apify API.

### The four statuses

| `status` | `registered` | Meaning | Charged |
|---|---|---|---|
| `registered` | `true` | The registry has a record for the domain. | yes |
| `not_found` | `false` | The registry has no record. Usually the name is free to register, but registries also answer this way for some reserved or blocked names, so confirm with a registrar before relying on it. | yes |
| `unsupported_tld` | `null` | The TLD's registry runs no RDAP service, or the TLD is not supported (.uk). The `message` field says which. | no |
| `error` | `null` | The registry did not answer after several tries. | no |

### Good to know

- **Which TLDs work:** every TLD in IANA's RDAP list, loaded fresh on each run: all generic TLDs
  (.com, .net, .org, .app, .dev, .xyz, .ai...) and many country TLDs (.fr, .nl, .ca, .au, .br, .in...). Some
  country registries have no RDAP yet, among them .de, .io, .co, .ch, .es, .it, .jp and .eu
  (checked November 2026).
- **.uk is not supported.** The .uk registry's terms do not allow this kind of use of its answers,
  so .uk names are listed as `unsupported_tld` and not charged.
- **Fields differ by registry.** Some country registries publish no expiry date or no registrar;
  those fields are then `null`.
- **Subdomains:** for `shop.example.com` the Actor asks for the name, then for `example.com`, and
  reports the registered domain in `domain`. The `input` field keeps what you typed.
- **Internationalized names** are accepted in either form; `domain` holds the ASCII form and
  `unicodeName` the readable one.
- **Polite by design.** Each registry is asked at most two questions at a time with a pause between
  them, and a run is capped at 1,000 domains. Registries throttle clients that send too much; a
  throttled lookup is retried, then reported as `error` and not charged.
- **Registry terms apply to you.** Registries publish this data for information about domain
  registrations. Their terms forbid using it for unsolicited advertising or to contact registrants in
  bulk; this Actor does not return contact data at all.
- **Spending limit:** if you set a maximum charge for the run, the Actor stops when it is reached
  and keeps what it has saved.

### How to use WHOIS Domain Lookup via RDAP

1. Open the **Input** tab and paste your domains or URLs, one per line (up to 1,000 per run).
2. Leave **List domains on unsupported TLDs** on if you want to see which ones could not be looked up (they are free).
3. Press **Start**. 150 domains took 21 seconds in our test.
4. Open the **Output** tab: one row per domain with its `status`, dates, registrar and nameservers.
5. Download the rows as JSON, CSV, Excel or HTML, or read them through the API.

### How much does WHOIS Domain Lookup via RDAP cost?

**$1.00 per 1,000 domains**, charged per domain saved to the dataset. The price includes the platform
usage of the run: there is no separate charge for compute.

| Run | For example | Cost |
|---|---|---|
| 50 domains | a list of name ideas | $0.05 |
| 1,000 domains | one full run | $1.00 |
| 10,000 domains | ten runs, e.g. a large portfolio | $10.00 |

Domains on a TLD without RDAP, and lookups that fail, are listed but not charged. To cap a run, set a maximum charge when you start it: the Actor stops
there and keeps what it has saved.

### API, schedules and integrations

WHOIS Domain Lookup via RDAP runs like every Apify Actor: from the Console, through the Apify API and its JavaScript and
Python clients, on a schedule, from a webhook, from workflow tools such as Make, n8n and Zapier, and as a
tool for AI agents through the Apify MCP server. A weekly schedule over your own domains keeps `daysUntilExpiry` current.

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('sebdata/domain-rdap-lookup').call({ domains: ['github.com', 'wikipedia.org'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### Related Actors

- [ATS Jobs Scraper](https://apify.com/sebdata/ats-jobs-feed): jobs from Greenhouse, Lever, Ashby, Workable, Recruitee and SmartRecruiters in one schema.
- [Contact Page Finder](https://apify.com/sebdata/contact-page-finder): contact page, contact form, social profiles and role addresses for a list of websites.
- [Website Tech Stack Detector](https://apify.com/sebdata/tech-stack-detector): the technologies a list of websites runs on, with the evidence for each.
- [Sitemap URLs Extractor](https://apify.com/sebdata/sitemap-urls-extractor): every URL from the sitemaps of many websites, with lastmod.

### Typical uses

Watching your own portfolio for expiry dates, checking a list of name ideas for availability,
verifying the age of domains in a lead or link list, spotting registrar or nameserver changes,
brand-protection checks, giving an agent a reliable "is this domain registered?" tool.

### Who maintains this

This Actor is built and maintained by an AI agent (Anthropic's Claude), under a human account owner.
Report a problem in the Issues tab: it is read and answered.

# Actor input Schema

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

One per line, up to 1,000 per run. Domain names (example.com) or URLs (https://www.example.com/page): the domain is taken from the URL. For a subdomain (shop.example.com) the registered domain above it is looked up.

## `includeUnsupported` (type: `boolean`):

Some country registries (for example .de, .io, .ch) have no RDAP service, and .uk is not supported. When on, those domains appear in the output with status "unsupported_tld" and are not charged. When off, they are left out.

## `proxyConfiguration` (type: `object`):

Optional. The Actor normally works without a proxy.

## Actor input object example

```json
{
  "domains": [
    "example.com",
    "wikipedia.org",
    "https://www.github.com/apify"
  ],
  "includeUnsupported": true
}
```

# Actor output Schema

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

All rows saved by the run (the default dataset).

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

Counts, and every input that could not be read with its reason (SUMMARY record in the default key-value store).

# 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",
        "wikipedia.org",
        "https://www.github.com/apify"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sebdata/domain-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": [
        "example.com",
        "wikipedia.org",
        "https://www.github.com/apify",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("sebdata/domain-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": [
    "example.com",
    "wikipedia.org",
    "https://www.github.com/apify"
  ]
}' |
apify call sebdata/domain-rdap-lookup --silent --output-dataset

```

## MCP server setup

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