# Email authentication check API > Pay-per-call email authentication check: MX, SPF, DKIM and DMARC for a domain from live DNS, scored 0-100. Payment: x402 v2, exact scheme, USDC on Base (eip155:8453), paid to 0xb1F5Aa2d750547a84Fc53B8519dE235D7BC29e29. Settled through the Coinbase CDP facilitator. A request without a payment header returns 402 with the price and the input schema. ## Endpoints - GET /email-auth/:domain - $0.0025 USDC - Call this when you need to know if a domain sends and receives email safely, for example before onboarding a sender, vetting a signup domain or debugging deliverability. Returns MX, SPF, DMARC and probed DKIM selectors with a 0-100 score and findings, from live DNS. Unknown domains and DNS outages are not charged. - path param domain: Domain to check, without scheme or path, for example github.com - query param selector: Optional DKIM selector to probe in addition to the common ones, for example google or selector1 - Example output: {"domain":"github.com","checkedAt":"2026-11-19T23:33:39.674Z","score":93,"verdict":"strong","mx":{"present":true,"nullMx":false,"records":[{"priority":0,"host":"github-com.mail.protection.outlook.com"}]},"spf":{"present":true,"record":"v=spf1 ip4:192.30.252.0/22 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net include:mktomail.com include:sendgrid.net ip4:62.253.227.114 ip4:166.78.69.169 ip4:166.78.69.170 ip4:166.78.71.131 ~all","recordCount":1,"allQualifier":"~all","policy":"softfail","mechanisms":14,"dnsLookupMechanisms":8,"includes":["spf.protection.outlook.com","_netblocks.google.com","_netblocks2.google.com","mail.zendesk.com","_spf.salesforce.com","servers.mcsv.net","mktomail.com","sendgrid.net"],"issues":[]},"dmarc":{"present":true,"record":"v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:dmarc@github.com; ruf=mailto:dmarc@github.com; fo=1","policy":"quarantine","subdomainPolicy":"reject","pct":100,"adkim":"r","aspf":"r","rua":["mailto:dmarc@github.com"],"ruf":["mailto:dmarc@github.com"],"issues":[]},"dkim":{"selectorsProbed":20,"selectorsFound":[{"selector":"google","via":"txt","keyType":"rsa","hasPublicKey":true,"revoked":false},{"selector":"selector1","via":"cname","cname":"selector1-github-com._domainkey.microsoft.onmicrosoft.com","keyType":"rsa","hasPublicKey":true,"revoked":false},{"selector":"selector2","via":"cname","cname":"selector2-github-com._domainkey.microsoft.onmicrosoft.com","keyType":"rsa","hasPublicKey":false,"revoked":false}],"note":"DKIM selectors cannot be listed from DNS. Only the probed common selectors are checked, so an empty list does not prove DKIM is absent. Pass selector to probe a specific one."},"findings":[],"source":"Cloudflare DNS over HTTPS (cloudflare-dns.com), live queries","limitations":["SPF include chains are not expanded: dnsLookupMechanisms counts top-level mechanisms only.","DKIM is probed on common selectors only.","The score is a configuration hygiene indicator, not a deliverability guarantee."]} ## Links - OpenAPI: https://x402-emailauth-poc.theliminalguy.workers.dev/openapi.json - Health: https://x402-emailauth-poc.theliminalguy.workers.dev/health - Rule: you are not charged when the response status is 400 or higher.