Email Security Check: SPF, DMARC, DKIM & MX avatar

Email Security Check: SPF, DMARC, DKIM & MX

Pricing

$3.00 / 1,000 domains

Go to Apify Store
Email Security Check: SPF, DMARC, DKIM & MX

Email Security Check: SPF, DMARC, DKIM & MX

Bulk-check how well domains are protected against email spoofing: SPF, DMARC policy, DKIM keys, MX and mail provider, MTA-STS, BIMI. Score, grade and a plain-language fix list per domain.

Pricing

$3.00 / 1,000 domains

Rating

0.0

(0)

Developer

Kacper Kruszka

Kacper Kruszka

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Check how well any domain is protected against email spoofing and phishing — in bulk. For each domain you get the mail provider, SPF, DMARC policy, DKIM keys found, MTA-STS, TLS reporting, BIMI and DNSSEC, plus a score out of 100, a grade A–F and a plain-language list of what to fix.

It reads public DNS through Google Public DNS over HTTPS. No login, no browser, no proxy — hundreds of domains finish in a minute.

What you can do with it

  • Lead generation for IT and email agencies — find companies whose domain can be spoofed (no DMARC, p=none, SPF +all) and offer them a fix.
  • Deliverability checks — Gmail and Yahoo require SPF, DKIM and DMARC from bulk senders; see which of your clients' domains would fail.
  • Vendor and supplier due diligence — spot partners whose domains are easy to impersonate in invoice fraud.
  • Monitoring your own domains — run it on a schedule and watch for a DMARC record or SPF include that disappeared.

Input

FieldWhat it does
domainsDomains, URLs or email addresses: example.com, https://shop.com, info@company.com
dkimSelectorsOptional extra DKIM selectors to try (common ones like google, selector1, selector2, default, k1, s1 are always tried)
maxConcurrencyDomains checked in parallel (default 5)

Output (one row per domain)

Real output from a run on 23 Nov 2026 (long records shortened here).

{
"domain": "apify.com",
"domainExists": true,
"mailProvider": "Google Workspace",
"mx": [
{
"priority": 1,
"host": "aspmx.l.google.com"
},
{
"priority": 5,
"host": "alt1.aspmx.l.google.com"
}
],
"spf": {
"found": true,
"record": "v=spf1 a mx include:_spf.google.com include:mailgun.org incl…",
"all": "fail (-all)",
"lookups": 6,
"multiple": false
},
"dmarc": {
"found": true,
"record": "v=DMARC1; p=reject; sp=reject; pct=100; rua=mailto:dmarc-rep…",
"policy": "reject",
"subdomainPolicy": "reject",
"pct": 100,
"reporting": true
},
"dkim": {
"selectorsChecked": 13,
"selectorsFound": [
"google"
]
},
"mtaSts": true,
"tlsRpt": true,
"bimi": true,
"dnssec": true,
"score": 100,
"grade": "A",
"issues": [],
"spfPolicy": "fail (-all)",
"dmarcPolicy": "reject",
"dkimFound": true,
"checkedAt": "2026-11-23T21:54:20.049Z",
"error": null
}```
The table view shows grade, score, provider, SPF and DMARC policy, DKIM, MTA-STS and the issue list. A `SUMMARY` record in the key-value store counts grade-A domains and domains without SPF or DMARC.
## How the score works
SPF present and ending in `-all`/`~all`, DMARC present and enforcing (`quarantine` or `reject`, with reports), a DKIM key on a known selector and an MX record carry most of the points; MTA-STS, TLS-RPT and BIMI add a few. DNSSEC is reported but not scored.
## Limits
- DKIM keys live under a selector chosen by the sender. If a domain uses a custom selector, add it in `dkimSelectors`; otherwise "no DKIM found" means "not on the common selectors".
- The check reads DNS only. It does not send email or connect to mail servers.
## Pricing
Pay per event: you pay only for domains checked and saved to the dataset. Domains that fail with an error are saved with the error text.