Domain Health Audit: SPF, DMARC, SSL & Security Headers Score avatar

Domain Health Audit: SPF, DMARC, SSL & Security Headers Score

Pricing

Pay per usage

Go to Apify Store
Domain Health Audit: SPF, DMARC, SSL & Security Headers Score

Domain Health Audit: SPF, DMARC, SSL & Security Headers Score

Bulk audit of domains: SPF, DMARC, DKIM, MX, SSL expiry, security headers, security.txt. One 0-100 score and a prioritized fix list per domain.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

LightData Tools

LightData Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

28 minutes ago

Last modified

Categories

Features

Limited permissions

Share

Domain Health Audit: Email Auth, SSL & Security Headers Score

Demo video: https://youtu.be/Q213CkcVlkM

Paste a list of domains and get a 0-100 score, an A-F grade and a fix list sorted by impact for each one. Built for agencies, IT teams and cold-email senders who need to audit many domains fast.

What it checks

  • SPF: present, one record only, ends in ~all/-all, follows redirect=, counts DNS lookups (limit 10).
  • DMARC: policy (none/quarantine/reject), pct, rua reporting. Subdomains inherit the parent domain policy, as the standard says.
  • DKIM: tries about 30 common selectors plus yours. Selectors are private, so "not detected" means unknown, never "missing". DKIM does not change the score.
  • MX records, SSL certificate (expiry, invalid, self-signed), security headers (HSTS, CSP, X-Frame-Options, nosniff, Referrer-Policy), security.txt.

Only public DNS and HTTPS requests. No logins, no private data.

Input

{ "domains": ["example.com", "yourclient.com"], "dkimSelectors": ["mycustom"], "concurrency": 20, "timeoutSecs": 8 }

Up to 100,000 domains per run (default cap 10,000). Duplicates are removed.

Output

One dataset row per domain: domain, score, grade, topIssue, issues[], mx, spf, dmarc, dmarcPolicy, dkimStatus, dkimSelectorsFound, sslDaysLeft, securityHeaders, securityTxt. Export from the Console in JSON, CSV, Excel, XML or HTML, or use the API. Each run also saves REPORT.csv (one row per domain with all fixes), REPORT.md (readable fix report, worst domains first) and SUMMARY (grade counts) in the key-value store.

How the score works

Starts at 100. Penalties: no DMARC -20, SSL problem -20, no SPF -15, SPF/DMARC weak -10, missing HSTS -5, and smaller ones for other headers. Grades: A 90+, B 80+, C 70+, D 55+, F below. Every deduction is listed in issues so nothing is hidden. A site with no MX is not penalised for having no mail server, but missing SPF/DMARC on it is still flagged because parked domains are commonly spoofed.

API

curl -X POST "https://api.apify.com/v2/acts/USERNAME~domain-health-audit/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" -d '{"domains":["example.com"]}'
import { ApifyClient } from 'apify-client';
const run = await new ApifyClient({ token: 'YOUR_TOKEN' }).actor('USERNAME/domain-health-audit').call({ domains: ['example.com'] });
from apify_client import ApifyClient
run = ApifyClient('YOUR_TOKEN').actor('USERNAME/domain-health-audit').call(run_input={'domains': ['example.com']})
items = ApifyClient('YOUR_TOKEN').dataset(run['defaultDatasetId']).list_items().items

CSV: https://api.apify.com/v2/datasets/DATASET_ID/items?format=csv&token=YOUR_TOKEN

Limits

Results are a snapshot of public DNS/HTTPS at run time. A domain behind aggressive bot protection may show headers differently. This is an audit aid, not a penetration test.