# WHOIS Domain Lookup - Bulk Registrar, Expiry Date & Age (`actor-forge/whois-domain-lookup`) Actor

Bulk WHOIS lookup via RDAP (port-43 WHOIS fallback for ccTLDs like .jp, .ru, .kr): registrar, creation, update and expiry dates, domain age, days to expiry, status codes, nameservers, DNSSEC and availability. Domains, URLs or emails in. No contact data. $0.80 per 1,000 domains.

- **URL**: https://apify.com/actor-forge/whois-domain-lookup.md
- **Developed by:** [ActorForge](https://apify.com/actor-forge) (community)
- **Categories:** Developer tools, SEO tools, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 domain results

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

## WHOIS Domain Lookup - Bulk Registrar, Expiry Date & Age

Bulk WHOIS lookup via RDAP (port-43 WHOIS fallback for ccTLDs like .jp, .ru, .kr): registrar, creation, update and expiry dates, domain age, days to expiry, status codes, nameservers, DNSSEC and availability. Domains, URLs or emails in. No contact data. $0.80 per 1,000 domains.

**Look up WHOIS registration data for thousands of domains at once.** Paste domains, website URLs or email addresses and get one clean row per registrable domain: **registrar (with IANA ID), creation date, last update, expiry date, domain age in days, days until expiry, EPP status codes (clientTransferProhibited, redemptionPeriod…), nameservers, DNSSEC and whether the domain is registered at all**. Data comes from the registries' official **RDAP** services (the modern, structured replacement for WHOIS) found through IANA's bootstrap file, and for country domains without RDAP (**.jp, .ru, .kr, .es, .cn** and others) from the registry's own **port-43 WHOIS** server, paced one query at a time so the registries' rate limits are respected. Use it to **track domain expiry dates across a portfolio, spot newly registered or about-to-expire domains, check domain age for lead scoring and fraud signals, audit which registrar holds each brand domain, and verify availability** before buying. Every row is GDPR-safe: registrant, admin and tech contact details are never returned. Need DNS records, SPF/DMARC and SSL expiry as well? Use [Domain WHOIS & DNS Lookup](https://apify.com/actor-forge/domain-lookup). **$0.80 per 1,000 domains**; invalid inputs and failed lookups are free.

### What data does it return?

Every run outputs clean, schema-validated rows like these:

| domain | registered | registrar | createdAt | expiresAt | domainAgeDays | dnssec |
| --- | --- | --- | --- | --- | --- | --- |
| example.com | true | RESERVED-Internet Assigned Numbers Authority | 1995-08-14 | 2027-08-13 | 11387 | true |
| bbc.co.uk | true | British Broadcasting Corporation | 1994-12-13 | 2034-12-13 | 11632 | false |
| google.dev | true | MarkMonitor Inc. | 2018-06-13 | 2027-06-13 | 3048 | false |
| zq8x7k2m9vplw4unregistered.com | false |  |  |  |  |  |
| yandex.ru | true | RU-CENTER-RU | 1997-09-23 | 2027-09-30 | 10622 |  |

### How much does it cost?

Transparent pay-per-event pricing — you only pay for what you get, and the
actor **always respects your run budget**: set a maximum total charge and it
stops cleanly at the cap instead of overrunning.

| Event | Price | Charged | Worked example |
| --- | --- | --- | --- |
| `domain-result` | $0.0008 | per domain looked up and delivered (registration data and availability) | 1,000 domains = $0.80 |
| `apify-actor-start` | $0.00005 | per run per GB of memory (platform start fee) | One run at up to 1 GB = $0.00005 (charged as one event) |

### Input options

| Field | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `domains` | array | yes | — | Domains to look up: bare domains, URLs or email addresses (each is reduced to its registrable domain, e.g. https://www.shop.example.co.uk/x → example.co.uk). Duplicates are removed. Up to 10,000 per run. |
| `checkAvailability` | boolean | no | `true` | Set registered = true/false: the registry has no record of the domain or it does not exist in DNS (NXDOMAIN) ⇒ likely available to register. |
| `whoisFallback` | boolean | no | `true` | For TLDs that have no public RDAP service (.jp, .ru, .es, .kr, .cn…), ask the registry's own port-43 WHOIS server (named by IANA). Queries are paced one at a time per server. Contact details are never returned. |

### Limits & honest notes

- Privacy (GDPR): registrant, admin, tech, billing and abuse contact details (names, emails, phones, addresses, organisations) are never returned, even where the registry publishes them. Only the registrar's name and IANA ID are included.
- Registration data comes from RDAP first (IANA bootstrap: all gTLDs such as .com, .net, .org, .dev, .app and many ccTLDs such as .uk, .io, .de, .fr, .nl, .ch, .br, .au, .ca, .pl, .us). For TLDs without a public RDAP service (e.g. .jp, .ru, .kr, .es, .cn) the registry's port-43 WHOIS server named by IANA is asked instead (whoisFallback, on by default), one query at a time per server; some registries limit or block automated WHOIS queries, and those domains then return availability only, with a warning. Some registries publish less: .de has no creation or expiry date and no registrar.
- `registered: false` means the registry has no record (RDAP 404) or the domain does not exist in DNS (NXDOMAIN). It is a strong hint, not a guarantee: premium, reserved or recently deleted names may still be unavailable to register.
- This listing returns registration data only. DNS records, SPF/DMARC and SSL certificates are in Domain WHOIS & DNS Lookup.
- RDAP servers are queried at most 2 at a time each and WHOIS servers one at a time with a pause between queries; rate-limit answers are retried with backoff or stop further queries to that server, so very large runs on one ccTLD take longer. Up to 10,000 domains per run.
- Respects your run budget: set a maximum total charge and the run stops cleanly at the cap, with every delivered row charged exactly once.

### Related ActorForge actors

- [Domain WHOIS & DNS Lookup](https://apify.com/actor-forge/domain-lookup) — adds DNS records, SPF/DMARC and SSL expiry
- [Domain Enrichment](https://apify.com/actor-forge/domain-enrichment) — tech stack, logo and socials per domain

### Changelog

- **2026-10-23** — Initial release: bulk WHOIS via RDAP with port-43 WHOIS fallback for TLDs without RDAP; registrar, dates, age, status codes, nameservers, DNSSEC and availability.

***

*Built and maintained by **ActorForge**. Reliability first: every actor in the
portfolio is monitored by an automated nightly self-test, and breakages are
typically fixed the same day.*

# Actor input Schema

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

Domains to look up: bare domains, URLs or email addresses (each is reduced to its registrable domain, e.g. https://www.shop.example.co.uk/x → example.co.uk). Duplicates are removed. Up to 10,000 per run.

## `checkAvailability` (type: `boolean`):

Set registered = true/false: the registry has no record of the domain or it does not exist in DNS (NXDOMAIN) ⇒ likely available to register.

## `whoisFallback` (type: `boolean`):

For TLDs that have no public RDAP service (.jp, .ru, .es, .kr, .cn…), ask the registry's own port-43 WHOIS server (named by IANA). Queries are paced one at a time per server. Contact details are never returned.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "example.org"
  ],
  "checkAvailability": true,
  "whoisFallback": true
}
```

# Actor output Schema

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

One row per domain with registrar, dates, domain age, status codes, nameservers, DNSSEC and availability.

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

Domains delivered, invalid inputs and failed lookups (none of them charged).

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

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

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

```

## MCP server setup

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