# Bulk Domain WHOIS, DNS, SSL & Email Security Checker (`maxkang/domain-whois-dns-checker`) Actor

Check thousands of domains in one run: WHOIS/RDAP (registrar, age, expiry, availability), DNS records, mail provider, SPF/DMARC/MTA-STS score, SSL certificate expiry, hosting provider and website status. No proxy, no API keys.

- **URL**: https://apify.com/maxkang/domain-whois-dns-checker.md
- **Developed by:** [Max Kang](https://apify.com/maxkang) (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

$3.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

## Bulk Domain WHOIS, DNS, SSL & Email Security Checker

**Check thousands of domains in one run.** For every domain you get **WHOIS / RDAP data** (registrar, creation date, domain age, expiry date, status, availability), **DNS records** (A, AAAA, NS, MX, CAA, www CNAME), the **mail provider** (Google Workspace, Microsoft 365, Zoho…), an **email security score** from SPF, DMARC, MTA-STS and BIMI, the **SSL certificate** (issuer, expiry, days left), the **hosting provider** behind the IP and the **website status**.

Use it as a **bulk WHOIS lookup**, **domain age checker**, **domain expiry checker**, **DNS lookup tool**, **SPF / DMARC checker**, **SSL certificate expiry checker** or **domain availability checker**, all in one row per domain.

### Why this Actor

- ✅ **Everything in one row.** WHOIS + DNS + email security + SSL + hosting + website status. No need to chain five tools.
- ✅ **RDAP first, WHOIS fallback.** Uses the official RDAP registries (IANA bootstrap) and falls back to classic WHOIS (port 43) for TLDs without RDAP such as `.so`, `.io` or `.de` (DENIC does not publish dates).
- ✅ **Email deliverability signals.** SPF validity and `all` mode, DMARC policy and reporting address, MTA-STS, BIMI, plus a 0–100 email security score and plain-English notes.
- ✅ **Who they use.** Mail provider, DNS provider (Cloudflare, Route 53, GoDaddy…), hosting organisation and verified SaaS services from TXT records (Google, Microsoft 365, Stripe, HubSpot, Salesforce, Atlassian, OpenAI…).
- ✅ **Flags you can filter on:** domain expiring in < 30 days, SSL expiring in < 14 days, invalid SSL, no DMARC, no SPF, no website, newly registered domain.
- ✅ **Fast and cheap.** No browser, no proxy, no API keys. 14 domains finish in under a minute.

### Use cases

- **Domain portfolio monitoring:** catch expiring domains and SSL certificates before they break (schedule it daily).
- **Lead enrichment and sales intelligence:** find which companies use Google Workspace vs Microsoft 365, Cloudflare, HubSpot or Salesforce; sort by domain age.
- **Email deliverability audits:** list domains with no DMARC, `p=none` or broken SPF. Useful for agencies selling email/IT services.
- **Security and brand protection:** flag newly registered look-alike domains and invalid certificates.
- **Domain investing:** check availability and age in bulk.
- **AI agents (MCP):** a single structured lookup for any domain.

### Input

```json
{
  "domains": ["apify.com", "stripe.com", "https://www.bbc.co.uk/news"],
  "whois": true,
  "ssl": true,
  "hosting": true,
  "website": true
}
```

Turn off the checks you don't need to make runs even faster. You can also read domains from another Actor's dataset (`datasetId` + `datasetField`).

### Output (one row per domain)

```json
{
  "domain": "apify.com",
  "status": "ok",
  "registered": true,
  "whoisSource": "rdap",
  "registrar": "Amazon Registrar, Inc.",
  "createdAt": "2009-06-02T...",
  "domainAgeYears": 17.5,
  "daysToExpiry": 3115,
  "nameservers": ["ns-1.awsdns-..."],
  "dnsProvider": "AWS Route 53",
  "mailProvider": "Google Workspace",
  "spfAll": "fail (-all)",
  "dmarcPolicy": "reject",
  "emailSecurityScore": 100,
  "verifiedServices": ["Google", "Apple", "HubSpot", "OpenAI"],
  "sslValid": true,
  "sslIssuer": "Amazon",
  "daysToSslExpiry": 56,
  "ipOrg": "Amazon.com, Inc.",
  "websiteStatus": 200,
  "flags": []
}
```

Status values: `ok`, `not-registered` (likely available), `unknown`, `invalid-input`.

### Pricing

**$0.003 per domain checked ($3 per 1,000 domains)**, all checks included. Invalid inputs are free. Set *maximum cost per run* to cap spend; the Actor stops cleanly at the cap.

### Limits and honest notes

- Some registries hide data: `.de` publishes no dates, some ccTLDs (e.g. `.jp`) return WHOIS formats we don't parse yet. DNS, email and SSL checks still work for them.
- `not-registered` means the registry returned "not found"; always confirm availability at a registrar before buying.
- Registrant names and emails are not collected (most are redacted under GDPR anyway).

### FAQ

**Do I need an API key or proxy?** No.

**How is the email security score calculated?** MX present 20, valid SPF with -all/~all up to 25, DMARC reject 40 / quarantine 30 / none 10, DMARC reporting 5, MTA-STS 5, BIMI 5.

**Can I monitor domains daily?** Yes. Save a task, add a schedule, and filter on `flags` or `daysToExpiry`.

**Can I combine it with other Actors?** Yes. Feed the website field of Google Maps Scraper or Website Contact Finder & Lead Qualifier via `datasetId`.

**Something is wrong?** Open an issue with the domain and we'll fix it.

### More tools from this developer

- [Contact Details Scraper: Emails, Phones & Lead Signals](https://apify.com/maxkang/website-contact-lead-qualifier): emails, phones and socials from business websites with source pages and lead signals.
- [Careers Page Jobs Scraper & Hiring Signals](https://apify.com/maxkang/company-hiring-signals): open jobs from Greenhouse, Lever, Ashby, Workable, SmartRecruiters and Recruitee plus hiring signals.
- [Wayback Machine History & Archived URLs](https://apify.com/maxkang/wayback-machine-history): website age, snapshot history and every archived URL of a domain.

# Actor input Schema

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

Domains or URLs, one per line (example.com, https://www.example.co.uk/page). Subdomains are checked for DNS/SSL and their registrable domain for WHOIS.

## `whois` (type: `boolean`):

Registrar, creation date, expiry date, domain status and availability. Uses RDAP, with classic WHOIS as a fallback for TLDs without RDAP.

## `ssl` (type: `boolean`):

Issuer, validity dates and days until the certificate expires.

## `hosting` (type: `boolean`):

Organisation and country that own the website's IP address.

## `website` (type: `boolean`):

HTTP status, final URL after redirects and server header.

## `includeTxt` (type: `boolean`):

Adds up to 30 raw TXT records per domain. Verified services (Google, Microsoft 365, Stripe, HubSpot…) are always detected.

## `datasetId` (type: `string`):

ID of a dataset from another Actor run. The field below is read from each item.

## `datasetField` (type: `string`):

Field that holds the domain or website URL.

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

Higher is faster.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "stripe.com",
    "bbc.co.uk"
  ],
  "whois": true,
  "ssl": true,
  "hosting": true,
  "website": true,
  "includeTxt": false,
  "datasetField": "website",
  "maxConcurrency": 10
}
```

# Actor output Schema

## `overview` (type: `string`):

Registrar, dates, expiry, providers, email security score, SSL and flags.

## `email` (type: `string`):

MX, mail provider, SPF, DMARC, MTA-STS, BIMI and verified services.

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

All fields.

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

Counts of checked, registered and not registered domains.

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

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

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

```

## MCP server setup

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

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/ytGJnCCugUdVEAKCJ/builds/dz7FDcu9STlQ1qBxu/openapi.json
