# Bulk Domain Checker: WHOIS (RDAP), DNS, SSL & Email Security (`squarish_altruism/domain-intel`) Actor

Check thousands of domains at once: registration and expiry date (RDAP/WHOIS), availability, DNS records, SSL certificate validity and expiry, and SPF/DMARC/MX email security. Clear issue flags per domain.

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

## Pricing

$2.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 Checker: WHOIS (RDAP), DNS, SSL & Email Security

> **At a glance:** check registration, DNS, SSL and email security for a list of domains. **You get** one row per domain. **Cost:** 1,000 domains are $2, with all checks included.

Check a list of domains, from one to tens of thousands, and get one clean row per domain. Each row covers:

- **Registration (WHOIS):** registrar, creation date, **expiry date**, domain age, status, nameservers and DNSSEC. It also tells you whether the domain is **available to register**.
- **DNS records:** A, AAAA, MX, NS, TXT and CAA.
- **SSL certificate:** whether it's valid, the issuer, the domains it covers, and **days until expiry**.
- **E-mail security:** MX, SPF and DMARC records, with the DMARC policy read out.
- **Issue flags:** for example *SSL expiring soon*, *domain expiring soon*, *no DMARC*, *SPF allows anyone* or *more than one SPF record*.

Registration data comes from **RDAP**, the official modern replacement for WHOIS, run by each registry. There's no scraping and no blocked WHOIS ports, and the data is structured. We never return personal data about the people who registered a domain.

### Use cases

- **Agencies and IT teams:** monitor client domains for expiring registrations and certificates. Schedule a weekly run and connect it to Slack or e-mail.
- **E-mail deliverability:** audit SPF and DMARC across all your sending domains, or a prospect list.
- **Domain investors and brand protection:** check availability and age for hundreds of names.
- **Security reviews:** find expired or invalid certificates and weak e-mail policies.
- **Sales research:** see which e-mail provider (from MX) and which certificate authority a company uses.

### Input

```json
{
  "domains": ["github.com", "https://www.example.co.uk/page", "info@acme.com"],
  "checkWhois": true,
  "checkDns": true,
  "checkEmail": true,
  "checkSsl": true
}
```

You can paste URLs or e-mail addresses: the domain is extracted and duplicates are removed. Registration data is looked up for the registrable domain, so `shop.example.co.uk` is checked as `example.co.uk`.

### Output (one row per domain)

```json
{
  "domain": "github.com",
  "available": false,
  "whois": {
    "registered": true,
    "registrar": "MarkMonitor Inc.",
    "createdAt": "2007-10-09T18:20:50Z",
    "expiresAt": "2028-10-09T18:20:50Z",
    "ageDays": 6965,
    "daysUntilExpiry": 706,
    "nameservers": ["dns1.p08.nsone.net", "…"],
    "dnssec": false
  },
  "dns": { "a": ["140.82.121.3"], "mx": [{ "priority": 0, "exchange": "github-com.mail.protection.outlook.com" }], "caa": ["…"] },
  "email": {
    "mx": true,
    "spf": { "present": true, "all": "~all" },
    "dmarc": { "present": true, "policy": "quarantine" }
  },
  "ssl": { "valid": true, "issuer": "Sectigo Limited", "validTo": "2027-01-27T23:59:59.000Z", "daysUntilExpiry": 85 },
  "issueCodes": ["dnssec-off"]
}
```

### Pricing

**$0.002 per domain**, with all checks included. That's $2 per 1,000 domains. Invalid entries are reported but not charged.

### Notes

- **Missing registration data:** some country-code domains (TLDs) don't offer a public RDAP service yet. Their `whois.error` explains why, and the DNS, SSL and e-mail checks still run.
- **What "available" means:** `available: true` means the registry returned "not found". The name may still be reserved or premium, so check with a registrar before buying.
- **DKIM isn't checked,** because its records can't be found without knowing the sender's selector.

### Use with AI agents (MCP)

This Actor works as a tool for AI assistants such as Claude, ChatGPT and Cursor, through [Apify's MCP server](https://mcp.apify.com).

1. Add the server to your MCP client, with this Actor selected:

```json
{
  "mcpServers": {
    "apify": { "url": "https://mcp.apify.com?tools=squarish_altruism/domain-intel" }
  }
}
```

In Claude Code: `claude mcp add apify "https://mcp.apify.com?tools=squarish_altruism/domain-intel" -t http`

2. Sign in with your Apify account when your client asks. If it can't use OAuth, send your Apify API token in an `Authorization: Bearer` header.
3. Ask in plain language, for example: *"Check example.com and github.com: when do the domains and SSL certificates expire, and is email spoofing protection set up?"*

Runs started by an agent are billed to your Apify account at the same prices as above.

### Related tools

- [Look-Alike Domain Finder](https://apify.com/squarish_altruism/lookalike-domains)
- [Website SEO Audit & Broken Link Checker](https://apify.com/squarish_altruism/site-audit)
- [Website Change Monitor](https://apify.com/squarish_altruism/page-change-monitor)

# Actor input Schema

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

Domains to check. You can also paste URLs or e-mail addresses; the domain is extracted and duplicates removed.

## `checkWhois` (type: `boolean`):

Registrar, creation and expiry dates, status, nameservers, DNSSEC and availability. Uses the official RDAP service of each registry.

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

A, AAAA, MX, NS, TXT and CAA records.

## `checkEmail` (type: `boolean`):

MX, SPF and DMARC records with policy analysis.

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

Validity, issuer, alternative names and days until expiry of the HTTPS certificate.

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

Domains checked in parallel.

## Actor input object example

```json
{
  "domains": [
    "github.com",
    "example.com"
  ],
  "checkWhois": true,
  "checkDns": true,
  "checkEmail": true,
  "checkSsl": true,
  "maxConcurrency": 10
}
```

# Actor output Schema

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

One item per domain checked.

# 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": [
        "github.com",
        "example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("squarish_altruism/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": [
        "github.com",
        "example.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("squarish_altruism/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": [
    "github.com",
    "example.com"
  ]
}' |
apify call squarish_altruism/domain-intel --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,squarish_altruism/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/jKWJiTZCqksQWY7MJ/builds/BTAuIgVJilW3yGAwL/openapi.json
