# Bulk Domain WHOIS, DNS, MX Email Provider & SSL Checker (`immortal_swale/domain-whois-dns-enricher`) Actor

Zero-proxy bulk domain DNS, WHOIS/RDAP, SSL & email auth checker. Detect MX email providers (Google Workspace, Microsoft 365), SPF/DMARC deliverability, SSL expiry, DNS hosts, registrar & domain age with a security score for Clay, n8n, sales & security teams.

- **URL**: https://apify.com/immortal_swale/domain-whois-dns-enricher.md
- **Developed by:** [DataPulse Studio](https://apify.com/immortal_swale) (community)
- **Categories:** Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 enriched domain dns & whois records

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/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

## Bulk Domain DNS, WHOIS/RDAP, SSL & Email Auth Checker

Inspect thousands of domains for DNS records, MX email providers, SPF/DMARC deliverability posture, TLS/SSL certificate expiry, and WHOIS/RDAP registrar age in one API call. Runs directly on Node.js native DNS, TLS, and RDAP — no headless browsers, no proxies, and no external API keys.

Built by **DataPulse Studio** (`immortal_swale`) for outbound sales ops, Clay/n8n pipelines, security audits, and AI agents.

### What Each Domain Record Includes

| Signal | Output Fields | Practical Use |
|---|---|---|
| **Email Provider (MX)** | `emailProvider`, `mxRecords` | Identifies 15+ providers (`Google Workspace`, `Microsoft 365`, `Proofpoint`, `Mimecast`, `Zoho Mail`, `Proton Mail`, `Fastmail`, `Cloudflare Email Routing`, `Amazon SES / WorkMail`, `Mailgun`, `Barracuda`, `Cisco IronPort`, `Rackspace`, `GoDaddy`, `Namecheap`, `Custom / Self-Hosted`, `None`). |
| **Email Auth (SPF & DMARC)** | `hasSpf`, `spfRecord`, `spfQualifier`, `spfIncludes`, `hasDmarc`, `dmarcRecord`, `dmarcPolicy`, `dmarcSubdomainPolicy`, `dmarcPct`, `dmarcRua` | Flags missing SPF, softfail vs. hardfail (`~all` / `-all`), and DMARC enforcement (`reject`, `quarantine`, `none`). |
| **DNS Hosting & IPs** | `dnsProvider`, `nsRecords`, `ipv4`, `ipv6`, `cnameRecords`, `txtRecordCount` | Detects `Cloudflare`, `AWS Route 53`, `Google Cloud DNS`, `NS1`, `DNSimple`, `Vercel`, `Netlify`, `DigitalOcean`, `Azure DNS`, `Akamai / Edge DNS`, `GoDaddy`, `Namecheap`, `Squarespace`, and `Other`. |
| **SSL / TLS Certificate** | `sslValid`, `sslIssuer`, `sslSubject`, `sslValidFrom`, `sslValidTo`, `sslDaysRemaining`, `sslSanCount`, `sslProtocol`, `sslError` | Direct port 443 TLS handshake checks chain trust, issuer, SAN count, and exact days until certificate expiration. |
| **WHOIS / RDAP Registry** | `registrar`, `createdAt`, `updatedAt`, `expiresAt`, `domainAgeDays`, `daysUntilExpiry`, `rdapStatuses`, `dnssecSigned`, `rdap` | Queries `rdap.org` for domain age, renewal dates, registrar, EPP lock statuses, and DNSSEC signing. Gracefully sets `rdap: null` for TLDs without RDAP support without failing the domain. |
| **Security & Deliverability Score** | `securityScore` (`0–100`), `deliverabilityGrade` (`A`–`F`) | Weighted score across SPF (25 pts), DMARC (35 pts), SSL validity/expiry (30 pts), and DNSSEC (10 pts). |
| **Batch Audit Digest** | `DOMAIN_AUDIT_DIGEST` (Key-Value Store) | Optional batch report summarizing email/DNS provider shares, SPF/DMARC adoption rates, average/median security score, and all domains with SSL certificates expiring within 30 days. |

### Common Use Cases

- **Cold Email ESP Matching & Warmup Routing**: Split prospect lists by `emailProvider` (`Google Workspace` vs. `Microsoft 365` vs. `Proofpoint`/`Mimecast` gateways) so outbound inboxes match recipient ESPs and avoid enterprise spam filters.
- **Clay, n8n & Make Enrichment**: Pass raw URLs, bare domains, or email addresses (`alice@acme.com`) — normalization strips protocols, paths, ports, and `www.` automatically. Filter out dead domains (`status: "error"`) or newly registered burner domains (`domainAgeDays < 90`) before paying for contact enrichment.
- **SSL Expiry & DMARC Monitoring**: Schedule a daily run over your portfolio or customer domains and alert Slack/PagerDuty whenever `expiringSslCount > 0` or `dmarcPolicy !== "reject"`.
- **Vendor Risk & M\&A Technical Diligence**: Audit a target company's DNS provider, registrar lock statuses, DNSSEC state, and SPF sending stack (`spfIncludes` reveals HubSpot, Zendesk, Marketo, SendGrid, and Postmark usage).

### Pricing (Pay-Per-Event)

Zero proxy fees and zero run start fee:

| Event | Price | Notes |
|---|---|---|
| **Actor Run Start** (`apify-actor-start`) | `$0.00` | No start fee |
| **Inspected Domain** (`apify-default-dataset-item`) | `$0.0004` | **$0.40 per 1,000 domains** |
| **Domain Audit Digest** (`domain-audit-digest`) | `$0.005` | Optional `DOMAIN_AUDIT_DIGEST` KV summary (disable via `includeSummaryDigest: false`) |

### Example Input

```json
{
  "domains": [
    "stripe.com",
    "apify.com",
    "shopify.com"
  ],
  "includeRdap": true,
  "includeSsl": true,
  "maxConcurrency": 10,
  "timeoutSecs": 8,
  "includeSummaryDigest": true
}
```

### Example Output (Dataset Item)

```json
{
  "inputDomain": "stripe.com",
  "domain": "stripe.com",
  "status": "ok",
  "error": null,
  "emailProvider": "Google Workspace",
  "mxRecords": [
    { "exchange": "aspmx.l.google.com", "priority": 1 },
    { "exchange": "alt1.aspmx.l.google.com", "priority": 5 },
    { "exchange": "alt2.aspmx.l.google.com", "priority": 5 }
  ],
  "hasSpf": true,
  "spfRecord": "v=spf1 include:_spf.google.com include:spf.mail.stripe.com -all",
  "spfQualifier": "-all",
  "spfIncludes": ["_spf.google.com", "spf.mail.stripe.com"],
  "hasDmarc": true,
  "dmarcRecord": "v=DMARC1; p=reject; rua=mailto:dmarc@stripe.com",
  "dmarcPolicy": "reject",
  "dmarcSubdomainPolicy": null,
  "dmarcPct": 100,
  "dmarcRua": ["mailto:dmarc@stripe.com"],
  "dnsProvider": "AWS Route 53",
  "nsRecords": ["ns-123.awsdns-15.com", "ns-456.awsdns-02.net"],
  "ipv4": ["35.241.9.150"],
  "ipv6": [],
  "cnameRecords": [],
  "txtRecordCount": 14,
  "sslValid": true,
  "sslIssuer": "DigiCert Inc",
  "sslSubject": "stripe.com",
  "sslValidFrom": "2026-08-01T00:00:00.000Z",
  "sslValidTo": "2027-08-01T23:59:59.000Z",
  "sslDaysRemaining": 243,
  "sslSanCount": 12,
  "sslProtocol": "TLSv1.3",
  "sslError": null,
  "registrar": "MarkMonitor Inc.",
  "createdAt": "1995-09-12T04:00:00.000Z",
  "updatedAt": "2025-08-10T09:15:00.000Z",
  "expiresAt": "2027-09-11T04:00:00.000Z",
  "domainAgeDays": 11403,
  "daysUntilExpiry": 284,
  "rdapStatuses": ["client delete prohibited", "client transfer prohibited", "client update prohibited"],
  "dnssecSigned": false,
  "securityScore": 90,
  "deliverabilityGrade": "A",
  "checkDurationMs": 312,
  "checkedAt": "2026-12-01T13:20:00.000Z"
}
```

### API & Workflow Integration

#### Clay / n8n / Make Synchronous Call

```bash
curl -X POST "https://api.apify.com/v2/acts/immortal_swale~domain-whois-dns-enricher/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "domains": ["stripe.com", "apify.com", "shopify.com"],
    "includeRdap": true,
    "includeSsl": true,
    "includeSummaryDigest": false
  }'
```

#### AI Agents (Apify MCP Server)

```json
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server", "--actors", "immortal_swale/domain-whois-dns-enricher"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

### More B2B Actors by DataPulse Studio

- **[Website Email, Tech Stack & B2B Lead Scraper](https://apify.com/immortal_swale/website-lead-tech-enricher)** (`immortal_swale/website-lead-tech-enricher`) — Zero-proxy technographics (45+ tools), public business emails, social profiles, hiring/pricing signals, and B2B lead scoring.
- **[B2B Buying Signal Radar](https://apify.com/immortal_swale/buying-signal-radar)** (`immortal_swale/buying-signal-radar`) — Detect high-intent software buyers asking for recommendations and competitor alternatives across developer and business communities.
- **[SEC EDGAR Financial & Insider Filings Intelligence](https://apify.com/immortal_swale/sec-edgar-intelligence)** (`immortal_swale/sec-edgar-intelligence`) — Structured 10-K/10-Q/8-K/Form 4 filings and XBRL financial metrics directly from SEC EDGAR.
- **[Google News & RSS Intelligence Monitor](https://apify.com/immortal_swale/news-intelligence-monitor)** (`immortal_swale/news-intelligence-monitor`) — Zero-proxy deduplicated news monitoring with funding, M\&A, layoffs, product launch, and earnings event tags.

# Actor input Schema

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

List of domains, URLs, or email addresses to inspect (e.g., \['stripe.com', 'apify.com', 'shopify.com']). Protocols, paths, ports, and leading 'www.' are normalized automatically.

## `includeRdap` (type: `boolean`):

Query public RDAP registries (rdap.org) for domain registrar, creation/expiry dates, domain age, EPP statuses, and DNSSEC signing status.

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

Perform a direct TLS handshake on port 443 to extract certificate validity, issuer, subject, SAN count, TLS protocol, and days remaining before expiry.

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

Maximum number of domains to check concurrently.

## `timeoutSecs` (type: `integer`):

Maximum seconds to wait for each DNS, TLS, or RDAP network call before timing out gracefully.

## `includeSummaryDigest` (type: `boolean`):

Save an aggregated DOMAIN_AUDIT_DIGEST JSON report to the Key-Value Store with email/DNS provider breakdowns, SPF/DMARC adoption rates, expiring SSL certs (<30 days), and average security score.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "apify.com",
    "shopify.com"
  ],
  "includeRdap": true,
  "includeSsl": true,
  "maxConcurrency": 10,
  "timeoutSecs": 8,
  "includeSummaryDigest": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `domainAuditDigest` (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": [
        "stripe.com",
        "apify.com",
        "shopify.com"
    ]
};

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

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

```

## MCP server setup

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

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/a4m9hccGFVEf6LJoG/builds/vcgolU3fALy6OCiOC/openapi.json
