# WHOIS & Domain Lookup: RDAP, DNS, Expiry & Email Security (`the100/domain-intelligence-whois-dns`) Actor

Bulk domain lookup in one row per domain: registrar, creation and expiry dates, availability, DNS records, email and DNS provider, SPF/DMARC policy and an email-spoofing grade. Official RDAP and DNS, no API key needed.

- **URL**: https://apify.com/the100/domain-intelligence-whois-dns.md
- **Developed by:** [Christopher Dorado](https://apify.com/the100) (community)
- **Categories:** Developer tools, SEO 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 $2.00 / 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.

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: RDAP, DNS, Expiry & Email Security

Everything you'd look up about a domain, **in one row**: who it's registered with, when it was created and when it expires, whether it's available, its DNS records, who hosts its email and DNS, and how well it's protected against email spoofing.

Bulk lists of thousands of domains are fine. **No API key needed.**

### Why this one

- **Official sources only.** Registration data comes straight from each registry's RDAP service (the modern, structured replacement for WHOIS, found through IANA), with classic WHOIS as a fallback for registries that don't have RDAP yet. DNS comes from Cloudflare's public DNS-over-HTTPS resolver. There's no scraping and nothing to get blocked.
- **More than WHOIS.** You also get the email provider (Google Workspace, Microsoft 365, Proofpoint…), the DNS provider (Cloudflare, Route 53, GoDaddy…), SPF and DMARC policies, and an **A–F email-spoofing grade**.
- **Availability mode.** Switch on *Only return available domains* to check a list of name ideas. You only pay for the ones that come back available.
- **Expiry alerts.** `expiringSoon` flags domains about to lapse, which is useful for portfolio monitoring and for finding expiring-domain leads.

### Output (one row per domain)

| Field | Example |
|---|---|
| `domain` | apify.com |
| `registrationStatus` | registered / available / unknown |
| `registrar` | Amazon Registrar, Inc. |
| `createdDate`, `expiryDate`, `updatedDate` | 2009-06-02, 2035-06-02 |
| `daysUntilExpiry`, `expiringSoon`, `domainAgeYears` | 3122, false, 17.5 |
| `statusCodes`, `dnssecSigned` | \["client transfer prohibited"], false |
| `aRecords`, `aaaaRecords`, `mxRecords`, `nameservers`, `txtRecords` | Raw DNS |
| `hasWebsite`, `hasEmail` | true, true |
| `emailProvider`, `dnsProvider` | Google Workspace, Amazon Route 53 |
| `spfPolicy`, `dmarcPolicy` | hardfail (-all), reject |
| `emailSecurityGrade` | A (fully protected) … F (anyone can send as this domain) |

### Use cases

- **Sales & lead research:** find which companies use Google Workspace or Microsoft 365, or which have weak email security.
- **Security audits:** grade SPF/DMARC across vendors, clients or your own domains.
- **Domain investing & brand protection:** check availability in bulk and watch expiry dates.
- **IT & agencies:** inventory registrars, DNS hosts and renewals for every client domain.

### Pricing

Pay per domain reported. No subscription. In availability mode you pay only for available domains.

### Notes

Some registries (for example .io) don't offer RDAP. For those, Domain Intelligence falls back to classic WHOIS, and if that's unavailable too, `rdapNote` says so. Registrant contact details are usually redacted by registries for privacy and aren't collected.

# Actor input Schema

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

Domains or URLs, one per line (https://www.example.com/page becomes example.com). Bulk lists of thousands are fine.

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

A/AAAA/MX/NS/TXT records, email and DNS provider, SPF and DMARC policy, and the spoofing-protection grade.

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

Sets expiringSoon=true for domains expiring within this many days.

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

Domain-availability mode: only unregistered domains are returned and charged.

## `concurrency` (type: `integer`):

Higher is faster; registries may slow down very high rates.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "google.com",
    "bbc.co.uk"
  ],
  "includeDns": true,
  "expiringWithinDays": 60,
  "onlyAvailable": false,
  "concurrency": 10
}
```

# Actor output Schema

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

One row per domain.

# 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",
        "google.com",
        "bbc.co.uk"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("the100/domain-intelligence-whois-dns").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",
        "google.com",
        "bbc.co.uk",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("the100/domain-intelligence-whois-dns").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",
    "google.com",
    "bbc.co.uk"
  ]
}' |
apify call the100/domain-intelligence-whois-dns --silent --output-dataset

```

## MCP server setup

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

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/SdqfwLFwKGDcZMtKT/builds/EYwbvwdAQZOsch0wQ/openapi.json
