{"uid":"cap_TIxiLD0OvAAnMFIWCm6Af","slug":"email-authentication-posture-check-spf-dmarc-dkim-mx-ed2449c6","name":"Email Authentication Posture Check (SPF/DMARC/DKIM/MX)","description":"Email authentication posture check: parses SPF, DMARC and DKIM plus MX for any domain and grades deliverability/anti-spoofing gaps (SPF +all, SPF >10 lookups, DMARC p=none, missing DKIM). Clean JSON for deliverability and security-ops automation.","url":"https://email-auth.use.x402atlas.com/check","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","pattern":"^[A-Za-z0-9-]{1,63}(\\.[A-Za-z0-9-]{1,63})*$","maxLength":253,"description":"Domain to check — hostname only, no scheme/IP literal, no trailing dot, no localhost, no local/internal/reserved suffix (.local, .internal, .localdomain, .lan, .test)"},"selector":{"type":"string","description":"Optional DKIM selector to check authoritatively; if omitted, a common-selector list is probed"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["domain","queried_at","accepts_mail","mx","spf","dmarc","dkim","warnings"],"properties":{"mx":{"type":"array","items":{"type":"object","properties":{"host":{"type":"string"},"pref":{"type":"integer","maximum":65535,"minimum":0}}}},"spf":{"type":["object","null"],"properties":{"record":{"type":"string"},"mechanisms":{"type":"array","items":{"type":"object","properties":{"kind":{"enum":["include","a","mx","ip4","ip6","all","exists","ptr","redirect","exp","unknown"],"type":"string"},"value":{"type":"string"},"qualifier":{"enum":["+","-","~","?"],"type":"string"},"causes_dns":{"type":"boolean"}}}},"dns_lookups":{"type":"integer","minimum":0,"description":"count of lookup-causing terms; RFC 7208 limit is 10"},"all_qualifier":{"enum":["-all","~all","?all","+all",""],"type":"string","description":"qualifier on the all mechanism; empty when absent"}},"description":"null when no SPF record is present"},"dkim":{"type":"object","properties":{"found":{"type":"array","items":{"type":"object","properties":{"record":{"type":"string"},"selector":{"type":"string"}}}},"checked_selectors":{"type":"array","items":{"type":"string"},"description":"exact selectors probed"}}},"dmarc":{"type":["object","null"],"properties":{"pct":{"type":"integer","default":100,"maximum":100,"minimum":0},"rua":{"type":"array","items":{"type":"string"},"description":"aggregate report addresses"},"ruf":{"type":"array","items":{"type":"string"},"description":"forensic report addresses"},"aspf":{"enum":["r","s"],"type":"string","default":"r"},"adkim":{"enum":["r","s"],"type":"string","default":"r"},"policy":{"enum":["none","quarantine","reject",""],"type":"string","description":"p= tag; empty when missing/invalid"},"record":{"type":"string"},"subdomain_policy":{"type":"string","description":"sp= tag; empty when absent (inherits policy)"}},"description":"null when no DMARC record is present"},"domain":{"type":"string"},"warnings":{"type":"array","items":{"type":"string"},"description":"human-readable posture advisories; never null"},"queried_at":{"type":"string","format":"date-time"},"accepts_mail":{"type":"boolean","description":"true when the domain has at least one MX record"}}}}}}},"responseSchema":{"type":"json","example":{"mx":[{"host":"aspmx.l.google.com.","pref":1}],"spf":{"record":"v=spf1 include:_spf.google.com ~all","mechanisms":[{"kind":"include","value":"_spf.google.com","qualifier":"+","causes_dns":true},{"kind":"all","value":"","qualifier":"~","causes_dns":false}],"dns_lookups":1,"all_qualifier":"~all"},"dkim":{"found":[{"record":"v=DKIM1; k=rsa; p=MIGfMA0GCSq...","selector":"google"}],"checked_selectors":["default","google","selector1","selector2","k1","dkim","mail"]},"dmarc":{"pct":100,"rua":["mailto:dmarc@example.com"],"ruf":[],"aspf":"s","adkim":"s","policy":"reject","record":"v=DMARC1; p=reject; pct=100; rua=mailto:dmarc@example.com; adkim=s; aspf=s","subdomain_policy":""},"domain":"example.com","warnings":[],"queried_at":"2026-07-02T12:00:00Z","accepts_mail":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7XypjO-NljZqlmTKHOVaC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses and grades SPF, DMARC, DKIM, and MX records for any domain, identifying deliverability and anti-spoofing configuration gaps.","exampleAgentPrompt":"Can you check the email authentication posture for acme.com — I want to see if their SPF, DMARC, and DKIM records are properly configured and whether there are any deliverability or spoofing gaps?","exampleUseCases":[{"title":"Phishing risk vendor domain check","prompt":"We're about to wire funds to a new supplier using invoices from payments@globalsupplyco.com — can you check if globalsupplyco.com has proper DMARC and SPF in place, or if their domain could easily be spoofed by someone sending fake invoices?"},{"title":"Debug emails landing in spam","prompt":"Our marketing emails from newsletter@brightwave.io keep landing in recipients' spam folders — can you pull the SPF, DKIM, and DMARC records for brightwave.io and tell me if there are any configuration issues that might be hurting our deliverability?"},{"title":"Bulk M&A domain security audit","prompt":"We're doing due diligence on a potential acquisition and I need to audit the email security posture of these five domains: targco.com, targco.io, targco.net, targco-labs.com, and targco-corp.com — can you check each one for SPF, DMARC, and DKIM gaps and flag any that are vulnerable to spoofing?"}],"resultDescription":"A structured JSON object containing parsed SPF, DMARC, DKIM, and MX records for the specified domain, along with a deliverability/anti-spoofing grade and a list of detected configuration gaps (e.g. SPF uses +all, SPF exceeds 10 DNS lookups, DMARC policy is 'none', DKIM missing).","failureModes":["Domain not found or does not exist — returns error indicating invalid domain","Domain has no DNS records — returns empty or missing record fields","DKIM selector not found when explicitly specified — returns DKIM check failure","Network/DNS resolution timeout — returns timeout error","Invalid domain format provided (e.g. includes scheme or is an IP literal) — returns validation error"],"whenToPreferThis":"Use this endpoint when you need a fast, structured, automated audit of a domain's email authentication configuration — especially for security operations, deliverability troubleshooting, phishing risk assessment, or bulk domain monitoring pipelines. It is ideal when you need clean JSON output suitable for automation rather than a human-readable web report.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:39:07.118Z","isFirstParty":false}