# Bulk DMARC, SPF & DKIM Checker with Email Grade (`khadinakbar/email-health-sales-signals`) Actor

Bulk DMARC, SPF and DKIM checker. Paste domains and get each one's email set-up graded A to F from public records, with a free blocklist check, domain age and plain-English sales signals showing why that business may need email help. No login or proxy, and you pay only for full audits.

- **URL**: https://apify.com/khadinakbar/email-health-sales-signals.md
- **Developed by:** [Khadin Akbar](https://apify.com/khadinakbar) (community)
- **Categories:** Lead generation, Developer tools, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

### What does Bulk DMARC, SPF & DKIM Checker with Email Grade do?

Paste a list of company domains and this DMARC, SPF and DKIM checker returns one row per domain with an **A to F grade** for its email set-up and the reasons in plain language. Everything is read from public records: SPF (with the 10-lookup count), DKIM keys, the DMARC policy, the mail service, MTA-STS, TLS reporting and BIMI. Each row also includes a **free blocklist check** of the domain and its mail servers, the **domain age** from the public registry lookup, and **sales signals**: reasons this business may need help with email, plus a one-sentence pitch angle. Every run also saves a short **plain-language run report**.

It reads public DNS records and the registries' public domain lookup only. It sends no email, opens no connection to a mail server, and needs no login and no proxy.

### Why use this DMARC, SPF and DKIM checker?

- **Qualify leads by what is true.** Open your message with a real gap, such as "your DMARC only watches and lets fake email through" or "your mail server is on a spam blocklist".
- **Made for people who sell email help**: email and marketing agencies, cold-email senders checking their own sending domains, freelancers pitching deliverability fixes, and IT service providers.
- **A grade you can sort by.** One letter per domain, with the top reasons written for a non-technical reader.
- **Clear about what was checked.** Each row says which blocklists answered, whether the domain age was available and how many DKIM names were tried.
- **You pay only for full audits.** Domains that are unregistered, have no mail servers or only partly answered are free.
- **Ready for large lists.** Up to 2,000 domains per run, audited in parallel, with a clean early stop and a report if the run gets close to its time limit.
- **Built for AI agents.** Plain input fields, one flat row per domain, stable status codes, and `OUTPUT`, `RUN_SUMMARY` and `RUN_REPORT` records.

### What data you get

| Field | Meaning |
|---|---|
| `domain`, `status`, `failureCode` | The domain audited, its status (`OK`, `PARTIAL`, `NO_MAIL`, `UNREACHABLE`, `DNS_ERROR`) and the reason |
| `grade`, `gradeReasons`, `score` | Our own A to F grade, the plain-language reasons behind it, and the 0-100 points it starts from |
| `spf` | The record, policy, DNS lookup count against the limit of 10, included services, issues |
| `dkim` | Keys found among the selector names tried, key type and estimated size |
| `dmarc` | Policy, subdomain policy, percentage covered, report addresses, issues |
| `mail` | Mail service and category, mail servers with addresses and reverse-DNS result |
| `mtaSts`, `tlsRpt`, `bimi` | Whether each is published, MTA-STS mode, BIMI certificate reference |
| `blacklist` | How many free blocklists were checked, which ones list the domain or its mail servers, which were unavailable |
| `domainAge` | Registration date, age in days and years, expiry date; or the reason it is unavailable |
| `sendersInferred` | Sending tools recognised from SPF and the mail servers |
| `bulkSenderReadiness` | `READY`, `AT_RISK` or `NOT_READY` against the published bulk-sender guidance of the large mailbox providers |
| `salesSignals`, `pitchAngle` | Plain-English hints with severity, confidence and evidence, plus an opening line |

### How the grade works

The grade is our own A to F scale. It starts from a 0-100 points score (SPF, DMARC, DKIM, mail servers, MTA-STS, TLS reporting and the blocklist result) and then applies caps, because some gaps matter more than the points show.

| Grade | Points | | Cap | Highest grade possible |
|---|---|---|---|---|
| A | 90-100 | | No SPF or no DMARC | C |
| B | 78-89 | | SPF open to anyone, or technically broken | C |
| C | 62-77 | | DMARC monitor-only (p=none) | B |
| D | 45-61 | | Found on a free blocklist | D |
| F | 0-44 | | | |

A domain with no mail servers, or whose core records were unreadable, gets no grade and the row says why.

### How to use it

1. Add domains to **Domains**. Website addresses and email addresses also work; the domain is taken from them.
2. Keep **Check free blocklists**, **Look up domain age** and **Look for DKIM keys** on for the fullest picture. Switch them off for the quickest run.
3. Start the run, open the dataset and filter `status = OK`. Sort by `grade`, then read `gradeReasons` and `salesSignals`. Open the `RUN_REPORT` record for the short summary.

Input example:

```json
{
  "domains": ["tartinebakery.com", "joespizzanyc.com", "apify.com"],
  "checkDkim": true,
  "checkBlacklists": true,
  "checkDomainAge": true,
  "signals": true
}
```

### Output example

One dataset row per domain. This is a shortened real row:

```json
{
  "input": "lombardis.com",
  "domain": "lombardis.com",
  "status": "OK",
  "grade": "B",
  "score": 86,
  "gradeReasons": [
    "DMARC is enforced for only 10% of failing mail.",
    "No MTA-STS or TLS reporting (minor; mostly large brands set this up)."
  ],
  "spf": { "present": true, "policy": "fail", "lookupCount": 3, "issues": [] },
  "dmarc": { "present": true, "policy": "quarantine", "pct": 10 },
  "mail": { "provider": "Microsoft 365", "category": "workspace" },
  "blacklist": { "checked": true, "listsChecked": 4, "listedCount": 0, "listedOn": [] },
  "domainAge": { "available": true, "registeredAt": "1997-02-05T05:00:00Z", "ageYears": 29.8 },
  "bulkSenderReadiness": "READY",
  "pitchAngle": "Lead with: dmarc protects only part of their mail; then dkim key looks short (about 1024 bits or less).",
  "billedEvents": ["domain-audited"]
}
```

### How much does it cost?

This Actor uses **Pay per event** pricing. Apify platform usage (compute and storage) is **included in the event price**, so you pay only the events below. The live Pricing tab is the source of truth for current prices.

| Event | Price | When |
|---|---|---|
| Domain audited | $0.002 on the Free plan, less on paid plans (see below) | One domain whose mail records were read in full |
| Actor start | $0.00005 | Once per run |

Paid Apify plans get a discount on each audited domain: Starter (Bronze) $0.0019, Scale (Silver) $0.0018, Business (Gold) and above $0.0017. The Pricing tab shows the price for your plan.

| List size (all fully audited) | Event cost |
|---|---|
| 10 domains | about $0.02 |
| 100 domains | about $0.20 |
| 1,000 domains | about $2.00 |

These are Free-plan prices; paid plans pay up to 15% less.

There is no separate platform usage bill for this Actor. Unregistered domains, domains with no mail servers and partly answered domains are free. A row is still charged when only an optional extra (a blocklist or the domain age) was unavailable, because the core audit finished; the row says which extra is missing. Set a maximum charge on the run and it stops cleanly when that amount is reached.

### Use case workflow: from a domain list to a pitch

- **Email agency prospecting.** Start with a lead list of company domains, keep the rows graded C to F, then export them with `pitchAngle` and `gradeReasons` as the first line of your outreach.
- **Cold-email senders.** Check your own sending domains before a campaign: confirm SPF stays under 10 lookups, DMARC is published, a DKIM key is found and `blacklist.listedCount` is 0. Schedule the same list weekly and compare grades.
- **Freelancers pitching deliverability fixes.** Audit a prospect's domain, paste the `RUN_REPORT` text into your proposal and quote the `evidence` behind each signal.
- **IT and managed-service providers.** Feed a client portfolio in, then pass every domain with a DMARC or SPF gap to your onboarding checklist.

### How it compares with other ways to check a domain

| | This Actor | Single-domain web checkers | Plain DNS record look-ups |
|---|---|---|---|
| Domains per check | Up to 2,000 in one go | One at a time | Many |
| A to F grade with reasons | Yes | Often | Rare |
| SPF 10-lookup count, DKIM probe, DMARC policy | Yes | Usually | Raw records only |
| Blocklist check with a self-test per list | Yes, free lists | Varies | Rare |
| Domain age | Yes, where the registry publishes it | Rare | Rare |
| Sales signals and pitch angle per lead | Yes | Rare | Rare |
| Charge for unregistered or mail-less domains | Free | n/a | Often charged |
| Output | Dataset, API, MCP, CSV, Excel | Web page | Dataset |

### Run it from the API

```bash
curl -X POST "https://api.apify.com/v2/acts/khadinakbar~email-health-sales-signals/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domains": ["tartinebakery.com", "apify.com"]}'
```

### Use with AI agents and MCP

Every input has a plain-language description and the output is one flat row per domain, so assistants can call it through the Apify MCP server. Example prompt:

> Check the email set-up of these 20 prospect domains with the DMARC, SPF and DKIM checker. List the ones graded C or lower, with the top reason and the pitch angle for each.

The agent should read the dataset rows for `status`, `grade`, `gradeReasons` and `salesSignals`, and the `OUTPUT` record for the outcome (`COMPLETE`, `PARTIAL`, `VALID_EMPTY`, `INVALID_INPUT` or `UPSTREAM_FAILED`), the charged event count and any warnings. Cost scales with the number of rows whose status is `OK`.

### Scope and best results

- **Signals are hints from public records.** A domain can look weak yet send through a service or subdomain that public records leave out. Confirm before you quote a signal.
- **Blocklists: four free public lists.** Only lists whose operators allow free commercial use are included, so "listed on 0" means clean on these lists and is one input to a reputation view. Each list is self-tested at the start; one that stays silent is shown as "not checked". A listing belongs to the mail server's address, which can be shared with other customers of the same host. A fair-use limit applies per run on very large lists; rows past it are marked "not checked".
- **Domain age comes from the registry's public lookup.** It is available for .com, .net, .org, .uk and many other extensions. Extensions without a public lookup (for example .de and .us) show `TLD_HAS_NO_RDAP`; a busy registry shows `RDAP_RATE_LIMITED`.
- **DKIM keys are found by trying about 30 common selector names.** Add a known selector under **Extra DKIM selectors** for a certain answer.
- **Focused on public records.** Inbox-placement tests, monitoring over time and mailbox checks belong to other tools.
- **Large lists.** Up to 2,000 domains fit in one run. If a run gets close to its time limit it stops cleanly as `PARTIAL`, and the report lists how many domains are left for a second run.
- **Bulk-sender notes** repeat the guidance the large mailbox providers publish for senders of 5,000+ messages a day; sending volume itself stays private to the sender.

### Works well with

- To check single addresses on a list after the domain passes, pair it with [Email Address Validator](https://apify.com/khadinakbar/email-address-validator), then send only to addresses that validate.
- To find contact emails for the weak-graded domains, continue with [Bulk Website Contact Extractor](https://apify.com/khadinakbar/bulk-website-contact-extractor) and feed it the same domain list.

### Builder's note

I built this for people who sell email help and need a true reason to start a conversation. In my testing I found that the hard part was honesty, more than the look-ups: several well-known blocklists restrict commercial use or stay silent for cloud resolvers, which would show every domain as clean. So I designed each list to prove itself with a self-test before its answer counts, and each row to say plainly what was and was left unchecked.

### FAQ

**Why is a domain marked `PARTIAL` or `DNS_ERROR`?** Its name servers were slow to answer for a core record. Those rows are free; try them again later.

**Why `NO_MAIL`?** The domain has no mail servers (or publishes a null MX), so there is no email set-up to audit. It is free.

**Why does the blocklist field say "not checked"?** The free lists stayed silent for this run, or the fair-use limit for one run was reached. It never means the domain is clean.

**Why is the domain age empty?** The extension has no public registry lookup, the registry was busy, or it hides the date. The `reason` field says which.

**Can I check a subdomain?** Yes. DMARC is inherited from the main domain when the subdomain has none, and the row says so. Domain age uses the main domain.

**Where does the grade come from?** It is our own scale, explained above, so you can sort and compare domains in one list.

### Is it legal? Responsible use

Everything read is public DNS and public registry data that any mail server or person may look up. The Actor sends no email, makes no mail-server connections and collects no personal data. You are responsible for how you use the results, including any outreach, under the applicable laws and platform rules (for example CAN-SPAM, GDPR and PECR).

# Changelog

This Actor's version history is a separate document: https://apify.com/khadinakbar/email-health-sales-signals/changelog.md

# Actor input Schema

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

Domains to audit, one per item, for example "example.com". Website addresses ("https://www.example.com/page") and email addresses ("name@example.com") are also accepted and cut down to the domain. Duplicates are audited once. Use public domains only. For an AI assistant: pass a plain JSON array of strings.

## `checkDkim` (type: `boolean`):

Try about 30 common DKIM selector names (the most likely ones first, based on the mail service and sending tools seen in SPF). DKIM keys are only visible when the selector name is known, so "not found" means not found among the names tried. Turn off for the quickest run.

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

Optional extra selector names to try first, for example a client's known selector such as "s1" or "mail2024". Up to 10 names; letters, digits, dots and dashes.

## `checkBlacklists` (type: `boolean`):

Ask 4 free public spam blocklists whether the domain or its mail servers are listed. Each blocklist is self-tested at the start of the run; one that does not answer is reported as "not checked" on the row and is never shown as clean. Turn off for the quickest run.

## `checkDomainAge` (type: `boolean`):

Read the registration date from the registry's free public lookup. Works for most .com, .net, .org and many other extensions; where an extension has no public lookup the row gives the reason instead of a guess.

## `signals` (type: `boolean`):

Add plain-English sales signals per domain (for example: no DMARC, SPF broken, mail server on a blocklist, email on web hosting) and a one-sentence pitch angle. They are hints read from public records.

## `includeEvidence` (type: `boolean`):

Show the raw record text behind each result and signal, so you can quote it. Turn off for smaller rows.

## `maxDomains` (type: `integer`):

Safety limit on how many domains are audited in this run (1 to 2000). Domains beyond the limit are skipped and listed in the run warnings. To cap spending, set the run's maximum charge instead; the run then stops cleanly when it is reached.

## Actor input object example

```json
{
  "domains": [
    "tartinebakery.com",
    "joespizzanyc.com",
    "apify.com"
  ],
  "checkDkim": true,
  "dkimSelectors": [],
  "checkBlacklists": true,
  "checkDomainAge": true,
  "signals": true,
  "includeEvidence": true,
  "maxDomains": 2000
}
```

# Actor output Schema

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

One row per domain: status, A-F grade and reasons, mail service, SPF, DKIM, DMARC, MTA-STS, BIMI, blocklist result, domain age, sales signals and pitch angle.

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

Outcome (COMPLETE, PARTIAL, VALID_EMPTY, INVALID_INPUT or UPSTREAM_FAILED), row count, status counts, reasons, charged event counts and warnings.

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

Detailed run diagnostics: counts, time per domain, blocklist and registry coverage, stop reason.

## `runReport` (type: `string`):

Plain-language report of this run, ready to read or paste to a client.

# 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": [
        "tartinebakery.com",
        "joespizzanyc.com",
        "apify.com"
    ],
    "checkDkim": true,
    "dkimSelectors": [],
    "checkBlacklists": true,
    "checkDomainAge": true,
    "signals": true,
    "includeEvidence": true,
    "maxDomains": 2000
};

// Run the Actor and wait for it to finish
const run = await client.actor("khadinakbar/email-health-sales-signals").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": [
        "tartinebakery.com",
        "joespizzanyc.com",
        "apify.com",
    ],
    "checkDkim": True,
    "dkimSelectors": [],
    "checkBlacklists": True,
    "checkDomainAge": True,
    "signals": True,
    "includeEvidence": True,
    "maxDomains": 2000,
}

# Run the Actor and wait for it to finish
run = client.actor("khadinakbar/email-health-sales-signals").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": [
    "tartinebakery.com",
    "joespizzanyc.com",
    "apify.com"
  ],
  "checkDkim": true,
  "dkimSelectors": [],
  "checkBlacklists": true,
  "checkDomainAge": true,
  "signals": true,
  "includeEvidence": true,
  "maxDomains": 2000
}' |
apify call khadinakbar/email-health-sales-signals --silent --output-dataset

```

## MCP server setup

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

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/yeIH0baolR35qbMAD/builds/lOqnfS7rQNUjMzMWE/openapi.json
