# Domain WHOIS Lookup: expiry, registrar, age ($0.5/1K) (`tamnt67/domain-whois-rdap-scraper`) Actor

Domain WHOIS lookup over RDAP: registered flag, registrar, creation, expiry and update dates, days until expiry, domain age, status and nameservers. Takes a list of domain names. Use it to check domain expiry dates and domain availability in bulk.

- **URL**: https://apify.com/tamnt67/domain-whois-rdap-scraper.md
- **Developed by:** [Tam Ng.](https://apify.com/tamnt67) (community)
- **Categories:** SEO tools, Developer tools, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 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.
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

## Domain WHOIS Lookup: expiry, registrar, age

Look up registration data for a list of domains over RDAP, with no login and no API key, for $0.50 per 1,000 domains on the Free plan, down to $0.35 on higher plans.

For each domain the Actor returns whether it is registered, the registrar, creation, expiry and last-update dates, days until expiry, domain age, status codes, nameservers and DNSSEC. It uses RDAP, the official successor of WHOIS: it reads the IANA list of RDAP servers and asks each registry's own public server, so the answers come straight from the source in clean JSON instead of free-text WHOIS.

### What you can do with it

- **Check domain availability in bulk.** Paste a list of name ideas and see which ones return `isRegistered: false`.
- **Watch expiry dates.** Track `expiresAt` and `daysUntilExpiry` for your own portfolio or for domains you want to catch when they lapse.
- **Score leads by domain age.** Use `domainAgeDays` to tell established companies from brand-new sites.
- **Spot newly registered or suspicious domains.** Combine a recent `createdAt` with `status` codes and the registrar for fraud and brand-protection checks.
- **Audit DNS setup.** See which nameservers a domain delegates to and whether DNSSEC is signed.
- **Find who to report abuse to.** Get the registrar's public abuse e-mail and phone for each domain.

### Output fields

Each domain is one record in the dataset. Example values below come from a real run.

| Field | Example |
|-------|---------|
| `domain` | apify.com (the registered domain that was looked up) |
| `input` | https://blog.apify.com/ (your entry exactly as you typed it) |
| `isRegistered` | true (false means the registry has no record, so the domain is probably available) |
| `registrar` / `registrarIanaId` | Amazon Registrar, Inc. / 468 |
| `registrarUrl` | http://registrar.amazon.com |
| `registrarAbuseEmail` / `registrarAbusePhone` | trustandsafety@support.aws.com / +1.2024422253 |
| `createdAt` / `expiresAt` / `updatedAt` | 2009-06-02T17:14:10.000Z / 2035-06-02T17:14:10.000Z / 2026-05-16T16:53:04.000Z |
| `daysUntilExpiry` / `domainAgeDays` | 3125 / 6370 |
| `status` | \["client transfer prohibited"] |
| `nameservers` | \["ns-1225.awsdns-25.org", "ns-1928.awsdns-49.co.uk", ...] |
| `dnssecSigned` | true |
| `rdapUrl` | https://rdap.verisign.com/com/v1/domain/apify.com |
| `scrapedAt` | 2026-11-11T05:17:30.236Z |
| `availability` | registered (or available) |
| `method` | rdap (or whois / dns when the fallback answered) |
| `tld` | com (co.uk for bbc.co.uk) |

For a domain that is not registered, every registration field is null and `status` and `nameservers` are empty lists.

Download results as JSON, CSV, Excel or XML, or read them through the Apify API.

### Example output

One real record from a run:

```json
{
  "domain": "google.com",
  "input": "google.com",
  "isRegistered": true,
  "registrar": "MarkMonitor Inc.",
  "registrarIanaId": "292",
  "registrarUrl": "http://www.markmonitor.com",
  "registrarAbuseEmail": "abusecomplaints@markmonitor.com",
  "registrarAbusePhone": "+1.2086851750",
  "createdAt": "1997-09-15T04:00:00.000Z",
  "expiresAt": "2028-09-14T04:00:00.000Z",
  "updatedAt": "2019-09-09T15:39:04.000Z",
  "daysUntilExpiry": 672,
  "domainAgeDays": 10649,
  "status": [
    "client delete prohibited",
    "client transfer prohibited",
    "client update prohibited",
    "server delete prohibited",
    "server transfer prohibited",
    "server update prohibited"
  ],
  "nameservers": ["ns1.google.com", "ns2.google.com", "ns3.google.com", "ns4.google.com"],
  "dnssecSigned": false,
  "rdapUrl": "https://rdap.verisign.com/com/v1/domain/google.com",
  "scrapedAt": "2026-11-11T05:17:30.241Z"
}
```

### How to use

1. Paste **Domains**, one per line. Addresses such as `https://www.example.com/page` and subdomains such as `blog.example.com` are reduced to the registered domain (`example.com`, or `bbc.co.uk` for `news.bbc.co.uk`) using the Public Suffix List. Your original entry is kept in the `input` field.
2. Optional:
   - **Names to check across TLDs** plus **TLDs to try** checks one name on many endings (`mybrand` → `mybrand.com`, `mybrand.io`, ...). Without TLDs it tries com, net, org, io, ai, co, app and dev.
   - **WHOIS / DNS fallback** also covers TLDs without RDAP, such as .io, .de or .so: the registry WHOIS server is asked, and if it gives no answer, DNS decides. Off by default, so those domains are skipped as before.
   - **Only domains expiring within N days** saves only domains that expire soon, for example 30. Others are not charged.
   - **Max domains** and **Parallel lookups** cap the list size and set the speed.
3. Click **Start**. Records appear in the dataset as each registry answers. Export them or read them through the API.

#### Example input

```json
{
  "domains": ["apify.com", "wikipedia.org", "this-domain-is-probably-free-12345.com"]
}
```

### Pricing and cost examples

You pay per domain saved to the dataset ("Domain" event). Platform usage is included in the per-domain price.

| Apify plan | Price per 1,000 domains |
|------------|-------------------------|
| Free (default price) | $0.50 |
| Bronze | $0.45 |
| Silver | $0.40 |
| Gold, Platinum, Diamond | $0.35 |

Cost examples on the Free plan:

- 100 domains ≈ $0.05
- 1,000 domains ≈ $0.50
- 10,000 domains ≈ $5.00 (≈ $3.50 on Gold and higher plans)

The Apify Free plan includes $5 of platform credit every month. If you spend it only on this Actor, that covers about 10,000 domains per month.

A domain is charged when its record is pushed to the dataset. That includes domains the registry does not know (`isRegistered: false`), because that answer is a real result. Nothing is charged for entries that are not valid domain names, for duplicates in your list (each registered domain is looked up once, so `example.com` and `blog.example.com` give one record), for domains under a top-level domain without a public RDAP server, for domains where the registry answers with an error other than "not found", or for lookups that still fail after 4 attempts. To set a hard cap, enter a maximum total charge per run in the run options. The Actor stops as soon as that limit is reached.

### Use it via API, on a schedule, or from an AI agent

**JavaScript** (`npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('tamnt67/domain-whois-rdap-scraper').call({
    domains: ['apify.com', 'wikipedia.org'],
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("tamnt67/domain-whois-rdap-scraper").call(run_input={
    "domains": ["apify.com", "wikipedia.org"],
})

items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)
```

**cURL** (runs the Actor and returns the records in one call):

```bash
curl -X POST "https://api.apify.com/v2/acts/tamnt67~domain-whois-rdap-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domains": ["apify.com", "wikipedia.org"]}'
```

The sync endpoint waits for the run to finish, so use it for small lists and the client libraries for large ones.

**Schedules:** create an Apify Schedule for this Actor or a saved task to check the same domains weekly, then connect it to Google Sheets or a webhook to get warned before a domain expires.

**AI agents:** the Apify MCP server at https://mcp.apify.com lets AI assistants such as Claude or Cursor run this Actor and read its results.

### FAQ

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

Domain WHOIS Lookup costs $0.50 per 1,000 domains on the Free plan and $0.45, $0.40 or $0.35 per 1,000 on higher Apify plans. 100 domains cost about $0.05 on the Free plan. The Free plan's $5 monthly credit covers about 10,000 domains.

#### How many domains can I check in one run?

Domain WHOIS Lookup has no fixed list size. It looks up 4 domains at a time by default (set **Parallel lookups** for more or fewer) with a short pause between requests, because registries limit how fast they answer. Very large lists take a while, and the Actor waits and retries on its own.

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

Yes. Domain WHOIS Lookup works with Apify Schedules for daily or weekly checks, and with the Apify API through the JavaScript and Python clients or a single cURL call. See the API section above for working examples.

#### How fresh is the data?

Domain WHOIS Lookup asks the registry's RDAP server live at the time of each run. Nothing is cached. `daysUntilExpiry` and `domainAgeDays` are calculated at that moment, and every record has a `scrapedAt` timestamp.

#### Does it return the domain owner's name, e-mail or phone?

No. Domain WHOIS Lookup returns registry and registrar data only. The e-mail and phone in the output are the registrar's public abuse contact, not the domain owner's. Owner contact details are not collected.

#### Does `isRegistered: false` mean I can buy the domain?

Not always. Domain WHOIS Lookup reports `isRegistered: false` when the registry returns no record. Reserved or premium names can look the same, so confirm with a registrar before buying.

### Limitations

- Not every top-level domain has a public RDAP server. Most generic ones do (.com, .net, .org, .ai, .app, .dev and many more), and so do a number of country domains such as .uk. Domains under a top-level domain without RDAP, such as .io or .de, are skipped with a warning and are not charged, unless **WHOIS / DNS fallback** is on.
- With the fallback, WHOIS text is read with common field names. Some registries publish fewer fields (DENIC for .de shows only the status `connect` and nameservers, no dates or registrar), and dates in unusual formats come back as null. `dnssecSigned` and `rdapUrl` are always null for these records.
- When WHOIS gives no answer either (no server, timeout or rate limit), `method` is `dns`: a domain with nameservers counts as registered and one that does not exist in DNS counts as available. This is a good guess, not proof: a registered domain without nameservers looks available.
- Domains that fail on every source are logged and not saved, so they are not charged. The Actor does not save error rows.
- Traffic data (Similarweb), IP geolocation and subdomain discovery are not included. DNS records, mail provider, SPF and DMARC are in the separate DNS Records Lookup Actor.
- The Actor returns registry and registrar data only. It does not return the name, address, e-mail or phone of the domain owner.
- `isRegistered: false` means the registry returned no record. Reserved or premium names can also look like this, so confirm with a registrar before buying.
- Subdomains are reduced to the registered domain, so you cannot look up a subdomain on its own. If several entries share one registered domain, you get one record and `input` shows the first of those entries.
- Entries that are a public suffix only (such as `co.uk`) or an IP address are skipped with a warning.
- Registries limit how fast they answer. Very large lists take a while; the Actor waits and retries on its own.
- Some registries leave fields out, so `registrar`, the abuse contact, dates or `dnssecSigned` can be null for some domains.
- If the IANA list of RDAP servers cannot be loaded at the start, the run fails and nothing is charged.

### Changelog

- 1.0 update (2026-11-23): check one name across many TLDs (`names` + `tlds`), optional WHOIS / DNS fallback for TLDs without RDAP such as .io, .de and .so, a filter for domains expiring within N days, max domains and parallel lookups; every record now also has `availability`, `method` and `tld`. Existing fields and defaults are unchanged.
- 1.0 update (2026-11-19): an API call that leaves out `domains` no longer gets the example value added; the example is used only when the run has no input source at all.
- 1.0 (2026-11-19): subdomains such as `blog.example.com` are now reduced to the registered domain before the lookup instead of coming back as not registered; new `input` field keeps your original entry.

### Integrations

Works with every Apify integration: API, webhooks, Zapier, Make, Google Sheets, Slack, n8n, LangChain and the Apify MCP server.

### Support

Found a problem or missing field? Report it in the Issues tab of this Actor.

# Actor input Schema

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

Domains to look up, one per line, for example apify.com. Full addresses and subdomains (blog.example.com) are reduced to the registered domain.

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

Optional. Name ideas without the ending, for example mybrand. Each is checked with every TLD in TLDs to try (mybrand.com, mybrand.io, ...). Added to Domains.

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

Endings used with Names, for example com, io, ai. Leave empty for com, net, org, io, ai, co, app, dev. TLDs without RDAP (such as .io or .de) need the WHOIS / DNS fallback.

## `fallbackLookup` (type: `boolean`):

Off: domains whose TLD has no public RDAP server (such as .io, .de, .so) are skipped and not charged. On: they are looked up on the registry WHOIS server instead, and if that gives no answer, from DNS. The method field shows which source answered.

## `expiringWithinDays` (type: `integer`):

Optional. Save only registered domains with daysUntilExpiry at or below this number, for example 30. Others are left out and not charged. Leave empty to save all.

## `maxDomains` (type: `integer`):

Check at most this many domains from the list (after removing duplicates). 0 = no limit.

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

How many domains are looked up at the same time. Registries limit request rates, so higher values may cause retries.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "wikipedia.org",
    "claude.ai"
  ],
  "fallbackLookup": false,
  "maxDomains": 0,
  "maxConcurrency": 4
}
```

# Actor output Schema

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

Dataset with one record per result.

## `domainsCsv` (type: `string`):

The same dataset exported as CSV.

# 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",
        "claude.ai"
    ]
};

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

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

```

## MCP server setup

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

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/Qw6uq6mesJ0KmmPMf/builds/MRw049zleAQBZqUbJ/openapi.json
