# WHOIS Lookup - Bulk Domain WHOIS & RDAP Data (`cuestadata/whois-lookup`) Actor

Bulk WHOIS lookup for any list of domains: registrar, creation, update and expiry dates, domain age, days until expiry, status codes, nameservers and DNSSEC from official registry RDAP, with WHOIS fallback. Flags unregistered domains too. Pay per domain.

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

## Pricing

from $1.20 / 1,000 domain looked ups

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 does WHOIS Lookup do?

**WHOIS Lookup** returns the registration record for any list of domains: **registrar, creation date, last update, expiry date, domain age, days until expiry, status codes, nameservers and DNSSEC**. Look up one domain or thousands in one run and get clean JSON, CSV or Excel back.

It goes to the official source. For TLDs that run **RDAP** (the registries' structured, modern replacement for WHOIS, which covers .com, .net, .org, .io and more than a thousand others) it uses RDAP. For TLDs without RDAP, such as .co and .so, it asks the registry's own **WHOIS server** and parses the answer into the same fields. Every domain comes back in one consistent format, whatever its TLD.

Domains with no registration record are flagged as `available`, so the same run also tells you which names are free.

### Why use this WHOIS lookup tool?

- **Bulk lookups.** Paste a long list and let it run. Domains are checked in parallel with polite per-registry limits.
- **One clean format for every TLD.** ISO dates, plus ready-made `domainAgeDays` and `daysUntilExpiry`, so you don't have to parse raw WHOIS text yourself.
- **Registry data, live.** Each lookup is made at run time against the registry, not a stale database.
- **No personal data.** Registrant names, emails and phone numbers are not returned. You get registrar and technical data only, which is what most workflows need anyway (and most registries redact owner details under GDPR).
- **Messy input is fine.** Full URLs, `www.` prefixes, upper case and internationalized domains are cleaned up automatically.
- **Fair pricing.** Invalid inputs, failed lookups and rows without registry data are never charged.

### What can I use it for?

- **Expiry monitoring:** check your own or your clients' domain portfolio weekly and catch anything expiring in the next 30 or 90 days.
- **Brand protection and security:** see when and through which registrar look-alike domains were registered, and flag freshly registered domains (`domainAgeDays` under 30) during phishing triage.
- **Domain investing and due diligence:** confirm age, registrar and status before buying a domain or a link.
- **Lead enrichment:** add domain age and registrar to company records in your CRM as a simple trust and maturity signal.
- **IT and DNS audits:** list nameservers and DNSSEC status across hundreds of domains in one table.

### How to look up WHOIS for many domains

1. Click **Try for free** / **Start**.
2. Paste your domains into **Domains**, one per line. Links like `https://www.example.com/page` are fine.
3. Click **Start**. Results appear in the **Output** tab and can be downloaded as JSON, CSV, Excel or HTML.

### Input example

```json
{
    "domains": ["apify.com", "github.io", "example.org"]
}
```

### Output example

Real output for `apify.com` (looked up through RDAP):

```json
{
    "domain": "apify.com",
    "tld": "com",
    "status": "registered",
    "available": false,
    "checkedVia": "rdap",
    "registrar": "Amazon Registrar, Inc.",
    "registrarIanaId": "468",
    "createdAt": "2009-06-02T17:14:10Z",
    "updatedAt": "2026-05-16T16:53:04Z",
    "expiresAt": "2035-06-02T17:14:10Z",
    "daysUntilExpiry": 3117,
    "domainAgeDays": 6379,
    "statusCodes": ["client transfer prohibited"],
    "nameservers": ["ns-1225.awsdns-25.org", "ns-1928.awsdns-49.co.uk", "ns-449.awsdns-56.com", "ns-839.awsdns-40.net"],
    "dnssec": true,
    "note": null,
    "error": null,
    "checkedAt": "2026-11-19T13:16:23Z"
}
```

A .co domain comes back in the same shape, with `"checkedVia": "whois"`. An unregistered domain looks like this:

```json
{ "domain": "cuestadata-zz9.io", "status": "available", "available": true, "checkedVia": "rdap", "registrar": null, "note": "Not registered. Registry-reserved or premium names can still be blocked or priced higher at registrars." }
```

| Field | Meaning |
|---|---|
| `status` | `registered`, `available`, `unknown` (could not be determined) or `invalid` |
| `checkedVia` | Where the answer came from: `rdap`, `whois` or `dns` |
| `registrar`, `registrarIanaId` | Sponsoring registrar and its IANA ID |
| `createdAt`, `updatedAt`, `expiresAt` | Registration dates as published by the registry |
| `domainAgeDays`, `daysUntilExpiry` | Computed from the dates above at lookup time |
| `statusCodes` | EPP status codes, e.g. `client transfer prohibited` |
| `nameservers`, `dnssec` | Delegation details |
| `note`, `error` | Plain-English explanation when something needs attention |

### How much does it cost?

This Actor uses **pay-per-event** pricing: about **$1.50 per 1,000 domains** on the Free plan, and less on paid Apify plans (see the Pricing tab). So checking 200 domains costs about $0.30.

Not charged: invalid inputs, domains that could not be determined, and registered domains for which the registry publishes no details.

### Limits and good to know

- **WHOIS-only TLDs are rate-limited on purpose.** Registries that only offer WHOIS (such as .co and .so) restrict automated volume, so each run sends at most 250 queries per registry WHOIS server, about one per second. Extra domains for that registry come back with a note and are not charged; run them in a second run. RDAP TLDs such as .com, .net and .org have no such cap.
- **Some country registries publish no details.** For example, the .de registry shares no registration data through WHOIS. Those domains come back as `registered` (confirmed by DNS) with a note, free of charge.
- **"Available" means no registry record.** Reserved or premium names can still be blocked or priced higher at registrars, so confirm before you promise a name to anyone.

### Integrations and API

Use it from the [Apify API](https://docs.apify.com/api/v2), the JavaScript or Python client, Make, Zapier, n8n, Google Sheets or any AI agent that supports MCP. Save your domain list as a task and schedule it weekly for automatic expiry monitoring, with a webhook or email when the run finishes.

### Use with AI agents (MCP)

Connect this tool to Claude, ChatGPT, Cursor or any other MCP client through the [Apify MCP server](https://docs.apify.com/mcp). Add this server URL to your client and sign in with your Apify account:

```json
{
  "mcpServers": {
    "apify": { "url": "https://mcp.apify.com/?tools=actors,docs,cuestadata/whois-lookup" }
  }
}
```

Then ask in plain words, for example: *"Look up the registrar and expiry date for these 40 domains and list the ones expiring within 90 days."* The agent fills in the input, runs WHOIS Lookup and reads the results.

AI agents without an Apify account can pay per run with a prepaid token (x402, Skyfire or card) through [Apify agentic payments](https://docs.apify.com/agents/payments). This tool uses limited permissions, so it works with those tokens.

### More tools from Cuesta Data

| Tool | What it does |
|---|---|
| [Website Screenshot & PDF](https://apify.com/cuestadata/website-screenshot-pdf) | Full-page, mobile and element screenshots or PDFs of any list of URLs, with change detection. |
| [PDF & Image to Text (OCR)](https://apify.com/cuestadata/pdf-image-text-extractor) | Text from digital and scanned PDFs and images, page by page, with OCR in 7 languages. |
| [Company Jobs API](https://apify.com/cuestadata/company-jobs-feed) | Every open job from company career pages on Greenhouse, Lever, Ashby, Workable and more. |
| [SEO Site Audit](https://apify.com/cuestadata/seo-site-audit) | Crawl a site and check titles, meta tags, headings, broken links, duplicates and schema, with an HTML report. |
| [PageSpeed & Lighthouse Bulk Audit](https://apify.com/cuestadata/pagespeed-lighthouse-audit) | Lighthouse scores, Core Web Vitals and top fixes for many URLs or a whole sitemap, with HTML reports. |
| [Domain Availability Checker](https://apify.com/cuestadata/domain-availability-checker) | Bulk domain availability for name ideas x TLDs, confirmed by registry RDAP/WHOIS, with registrar and expiry dates. |
| [Bulk File Downloader](https://apify.com/cuestadata/bulk-file-downloader) | Download files from a URL list or every PDF/image linked on a page, with one ZIP link and SHA-256 hashes. |
| [Link Preview & Website Metadata](https://apify.com/cuestadata/link-preview-metadata) | Title, description, Open Graph image, favicon, logo, brand color, JSON-LD and oEmbed for any list of URLs. |

### FAQ

**Does it return the domain owner's name, email or phone number?**
No. The tool deliberately returns only registrar and technical data. Registrant contact details are usually redacted by registries anyway.

**What is RDAP, and how is it different from WHOIS?**
RDAP (Registration Data Access Protocol) is the structured, JSON-based successor to WHOIS that ICANN now requires for generic TLDs. It is more reliable to parse, so this tool prefers it and uses WHOIS only where RDAP is not offered.

**How fresh is the data?**
Every lookup is made live at run time. Nothing is cached between runs.

**Can I check whether domains are available too?**
Yes, unregistered domains come back with `"status": "available"`. If you mainly want to generate and check name ideas across many TLDs, our [Domain Availability Checker](https://apify.com/cuestadata/domain-availability-checker) does names x TLDs in one go.

**Is this tool affiliated with ICANN or a registry?**
No. Cuesta Data is independent and not affiliated with or endorsed by ICANN, IANA or any registry or registrar.

**I found a bug or need a feature.**
Open an issue on the **Issues** tab and we will take a look.

*WHOIS Lookup is built and maintained by Cuesta Data.*

# Actor input Schema

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

Domains to look up, one per line (e.g. example.com). Full URLs, www. prefixes and internationalized domains are cleaned up automatically.

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

Safety cap on how many domains (names x TLDs + full domains) are checked in one run.

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

How many domains are checked in parallel. Registry servers are always queried politely (at most 2 parallel requests per registry).

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "github.io",
    "example.org"
  ],
  "maxDomains": 5000,
  "maxConcurrency": 10
}
```

# Actor output Schema

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

No description

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

No description

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

// Run the Actor and wait for it to finish
const run = await client.actor("cuestadata/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",
        "github.io",
        "example.org",
    ] }

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

```

## MCP server setup

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