# Bulk SPF, DKIM & DMARC Checker – Email Domain Health Score (`coveandcolumn/email-domain-health`) Actor

Check SPF, DKIM, DMARC, MX, MTA-STS, TLS-RPT and BIMI for thousands of domains. Get a 0-100 deliverability score, spoofing risk, Gmail/Yahoo bulk-sender readiness and copy-paste fixes. DNS only, no emails sent.

- **URL**: https://apify.com/coveandcolumn/email-domain-health.md
- **Developed by:** [Cove & Column](https://apify.com/coveandcolumn) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## How to use Bulk SPF, DKIM & DMARC Checker – Email Domain Health Score

**Check the email authentication of hundreds of domains in seconds.** Paste domains, email addresses or website URLs and get, for each domain, a **0–100 score and A–F grade**, **spoofing risk**, **Gmail & Yahoo bulk-sender readiness**, and **plain-English, copy-paste fixes** for SPF, DKIM, DMARC, MX, MTA-STS, TLS-RPT and BIMI.

It only reads public DNS records – **no emails are sent, no SMTP probing, no logins**. 50 domains finish in about 3 seconds.

Public page: <https://apify.com/coveandcolumn/email-domain-health>

### What it does

| Check | What you get |
|---|---|
| **MX** | Mail servers, priority, detected provider (Google Workspace, Microsoft 365, Proofpoint, Mimecast, Zoho, GoDaddy…), null MX |
| **SPF** | Record, `all` qualifier (`-all`, `~all`, `?all`, `+all`), **recursive DNS lookup count vs the 10-lookup limit**, void lookups, multiple-record errors, deprecated `ptr`, macro-aware |
| **DMARC** | Policy (`none` / `quarantine` / `reject`), subdomain policy, `pct`, `rua`/`ruf` report addresses, alignment |
| **DKIM** | Probes ~40 common selectors (Google, Microsoft 365, Mailchimp/Mandrill, SendGrid, HubSpot, Zoho, Fastmail, Proton, iCloud, Mailjet…) plus your own; flags revoked and **1024-bit weak keys** |
| **MTA-STS & TLS-RPT** | TXT records and the live MTA-STS policy mode (enforce / testing) |
| **BIMI** | Whether a brand logo record is published, and whether the domain is eligible |

Every domain also gets: `score`, `grade`, `summary`, `spoofingRisk` (low/medium/high), `bulkSenderReady` (SPF + DKIM + DMARC present), a sorted `issues` list with severity, and `recommendations` you can paste into your DNS.

### Who it's for

- **Cold email and outbound teams** – check every sending domain before a campaign.
- **MSPs, IT consultants and security auditors** – audit a whole client list for spoofing risk in one run.
- **Agencies and lead-gen** – enrich lead lists with an email-security grade (for example, find companies with no DMARC).
- **AI agents and automations** – a fast, MCP-friendly tool with a documented output schema.

### How to run it (step by step)

1. Open the Actor: <https://apify.com/coveandcolumn/email-domain-health>.
2. Click **Try for free** (or **Start** if you already have an Apify account).
3. Paste **domains, email addresses, or website URLs**, one per line. Duplicates and a leading `www.` are handled for you. You can paste `apify.com`, `someone@mailchimp.com`, or `https://www.microsoft.com/en-us`.
4. Optional: add **Extra DKIM selectors** if you know custom selector names that are not in the built-in list of common ones.
5. Click **Start** and wait a few seconds. Invalid entries that are not a domain are skipped and never charged.
6. Open the **Dataset** tab. Download **CSV, Excel, or JSON**, or connect to Google Sheets, Zapier, Make, n8n, or the Apify API.
7. Optional: save the input as a **Task** and **Schedule** it weekly to catch DNS changes.

#### Example input

```json
{
  "domains": ["apify.com", "someone@mailchimp.com", "https://www.microsoft.com/en-us"],
  "dkimSelectors": ["mycustomselector"]
}
```

#### Example output (shortened)

```json
{
  "domain": "example.com",
  "score": 50,
  "grade": "D",
  "summary": "D (50/100): 5 issues. Top: SPF needs 14 DNS lookups; the limit is 10, so SPF will fail (permerror).",
  "mailProvider": "Microsoft 365",
  "bulkSenderReady": false,
  "spoofingRisk": "high",
  "spf": { "allQualifier": "~all", "lookupCount": 14, "valid": false },
  "dmarc": { "policy": "none", "rua": ["mailto:..."] },
  "dkim": { "selectorsFound": ["selector1", "s1", "s2"] },
  "issues": [
    { "severity": "high", "code": "SPF_TOO_MANY_LOOKUPS", "message": "SPF needs 14 DNS lookups; the limit is 10, so SPF will fail (permerror)." },
    { "severity": "medium", "code": "DMARC_P_NONE", "message": "DMARC is in monitor-only mode (p=none): spoofed mail is still delivered." }
  ],
  "recommendations": [
    "Remove unused include: entries or use subdomains for marketing/transactional senders to get under 10 lookups.",
    "After reviewing DMARC reports, change to p=quarantine, then p=reject."
  ]
}
```

### Tips and limits

- DNS is read over DNS-over-HTTPS from Cloudflare, with Google as a fallback. The Actor never connects to mail servers or sends email.
- DKIM selectors cannot be listed automatically. If a domain uses an unusual selector, add it under **Extra DKIM selectors**.
- This version does not check spam blocklists; most blocklists do not allow commercial bulk queries without a paid feed.
- **Score weights:** MX/null-MX 10 · SPF 25 · DMARC up to 35 (reject 35, quarantine 30, none 15) · DMARC reports 5 · DKIM 15 · MTA-STS 4 · TLS-RPT 3 · BIMI 3. A = 90+, B = 75+, C = 60+, D = 40+, F below 40.
- `bulkSenderReady` means SPF, DKIM and a DMARC record are present – the basics of the 2024 Gmail/Yahoo rules for senders of 5,000+ messages a day. It is not a guarantee of inbox placement.

### How much does it cost?

**Pay per domain checked – $2 per 1,000 domains** ($0.002 each; $0.0015 on Silver and $0.001 on Gold Apify plans), plus Apify's default $0.00005 start fee. 100 domains cost about **$0.20**. No subscription. Set a maximum cost per run and the Actor stops cleanly when it is reached. Invalid entries (not a domain) are skipped and never charged.

### FAQ

**Is this legal / safe?** Yes. It reads public DNS records only. It never connects to mail servers or sends email.

**Why does it say DKIM not found when I use DKIM?** DKIM keys live at `selector._domainkey.domain` and selectors can't be listed. We test ~40 common ones; add yours in **Extra DKIM selectors**.

**Does it check spam blocklists?** Not in this version – most blocklists don't allow commercial bulk queries without a paid feed.

**What are the Gmail and Yahoo bulk-sender rules?** Since 2024, senders of 5,000+ messages a day to Gmail/Yahoo need SPF, DKIM and a DMARC record. `bulkSenderReady` tells you if those basics are in place.

Found a bug or want a new check? Open an issue on the **Issues** tab.

# Actor input Schema

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

One per line. Accepts example.com, someone@example.com or https://www.example.com/page. Duplicates are removed.

## `dkimSelectors` (type: `array`):

DKIM keys can only be found if you know the selector. ~40 common selectors (Google, Microsoft 365, Mailchimp, SendGrid, HubSpot, Zoho, Fastmail...) are checked automatically; add your own here.

## `checkMtaSts` (type: `boolean`):

If the domain publishes MTA-STS, download its policy over HTTPS to read the mode (enforce/testing).

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

How many domains to check at the same time.

## Actor input object example

```json
{
  "domains": [
    "google.com",
    "apify.com"
  ],
  "checkMtaSts": true,
  "maxConcurrency": 10
}
```

# Actor output Schema

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

One row per domain with score, grade, SPF/DKIM/DMARC details, issues and recommended fixes.

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

// Run the Actor and wait for it to finish
const run = await client.actor("coveandcolumn/email-domain-health").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": [
        "google.com",
        "apify.com",
    ] }

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

```

## MCP server setup

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

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/ocvOXjggTRHPRaLso/builds/yxi78M36ZMYlH7foZ/openapi.json
