{"uid":"cap_VF9Cv58OQEiTnIGd25Zsx","slug":"mail-security-dns-lookup-mx-spf-dmarc-0dcbc255","name":"Mail Security DNS Lookup (MX, SPF, DMARC)","description":"Free need-to-tool routing plus pay-per-call npm docs and TypeScript API signatures, npm breaking-change diffs, JavaScript-rendered browser snapshots and deterministic coding-agent checks via AgentCash/x402.","url":"https://x402-canary.nicolas-x402-16f380a7.workers.dev/v1/domain/mail-security","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"domain":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"domain":"example.com","has_mx":true,"spf_present":true,"dmarc_present":true},"meta":{"engine":"domain-enrich"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WQu8QXYP_F0yZ_suC8lNE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks a domain's mail security posture by verifying presence of MX records, SPF policy, and DMARC policy.","exampleAgentPrompt":"Can you check whether acme.com has MX, SPF, and DMARC records set up so I know if their email is properly secured?","exampleUseCases":[{"title":"Vendor email security audit","prompt":"Before we onboard this vendor, can you check if vendor-corp.com has SPF and DMARC configured so we know their emails won't be spoofed?"},{"title":"Deliverability troubleshooting","prompt":"We're not receiving emails from our partner at clientbrand.io — can you check if they actually have MX and SPF records set up correctly?"},{"title":"Cold outreach domain vetting","prompt":"I'm about to start a cold email campaign targeting leads at startupxyz.com — can you verify they have DMARC protection so I know they're a legit sending domain?"}],"resultDescription":"Returns a JSON object with the queried domain and boolean flags indicating whether MX records, SPF records, and DMARC records are present for that domain.","failureModes":["Invalid or malformed domain input returns an error","Non-existent domain may return all false flags rather than an error","DNS resolution timeouts may cause failures for slow-responding nameservers","Payment failure via x402 prevents the lookup from executing"],"whenToPreferThis":"Use this endpoint when you need a quick, structured boolean check on a domain's mail security DNS configuration (MX, SPF, DMARC presence) without needing full record content. Prefer this over raw DNS tools when you want a normalized JSON response consumable by an agent pipeline at a low per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:39:14.999Z","isFirstParty":false}