# WHOIS Lookup (RDAP), Bulk Domain Age & Registrar (`zingy_trunk/rdap-domain-lookup`) Actor

Bulk WHOIS lookup from the official registry RDAP servers: registrar, creation date (domain age), expiry date, days until expiry, status, nameservers and availability for thousands of domains. No API key needed. $1.80 per 1,000 domains.

- **URL**: https://apify.com/zingy_trunk/rdap-domain-lookup.md
- **Developed by:** [Domain Signal Labs](https://apify.com/zingy_trunk) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## WHOIS Lookup (RDAP), Bulk Domain Age & Registrar

**Bulk WHOIS lookup for thousands of domains at once.** Paste a list of domains and get, for each one: **the registrar, the creation date (so you know the domain's age), the expiry date and days until expiry, status codes, nameservers, DNSSEC, and whether the domain is available**. Data comes straight from each registry's official **RDAP** server, the standardised, machine-readable replacement for WHOIS. No API key, no scraping, no third-party reseller in the middle.

**$1.80 per 1,000 domains**, one row per domain.

### What you can use it for

- **Brand and product naming**: check 500 candidate names across .com, .net, .ai, .app in one run.
- **Expiring-domain watchlists**: sort a portfolio by `daysUntilExpiry` and catch renewals before they lapse.
- **Lead and market research**: find a company's registrar, domain age and hosting (nameservers).
- **Portfolio audits**: confirm status flags such as `client transfer prohibited` and whether DNSSEC is on.
- **AI agents and automations**: a single, cheap, predictable call per domain, with a clean JSON result.

### How it works

1. Loads IANA's official RDAP bootstrap registry (RFC 9224) to find the authoritative RDAP server for each TLD.
2. Queries that registry for each domain, sequentially and politely (configurable minimum delay per registry, automatic retry with back-off on rate limits and server errors, `Retry-After` honoured).
3. `404 Not Found` from the registry means the domain is **not registered** (`available: true`).
4. A few country-code TLDs (for example `.io`, `.de`) do not run RDAP. For those, the Actor checks DNS nameserver records instead (`method: "dns"`), so you still get registered / probably-available.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `domains` | list of strings | required | Domains or URLs. `https://www.example.com/page` becomes `example.com`. Up to 10,000 per run, duplicates removed. |
| `dnsFallback` | boolean | `true` | For TLDs without RDAP, check DNS nameservers instead. |
| `includeRawRdap` | boolean | `false` | Attach the full registry RDAP JSON under `raw`. |
| `requestIntervalMs` | integer | `400` | Minimum delay between two requests to the same registry. |

```json
{
    "domains": ["example.com", "mybrand.ai", "https://www.wikipedia.org/", "python.de"]
}
```

### Output

One row per domain. Real output from a test run:

```json
{
    "domain": "wikipedia.org",
    "tld": "org",
    "registered": true,
    "available": false,
    "method": "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.41Z",
    "expiresAt": "2027-01-13T00:12:14Z",
    "daysUntilExpiry": 60,
    "nameservers": ["ns0.wikimedia.org", "ns1.wikimedia.org", "ns2.wikimedia.org"],
    "dnssec": false,
    "rdapServer": "https://rdap.publicinterestregistry.org/rdap/",
    "error": null,
    "checkedAt": "2026-11-13T20:14:32.925Z"
}
```

An unregistered domain returns `"registered": false, "available": true`. See `sample-output.json` in the source for a full run. Download results as JSON, CSV, Excel or via the API.

### Pricing

Pay per event, no subscription:

- **$0.0018 per domain checked** ($1.80 per 1,000), cheaper on higher Apify plans.
- Apify's standard tiny start fee applies once per run.
- Invalid entries are reported but still count as a checked row. Set **Maximum cost per run** and the Actor stops cleanly when it is reached; you only pay for rows saved.

### Data source, licence and terms

- **IANA RDAP bootstrap registry** (`data.iana.org/rdap/dns.json`): public registry data published by IANA for exactly this purpose.
- **Registry RDAP servers** (for example Verisign for .com, PIR for .org): public RDAP endpoints defined by RFC 7480-7484/9082/9083, which registries operating under ICANN contracts are required to provide.
- The Actor returns **registration metadata only** (registrar, dates, status, nameservers). It does not collect registrant personal data; registries redact it anyway.
- Requests identify themselves with a generic user agent and are rate-limited per registry. Do not use the results for spam or to harass registrants.

### Limits and accuracy

- "Available" means the registry has no record. Premium, reserved or blocked names can still be unpurchasable; always confirm at a registrar before buying.
- DNS-fallback results (`method: "dns"`) are an estimate: a registered domain with no nameservers looks available.
- Some registries rate-limit heavily. Large runs are slowed down automatically rather than failing; very large lists across one TLD take roughly 0.5 seconds per domain.
- No availability pricing (what a registrar would charge) is included.

### Use with

Other Actors from the same developer that chain with this one (paste this run's dataset ID or domains into them):

| Actor | How they fit |
|---|---|
| [Website Email Scraper & Contact Finder](https://apify.com/zingy_trunk/website-contact-company-enrichment) | For registered domains with a website, get e-mails, phones, socials and the tech stack in one row. |
| [Email List Cleaner](https://apify.com/zingy_trunk/email-list-validator) | Check whether addresses on those domains can receive mail (MX, null MX, disposable, typos). |
| [Website Tech Stack Detector](https://apify.com/zingy_trunk/website-tech-stack) | See what a registered domain's website runs on. |
| [Sitemap URL Extractor](https://apify.com/zingy_trunk/sitemap-url-extractor) | List every page of the site behind a domain. |
| [Is This Company Hiring? Job Openings by Domain](https://apify.com/zingy_trunk/hiring-signals-jobs-by-domain) | Check whether the company behind a domain is hiring. |
| [RSS Feed Reader & Monitor](https://apify.com/zingy_trunk/rss-feed-monitor) | Watch the site's blog or news feed. |

### FAQ

**Is RDAP the same as WHOIS?** RDAP is the IETF standard that replaced port-43 WHOIS for gTLDs in 2025. It returns structured JSON instead of free text, so results are consistent across registries.

**Can I run it on a schedule?** Yes. Schedule it daily with your watchlist and filter for `daysUntilExpiry < 30`, or for domains whose `available` flips to `true`.

**Found a problem?** Open an issue on the Issues tab; it is answered and fixed promptly.

# Actor input Schema

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

Domain names to check, one per line. URLs are accepted and reduced to their domain (https://www.example.com/page becomes example.com). Internationalised names are converted to punycode. Up to 10,000 per run; duplicates are removed.

## `dnsFallback` (type: `boolean`):

Some country-code TLDs (for example .io, .de) do not publish RDAP. When on, those domains are checked by looking for nameserver (NS) records instead: registered if NS records exist, probably available if not.

## `includeRawRdap` (type: `boolean`):

Adds the full registry RDAP JSON to each result under "raw". Useful for auditing; makes results larger.

## `requestIntervalMs` (type: `integer`):

Minimum time between two requests to the same registry RDAP server. Keeps the Actor polite and avoids rate limits. Different registries are not slowed by each other.

## Actor input object example

```json
{
  "domains": [
    "example.com",
    "apify.com",
    "this-name-is-probably-free-7319.com"
  ],
  "dnsFallback": true,
  "includeRawRdap": false,
  "requestIntervalMs": 400
}
```

# Actor output Schema

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

One row per domain: availability, registrar, dates, status and nameservers.

# 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",
        "apify.com",
        "this-name-is-probably-free-7319.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zingy_trunk/rdap-domain-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",
        "apify.com",
        "this-name-is-probably-free-7319.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("zingy_trunk/rdap-domain-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",
    "apify.com",
    "this-name-is-probably-free-7319.com"
  ]
}' |
apify call zingy_trunk/rdap-domain-lookup --silent --output-dataset

```

## MCP server setup

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