# WHOIS Lookup: Bulk Domain Age, Expiry, DNS & SSL Checker (`datafeedlab/bulk-domain-intel`) Actor

Bulk WHOIS and RDAP lookup for thousands of domains: domain age, expiry date, registrar, DNS records, MX, SPF/DMARC and SSL certificate checker. One row per domain, export to CSV or JSON.

- **URL**: https://apify.com/datafeedlab/bulk-domain-intel.md
- **Developed by:** [DataFeed Lab](https://apify.com/datafeedlab) (community)
- **Categories:** Developer tools, Lead generation, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 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.

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 Age, Expiry, DNS Records & SSL Certificate

**Bulk WHOIS lookup and RDAP domain checker for thousands of domains in a single run.** For each domain you get **registration (creation) date, domain age, expiry date, days until expiry, registrar, status, nameservers and DNSSEC**, plus **DNS records (A, AAAA, MX, NS, TXT, CAA, SOA)**, **email provider, SPF and DMARC**, and an **SSL/TLS certificate checker** (issuer, validity, days left and errors). One clean row per domain, export to JSON, CSV or Excel.

Registration data comes from **RDAP**, the official ICANN-mandated successor of WHOIS (structured JSON, served by the registries themselves). For TLDs that still have no RDAP server, the Actor **falls back to classic WHOIS**, politely rate-limited.

### Use cases

- **Lead qualification & enrichment** – domain age, email provider (Google Workspace / Microsoft 365 / …), SSL and DNS hygiene for every lead or account domain.
- **Fraud, risk & KYB** – flag newly registered domains, missing DMARC/SPF, invalid or self-signed certificates.
- **Domain portfolio management** – monitor expiry dates and SSL expiry across hundreds of domains; filter only domains expiring within N days.
- **Domain investing / drop-catching** – find expiring and unregistered domains in bulk.
- **Security & IT audits** – DNS, CAA, DMARC, TLS version and certificate issuer inventory for vendors or subsidiaries.
- **SEO & M\&A research** – domain age and registrar history signals.

### Features

- ✅ Accepts **domains, URLs or e-mail addresses** – normalized, de-duplicated, `www.` removed, IDN supported
- ✅ **RDAP first** (official), **WHOIS fallback** for TLDs without RDAP
- ✅ **Domain age & days until expiry** computed for you
- ✅ **DNS over HTTPS** (Cloudflare, Google fallback) – reliable from any cloud
- ✅ **Email provider detection + SPF + DMARC**
- ✅ **SSL certificate**: issuer, subject, SANs, valid from/to, **days left**, TLS version, validation error (expired, hostname mismatch, self-signed…)
- ✅ **Expiring-soon filter** (`onlyExpiringWithinDays`)
- ✅ **No personal data**: registrant/admin/tech contacts are never extracted (GDPR-friendly) – only registry facts and the registrar's public abuse contact
- ✅ Fast & cheap: no browser, no proxy

### Input example

> **Note:** the prefilled input in the Console is a **4-domain sample**, so the first run returns 4 results. Replace it with your own list — paste **hundreds or thousands of domains, one per line** (URLs and e-mail addresses are fine too). Use the **Bulk edit** button in the *Domains* field to paste a whole column from Excel/Google Sheets, or send `domains` as a JSON array via the API.

```json
{
  "domains": ["stripe.com", "https://www.openai.com/research", "info@apify.com", "bbc.co.uk"],
  "checkRegistration": true,
  "checkDns": true,
  "checkSsl": true,
  "onlyExpiringWithinDays": null
}
```

### Output example

```json
{
  "input": "stripe.com",
  "domain": "stripe.com",
  "registrableDomain": "stripe.com",
  "checkedAt": "2026-11-13T12:53:08.551353+00:00",
  "errors": [],
  "registrationSource": "rdap",
  "registered": true,
  "createdAt": "1995-09-12T04:00:00+00:00",
  "expiresAt": "2027-09-11T04:00:00+00:00",
  "updatedAt": "2025-10-01T01:39:51+00:00",
  "registrar": "SafeNames Ltd.",
  "registrarIanaId": "447",
  "registrarAbuseEmail": "abuse@safenames.net",
  "status": [
    "client delete prohibited",
    "client transfer prohibited",
    "client update prohibited",
    "server delete prohibited",
    "server transfer prohibited",
    "server update prohibited"
  ],
  "nameservers": [
    "ns-1087.awsdns-07.org",
    "ns-1882.awsdns-43.co.uk",
    "ns-423.awsdns-52.com",
    "ns-705.awsdns-24.net"
  ],
  "dnssec": false,
  "domainAgeDays": 11385,
  "daysUntilExpiry": 301,
  "dns": {
    "A": [
      "198.137.150.231",
      "198.202.176.231"
    ],
    "AAAA": [],
    "MX": [
      "10 aspmx.l.google.com",
      "20 alt1.aspmx.l.google.com",
      "20 alt2.aspmx.l.google.com",
      "30 aspmx2.googlemail.com",
      "30 aspmx3.googlemail.com"
    ],
    "NS": [
      "ns-1087.awsdns-07.org",
      "ns-1882.awsdns-43.co.uk",
      "ns-423.awsdns-52.com",
      "ns-705.awsdns-24.net"
    ],
    "TXT": [
      "00D50000000JV6w=1TBTQ0000000CIv;00DDn000000HWol=1TBVY00000002Hx;00D4x000003vxGL=1TBPQ00000008Tp;00Dfn00000BUlWD=1TBan0000000LPR",
      "MS=ms80697640"
    ],
    "CAA": [
      "0 iodef \"mailto:caa-violations@stripe.com\"",
      "0 issue \"amazon.com\"",
      "0 issue \"digicert.com\"",
      "0 issue \"visa.com\""
    ],
    "SOA": [
      "ns-1882.awsdns-43.co.uk. awsdns-hostmaster.amazon.com. 1 900 900 1209600 3600"
    ],
    "nxdomain": false,
    "spf": "v=spf1 ip4:198.2.180.60/32 ip4:13.111.2.227/32 include:spf1.stripe.com include:greenhouse-outbound-mail.stripe.com include:_spf.qualtrics.com ~all",
    "dmarc": "v=DMARC1; p=reject; pct=100; fo=1; rua=mailto:dmarc-reports@stripe.com; ruf=mailto:dmarc-forensics@stripe.com;"
  },
  "resolves": true,
  "mailProvider": "Google Workspace",
  "hasSpf": true,
  "hasDmarc": true,
  "ssl": {
    "tlsValid": true,
    "tlsError": null,
    "tlsProtocol": "TLSv1.3",
    "certIssuer": "DigiCert, Inc.",
    "certIssuerCN": "DigiCert G5 TLS ECC SHA384 2021 CA1",
    "certSubjectCN": "stripe.com",
    "certValidFrom": "2026-10-23T00:00:00+00:00",
    "certValidTo": "2027-05-09T23:59:59+00:00",
    "certDaysLeft": 177,
    "certSans": [
      "stripe.com",
      "www.stripe.com"
    ]
  }
}
```

#### Main fields

| Field | Description |
|---|---|
| `domain`, `registrableDomain` | normalized host and registrable domain (e.g. `shop.example.co.uk` → `example.co.uk`) |
| `registered` | `true` / `false` (not found in the registry) / `null` (unknown) |
| `registrationSource` | `rdap` or `whois` |
| `createdAt`, `expiresAt`, `updatedAt` | ISO-8601 UTC |
| `domainAgeDays`, `daysUntilExpiry` | computed |
| `registrar`, `registrarIanaId`, `registrarAbuseEmail`, `status[]`, `nameservers[]`, `dnssec` | registry data |
| `dns.{A,AAAA,MX,NS,TXT,CAA,SOA}`, `dns.spf`, `dns.dmarc` | DNS records |
| `resolves`, `mailProvider`, `hasSpf`, `hasDmarc` | quick flags |
| `ssl.{tlsValid, tlsError, tlsProtocol, certIssuer, certSubjectCN, certValidFrom, certValidTo, certDaysLeft, certSans}` | certificate info |
| `errors[]` | per-step errors (the row is still returned) |

### Pricing

**$1 per 1,000 domains. No start fee.** Pay per result: one result = one domain checked (see the *Pricing* tab). Set *Max total charge* on a run to cap your spend – the Actor stops exactly at your limit.

### Notes & limitations

- Some ccTLD registries publish limited data (e.g. **.de** DENIC does not publish creation/expiry dates); those fields are then `null`.
- WHOIS fallback is rate-limited to 1 request/second per WHOIS server to respect registry policies; very large lists of non-RDAP TLDs take longer.
- Registry data is provided for legitimate purposes (security, research, portfolio management). Do not use it for spam or to contact registrants.

### FAQ

**Is RDAP the same as WHOIS?** RDAP is the modern, standardized replacement for WHOIS mandated by ICANN for gTLDs (.com, .net, .org, new gTLDs). It returns structured data directly from the registry.

**Why is there no registrant name/email?** Since GDPR most registries redact it, and we deliberately don't collect personal data.

**Can I check SSL expiry for subdomains?** Yes – pass the full host (e.g. `api.example.com`). Registration data is looked up for the registrable domain.

***

### More Actors by DataFeed Lab

ToS-compliant data Actors for growth, product and research teams. All are callable from the Apify API, integrations, or [Apify's MCP server](https://mcp.apify.com) for AI agents.

- [Greenhouse Jobs Scraper](https://apify.com/datafeedlab/ats-jobs-scraper) — Official Greenhouse, Lever, Ashby, Workable, SmartRecruiters and Recruitee job APIs, with salary, remote flag and a new-jobs monitor. $1 per 1,000 jobs.
- [Contact Details Scraper](https://apify.com/datafeedlab/contact-details-scraper) — Company emails, phones, social profiles, contact forms and tech stack (no personal emails). $2 per 1,000 sites with contacts.
- [Shopify Scraper](https://apify.com/datafeedlab/shopify-products-scraper) — Products, prices, variants, stock and sales, with a price/stock monitor. $0.70 per 1,000 products.
- [Tech Stack Detector](https://apify.com/datafeedlab/tech-stack-detector) — BuiltWith alternative: CMS, Shopify, analytics, pixels and hosting. $1 per 1,000 sites.
- [App Store Reviews Scraper](https://apify.com/datafeedlab/app-store-reviews) — Official Apple iOS reviews and metadata. $0.08 per 1,000 rows.
- [OpenStreetMap POI Scraper](https://apify.com/datafeedlab/osm-places) — Local business leads via the official Overpass API. $0.50 per 1,000 places.
- [Hacker News Scraper](https://apify.com/datafeedlab/hacker-news-scraper) — Stories, search, Ask HN and parsed Who is Hiring jobs. $0.10 per 1,000 items.
- [Website to Markdown Crawler](https://apify.com/datafeedlab/website-markdown-crawler) — HTML to Markdown for AI and RAG, robots.txt respected. $1 per 1,000 pages.

### 🇪🇸 En español

**Consulta miles de dominios en una sola ejecución:** fecha de registro, antigüedad, fecha de vencimiento y días restantes, registrador, estado y DNSSEC (vía **RDAP oficial**, con WHOIS como respaldo), **registros DNS** (A, MX, NS, TXT, CAA), **proveedor de correo, SPF y DMARC**, y **certificado SSL** (emisor, validez, días restantes y errores). Acepta dominios, URLs o correos; sin datos personales de titulares. **Nota:** el ejemplo precargado es una muestra de 4 dominios; reemplázalo por tu lista (miles, uno por línea; URLs y correos también valen). Ideal para calificación de leads, prevención de fraude, auditorías de seguridad y gestión de carteras de dominios. Pagas solo por dominio consultado.

# Actor input Schema

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

Paste as many domains as you want (tested with thousands) — one per line. Bare domains (`stripe.com`), URLs (`https://www.openai.com/research`) and e-mail addresses (`info@apify.com`) all work; duplicates and `www.` are removed automatically. **The prefilled list is only a 4-domain sample**: replace it with your own list (or use the Bulk edit button to paste from a spreadsheet). You get one result per unique domain.

## `checkRegistration` (type: `boolean`):

Creation date, domain age, expiry date, days until expiry, registrar, status, nameservers, DNSSEC. Uses the official RDAP protocol; falls back to WHOIS for TLDs without RDAP.

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

Use port-43 WHOIS (rate-limited to 1 request/second per server) when the TLD has no RDAP server (e.g. .de, .io on some registries).

## `checkDns` (type: `boolean`):

Resolve DNS records, detect email provider and SPF/DMARC.

## `dnsRecordTypes` (type: `array`):

Record types to fetch. Default: A, AAAA, MX, NS, TXT, CAA, SOA. Also supported: CNAME, SRV.

## `checkSsl` (type: `boolean`):

Connect to port 443 and read certificate issuer, validity dates, days left, SANs, TLS version and validation errors.

## `onlyExpiringWithinDays` (type: `integer`):

Optional filter: output only domains whose registration expires within N days (great for drop-catching and portfolio monitoring).

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

Domains processed in parallel. Registry servers are additionally rate-limited per server.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "openai.com",
    "bbc.co.uk",
    "notion.so"
  ],
  "checkRegistration": true,
  "whoisFallback": true,
  "checkDns": true,
  "dnsRecordTypes": [
    "A",
    "AAAA",
    "MX",
    "NS",
    "TXT",
    "CAA",
    "SOA"
  ],
  "checkSsl": true,
  "maxConcurrency": 20
}
```

# Actor output Schema

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

All checked domains (default dataset, 'Domains' table view).

## `runSummary` (type: `string`):

JSON with counts by data source (RDAP/WHOIS), invalid inputs and timing metrics.

# 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": [
        "stripe.com",
        "openai.com",
        "bbc.co.uk",
        "notion.so"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datafeedlab/bulk-domain-intel").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": [
        "stripe.com",
        "openai.com",
        "bbc.co.uk",
        "notion.so",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("datafeedlab/bulk-domain-intel").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": [
    "stripe.com",
    "openai.com",
    "bbc.co.uk",
    "notion.so"
  ]
}' |
apify call datafeedlab/bulk-domain-intel --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datafeedlab/bulk-domain-intel"
        }
    }
}
```

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/yuwt4oQ20ovjPQqvj/builds/p2qXPpvcRGn3yWCIR/openapi.json
