# WHOIS Lookup Bulk - Domain RDAP, DNS Records & SSL (`admirala/domain-whois-rdap-dns-lookup`) Actor

Bulk WHOIS lookup via official RDAP: registrar, creation and expiry dates, status and nameservers, plus DNS records (A, AAAA, MX, NS, TXT) and SSL expiry. $0.0009 per domain.

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

## Pricing

from $0.70 / 1,000 per 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

## WHOIS Lookup Bulk - Domain RDAP, DNS Records & SSL

> ✅ **Tested daily** with its default input (Apify's automated QA plus our own smoke test before every release).

**Bulk WHOIS lookup** for any list of domains: registrar, registration and expiry dates, status and nameservers via the official **RDAP** service (the WHOIS successor), plus live **DNS records** (A, AAAA, MX, NS, TXT and more) and **SSL certificate expiry** in the same row. **$0.0009 per domain**.

### Input

| Field | Description |
|---|---|
| `domains` | Domain names to look up, e.g. \["apify.com", "example.com"]. One result per domain, $0.0009 each. |
| `dnsTypes` | DNS record types to resolve per domain. Allowed: A, AAAA, MX, NS, TXT, CNAME, SOA, CAA. Example: \["A", "MX", "TXT"]. |
| `includeSsl` | true = also read the domain's SSL certificate (issuer and days until expiry). No extra cost. |

### Output

One dataset item per result with: `domain`, `registeredDomain`, `registrar`, `expires`, `daysUntilExpiry`, `nameservers`, `sslDaysLeft` and more.

### Pricing (pay per event)

- Per domain looked up: $0.0009

You only pay for successful results.

### Use with AI agents (MCP)

This Actor can be used as a tool by AI agents (Claude, Cursor, VS Code, other MCP clients) through the official [Apify MCP server](https://docs.apify.com/platform/integrations/mcp):

- Add only this Actor as a tool: `https://mcp.apify.com?tools=admirala/domain-whois-rdap-dns-lookup` (sign in with OAuth or an Apify API token).
- Or connect `https://mcp.apify.com` and let the agent find it with `search-actors` (e.g. "whois lookup"), read the input schema with `fetch-actor-details` and run it with `call-actor`.

Example input an agent can pass:

```json
{
  "domains": [
    "apify.com",
    "example.com"
  ],
  "dnsTypes": [
    "A",
    "MX",
    "NS",
    "TXT"
  ],
  "includeSsl": true
}
```

Cost per call: $0.0009 per domain looked up; failed lookups are free. Results come back as dataset items (`get-dataset-items`).

### FAQ

**How do I do a WHOIS lookup for many domains?**
Paste the domains in `domains`. Each row contains registrar, creation and expiry dates, status and nameservers from RDAP.

**Can I get DNS records (MX, TXT, NS) too?**
Yes, choose record types in `dnsTypes` (A, AAAA, MX, NS, TXT, CNAME, SOA, CAA).

**Does it return registrant names or emails?**
No, only registry data about the domain itself.

### Related actors

- [SSL Certificate Checker - Bulk Expiry, Chain & TLS](https://apify.com/admirala/ssl-certificate-expiry-checker)
- [Website Uptime Monitor - Status, Response Time & SSL](https://apify.com/admirala/website-uptime-ssl-monitor)
- Domain Expiry Checker - Bulk WHOIS/RDAP Expiration Dates (coming soon to Apify Store)
- SPF, DKIM & DMARC Checker - Bulk Email Deliverability Audit (coming soon to Apify Store)
- Security Headers Checker - Bulk HSTS, CSP Audit (A+ to F) (coming soon to Apify Store)
- [Tech Stack Detector - BuiltWith & Wappalyzer Alternative](https://apify.com/admirala/website-tech-stack-detector)
- Broken Link Checker - Find 404s & Redirects (Crawl or List) (coming soon to Apify Store)

# Actor input Schema

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

Domain names to look up, e.g. \["apify.com", "example.com"]. One result per domain, $0.0009 each.

## `dnsTypes` (type: `array`):

DNS record types to resolve per domain. Allowed: A, AAAA, MX, NS, TXT, CNAME, SOA, CAA. Example: \["A", "MX", "TXT"].

## `includeSsl` (type: `boolean`):

true = also read the domain's SSL certificate (issuer and days until expiry). No extra cost.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "example.com"
  ],
  "dnsTypes": [
    "A",
    "AAAA",
    "MX",
    "NS",
    "TXT"
  ],
  "includeSsl": true
}
```

# Actor output Schema

## `results` (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",
        "example.com"
    ]
};

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

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

```

## MCP server setup

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