# WHOIS Lookup: Domain Expiry, Registrar, Availability & DNS (`techliondev/domain-whois-lookup`) Actor

Bulk WHOIS/RDAP domain lookup: registrar, creation and expiry dates, availability, owner country, name servers, plus MX, SPF and DMARC. Change alerts.

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

## Pricing

from $0.33 / 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

### 🌐 What is WHOIS Lookup?

**WHOIS Lookup** checks **any list of domains in bulk** and returns one clean row per domain: **registrar, creation date, expiry date, days until expiry, domain age, availability, status codes, name servers, DNSSEC** and the owner's organization and country when the registry publishes them. It also adds **DNS and email security records**: server addresses, mail servers with the email provider name (Google Workspace, Microsoft 365, Zoho Mail...), SPF and DMARC policy.

It is for domain investors, marketers, sales teams, IT and security teams, brand protection, and AI (artificial intelligence) agents.

It uses RDAP (Registration Data Access Protocol), the official modern replacement for WHOIS that every domain registry publishes, and falls back to classic WHOIS for country domains without RDAP. DNS answers come from public DNS resolvers. There is no browser, no login, no API key and no proxy, so it is **fast and cheap**: about 150 domains in 10 seconds.

- **Check domain name ideas in bulk** and keep only the available ones.
- **Never miss a renewal:** find domains that expire within 30, 60 or 90 days.
- **Spot new businesses:** keep only domains registered in the last N days.
- **Enrich lead lists:** paste website addresses or email addresses and learn each company's email provider, domain age and registrar.
- **Monitor changes:** get told when a domain changes registrar, expiry date, owner, name servers or mail servers.

#### What data does it extract?

| | |
| --- | --- |
| ✅ Availability (registered, available) | 🏢 Registrar, registrar IANA ID, website and abuse contacts |
| 📅 Created, updated and expiry dates | ⏳ Domain age (days and years), days until expiry, expiring-soon flag |
| 🔒 Registry status codes and DNSSEC | 🖥️ Name servers |
| 👤 Owner organization, country, state and email when published | 🕶️ Privacy-protected flag |
| 📍 A and AAAA records (server addresses) | 📧 MX records and email provider name |
| 🛡️ SPF, DMARC and DMARC policy, TXT records | 🔁 Changed fields and a plain change summary (monitoring) |

#### Why this tool?

- **WHOIS and DNS in one row.** Other tools sell WHOIS and DNS separately; here the email and DNS columns are free.
- **About a fifth of the price of popular WHOIS Actors:** $0.50 per 1,000 domains instead of $2.30–$3.00, with no extra start fee.
- **Official registry data.** RDAP answers come straight from each registry (Verisign for .com, Public Interest Registry for .org, Nominet for .uk and more), so dates and registrars are accurate.
- **Works with messy input.** Paste `https://www.example.com/page`, `sales@example.com` or `shop.example.co.uk` and the Actor checks the registered domain once.
- **Free filters and change monitoring** built in.

### ⬇️ Input

The only required field is **Domains**: one per line. Domains, website addresses and email addresses all work.

Example input:

```json
{
    "domains": [
        "example.com",
        "https://www.wikipedia.org/",
        "info@bbc.co.uk",
        "my-new-bakery-idea-2026.com"
    ],
    "includeDns": true,
    "expiringWithinDays": 90,
    "onlyChanges": false
}
```

| Setting | What it does |
| --- | --- |
| Add DNS and email security records | A/AAAA, MX with email provider, TXT, SPF and DMARC (on by default, free) |
| Ask the registrar too | For .com, .net and similar, also read the registrar's record, which sometimes adds owner organization and country (on by default, free) |
| Only available / only registered | Keep one kind only |
| Only domains expiring within (days) | Renewal reminders and expiring-domain lists |
| Only domains registered within (days) | Newly registered domains |
| Only changed domains + Tracking name | Change monitoring on a schedule |

### ⬆️ Output

You get one row per domain, with the same columns on every row. The dataset has three views: **Overview**, **Email & DNS** and **Changes**. A `RUN_SUMMARY` record lists every domain with its status (saved, filtered, unchanged or error) and any input that was not a valid domain.

#### Table view

| Domain | Status | Registrar | Expires | Days left | Age (years) | Email provider | DMARC |
| --- | --- | --- | --- | --- | --- | --- | --- |
| youtube.com | registered | MarkMonitor Inc. | 2027-02-15 | 86 | 21.80 | Google Workspace | reject |
| adobe.com | registered | Nom-iq Ltd. dba COM LAUDE | 2027-05-17 | 177 | 40 | Microsoft 365 | reject |
| dropbox.com | registered | MarkMonitor Inc. | 2027-06-27 | 218 | 31.40 | Proofpoint | reject |
| airtable.com | registered | MarkMonitor Inc. | 2027-12-10 | 385 | 22.90 | Google Workspace | reject |
| fiverr.com | registered | GoDaddy.com, LLC | 2026-12-08 | 18 | 16.90 | Google Workspace | reject |
| quora.com | registered | CSC Corporate Domains, Inc. | 2027-03-29 | 129 | 26.60 | Google Workspace | reject |
| gitlab.com | registered | Gandi SAS | 2027-01-15 | 56 | 22.80 | Google Workspace | reject |

#### JSON example

```json
{
    "domain": "wikipedia.org",
    "input": "wikipedia.org",
    "availability": "registered",
    "registered": true,
    "tld": "org",
    "registrar": "MarkMonitor Inc.",
    "registrarIanaId": "292",
    "registrarUrl": "https://www.markmonitor.com/about-us/",
    "registrarAbuseEmail": "abusecomplaints@markmonitor.com",
    "registrarAbusePhone": "+1.2083895740",
    "createdAt": "2001-01-13T00:12:14.754Z",
    "updatedAt": "2026-08-12T08:47:19.410Z",
    "expiresAt": "2027-01-13T00:12:14.000Z",
    "domainAgeDays": 9442,
    "domainAgeYears": 25.9,
    "daysUntilExpiry": 53,
    "expiringSoon": false,
    "statuses": [
        "client delete prohibited",
        "client transfer prohibited",
        "client update prohibited"
    ],
    "nameservers": [
        "ns0.wikimedia.org",
        "ns1.wikimedia.org",
        "ns2.wikimedia.org"
    ],
    "dnssec": false,
    "registrantOrganization": null,
    "registrantCountry": "US",
    "registrantState": "CA",
    "registrantEmail": null,
    "privacyProtected": true,
    "whoisSource": "rdap",
    "whoisServer": "rdap.publicinterestregistry.org",
    "aRecords": [
        "208.80.154.224"
    ],
    "aaaaRecords": [
        "2620:0:861:ed1a::1"
    ],
    "mxRecords": [
        "10 mx-in1001.wikimedia.org",
        "10 mx-in2001.wikimedia.org"
    ],
    "mailProvider": "Other",
    "spf": "v=spf1 include:_cidrs.wikimedia.org ~all",
    "hasSpf": true,
    "dmarc": "v=DMARC1; p=reject; rua=mailto:dmarc-rua@wikimedia.org;",
    "hasDmarc": true,
    "dmarcPolicy": "reject",
    "changedFields": [],
    "changeSummary": null,
    "whoisError": null,
    "checkedAt": "2026-11-20T15:33:25.787Z"
}
```

### ▶️ How to use it

1. Click **Try for free** (an Apify account is free to create).
2. Paste your domains, website addresses or email addresses into **Domains**.
3. Pick options and filters. Filters are free.
4. Click **Start**. The default run (4 domains) finishes in a few seconds.
5. Download the results from the **Output** tab as Excel, CSV (comma-separated values) or JSON (JavaScript Object Notation), or connect them to another tool.

#### Monitoring domains on a schedule

Turn on **Only changed domains**, then create a schedule (for example every day). The first run saves and remembers every domain. After that, each run saves only domains where the registrar, expiry date, owner organization, name servers, mail servers, server addresses, status or availability changed, with `changedFields` and a `changeSummary` such as `expiresAt: 2026-12-01 → 2027-12-01`. Quiet days cost nothing beyond the tiny start fee.

### 💲 How much does it cost?

This Actor uses **pay-per-event pricing**: you pay only for the domains you get, never for the computer time behind them.

| Event | Price (free plan) | When it is charged |
| --- | --- | --- |
| Actor start | $0.00005 | Once per run |
| **Domain checked** | **$0.0005** ($0.50 per 1,000 domains) | For each domain row saved, after your filters |

Paid Apify plans get lower prices automatically (for example $0.40 per 1,000 domains on the Silver plan). See the **Pricing** tab for every plan.

**Worked examples**

- **Default test run, 4 domains:** **about $0.002**.
- **1,000 domains with DNS and email records:** **$0.50**.
- **Daily monitor of 200 domains, only changes (about 5 changes a month):** 30 runs × $0.00005 + 5 × $0.0005 = **under $0.01 per month**.

Domains removed by filters, unchanged domains in monitoring mode and lookups that fail completely are never charged.

### 🎯 Use cases

- **Domain investing:** check name ideas in bulk, find expiring domains, see registrars and ages.
- **Portfolio and IT management:** a renewal list with days left, name servers, DNSSEC and email security for every company domain.
- **Sales and lead enrichment:** learn whether a prospect uses Google Workspace or Microsoft 365, how old the business is and where its domain is registered.
- **Security and brand protection:** watch look-alike domains, new registrations and changes to name servers or mail servers.
- **Email deliverability audits:** find domains with no SPF or a DMARC policy of `none`.

### 🔌 Integrations

This Actor works with everything on the Apify platform:

- **Schedules:** run it every day or every week from the Schedules page.
- **Webhooks:** get a call to your own system when a run finishes.
- **Apps:** send results to Google Sheets, Slack, Zapier, Make, Airtable and more with Apify's ready-made integrations.
- **API and code:** start runs and read results from any language (see below and the **API** tab).
- **AI agents:** the Actor is available through the Apify MCP (Model Context Protocol) server, so AI assistants can call it as a tool.

### 💻 Use it from code (API)

Replace `YOUR_APIFY_TOKEN` with the API token from the **Settings > API & Integrations** page in Apify Console.

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

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("techliondev/domain-whois-lookup").call(run_input={
    "domains": ["example.com", "wikipedia.org", "my-new-bakery-idea-2026.com"],
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["domain"], item["availability"], item["registrar"], item["expiresAt"], item["mailProvider"])
```

**JavaScript / Node.js** (install with `npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('techliondev/domain-whois-lookup').call({
    domains: ['example.com', 'wikipedia.org'],
    expiringWithinDays: 60,
});

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

**Any language (HTTP):** send a POST request with the input as JSON to the `run-sync-get-dataset-items` endpoint for `techliondev~domain-whois-lookup` and you get the rows back in the response.

### ❓ FAQ

#### What is the difference between WHOIS and RDAP?

Both tell you who registered a domain and when. WHOIS is the old text format; RDAP is the modern, structured replacement that registries now must provide. This Actor uses RDAP first and falls back to WHOIS for country domains that have no RDAP server, so you always get the same columns.

#### Why is the owner's name often empty?

Since privacy rules such as GDPR (General Data Protection Regulation), most registries hide personal owner details. The Actor fills the owner organization and country when the registry or registrar publishes them (often for companies) and sets `privacyProtected` when the details are hidden.

#### Is "available" always really available?

`available` means the registry has no record of the domain. Some registries reserve or block names that are not registered, and premium names can cost more, so confirm with a registrar before you buy.

#### Which domain endings are supported?

All endings with an official RDAP server (.com, .net, .org, .info, .xyz, .uk, .fr, .nl, .au, .ca, .br, .in, most new endings and many more), plus classic WHOIS for endings such as .de, .it, .eu, .so and .at. A few country registries (for example .ch, .es and .jp) publish little or no data to the public; those rows still get DNS and email records and explain what is missing in `whoisError`.

#### Do I need an API key or a proxy?

No. The Actor uses official public registry services and public DNS, and runs on Apify's default infrastructure.

#### Is it legal to look up WHOIS data?

Yes. Registries publish registration data so that anyone can check who operates a domain. The Actor only reads public data, and it does not register, transfer or change domains. You are still responsible for how you use the data, so check the rules that apply to you.

#### Your feedback

Found a bug or want a feature? Please open an issue on the **Issues** tab. We aim to reply within a few days.

# Actor input Schema

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

Domains (example.com), website addresses (https://www.example.com/page) or email addresses (name@example.com). Each is reduced to its registered domain, and duplicates are checked once.

## `includeDns` (type: `boolean`):

Adds A/AAAA (server addresses), MX (mail servers) with the email provider name (Google Workspace, Microsoft 365...), TXT, SPF and DMARC policy. Free.

## `followRegistrar` (type: `boolean`):

For .com, .net and similar domains, also read the registrar's own record, which sometimes adds the owner's organization and country. Free; slightly slower.

## `onlyAvailable` (type: `boolean`):

Keep only domains nobody has registered. Handy for checking name ideas in bulk.

## `onlyRegistered` (type: `boolean`):

Skip domains that are available.

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

Keep only domains whose registration ends within this many days (already expired ones are included). Useful for domain investors and renewal reminders.

## `registeredWithinDays` (type: `integer`):

Keep only domains first registered in the last N days (new businesses and new projects).

## `onlyChanges` (type: `boolean`):

Remembers each domain and, after the first run, saves only domains where something changed, with a plain list of what changed. The first run saves everything and remembers it.

## `stateName` (type: `string`):

Use a different name for each separate watch list. Leave empty to use a name based on your domain list.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "wikipedia.org",
    "bbc.co.uk",
    "my-new-bakery-idea-2026.com"
  ],
  "includeDns": true,
  "followRegistrar": true,
  "onlyAvailable": false,
  "onlyRegistered": false,
  "onlyChanges": false
}
```

# Actor output Schema

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

Dataset with one row per domain

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

Domains checked, saved, filtered and failed

# 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",
        "bbc.co.uk",
        "my-new-bakery-idea-2026.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("techliondev/domain-whois-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",
        "bbc.co.uk",
        "my-new-bakery-idea-2026.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("techliondev/domain-whois-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",
    "bbc.co.uk",
    "my-new-bakery-idea-2026.com"
  ]
}' |
apify call techliondev/domain-whois-lookup --silent --output-dataset

```

## MCP server setup

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