{"uid":"cap_605IVOVLS6apUs-7tpXlL","slug":"agenttools-email-validator-syntax-mx-check-31a097e0","name":"AgentTools Email Validator (Syntax + MX Check)","description":"Validate an email address in two layers: strict RFC-style syntax, then a live DNS MX lookup on the domain to confirm the recipient actually runs mail servers. Catches the typos and fake domains that pure regex misses. Use this when an agent needs to syntax + live MX check — can this address receive mail?.","url":"https://agenttools-hub.vercel.app/api/v1/dev/email-validator?utm_source=zero.xyz","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":["email"],"properties":{"email":{"type":"string","description":"Email address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JoZQfeDwdLMo-ewmsQN1q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an email address with two-layer checking: strict RFC-style syntax validation followed by a live DNS MX lookup to confirm the domain actually accepts mail.","exampleAgentPrompt":"Can you check if the email address john.doe@example-company.com is actually valid — both the format and whether that domain has real mail servers set up?","exampleUseCases":[{"title":"Sign-up form email verification","prompt":"Before I add this user to my database, can you validate their email address jane.smith@acme-corp.io — check that it's properly formatted and that the domain actually runs mail servers?"},{"title":"Catch fake emails in lead capture","prompt":"I have a lead who submitted support@totallyfakedomainxyz123.com on my contact form — can you check if that email address is real and the domain actually accepts mail?"},{"title":"Bulk outreach list cleaning","prompt":"I'm about to send a campaign but I want to screen out bad addresses first — can you validate newsletter@techstartup.co to confirm it passes syntax checks and the domain has MX records before I add it to the list?"}],"resultDescription":"Returns a two-layer validation result: whether the email passes RFC-style syntax rules, and whether the email's domain has live DNS MX records confirming it can receive mail. Catches typos and fake/non-existent domains that regex alone would miss.","failureModes":["Domain exists but has no MX records — email is syntactically valid but undeliverable","DNS lookup timeout or failure returns an indeterminate result for MX check","Malformed email input causes immediate syntax failure without MX check","Valid MX records exist but specific mailbox may still not exist (not checked at this layer)","Temporary DNS propagation issues may cause false negatives on newly registered domains"],"whenToPreferThis":"Choose this endpoint when you need to go beyond basic regex validation and confirm a domain actually runs mail infrastructure — ideal for sign-up flows, lead qualification, mailing list hygiene, or any scenario where sending to a bad address has a cost. Prefer this over pure client-side regex checks or single-layer syntax validators when deliverability confidence matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:28.985Z","isFirstParty":false,"canonicalSlug":"agenttools-email-validator-syntax-mx-check-31a097e0"}