{"uid":"cap_T-YN7gl8F2AgUJ5UfQrYF","slug":"email-domain-validation-classification-516c99d4","name":"Email Domain Validation & Classification","description":"Validate and classify an email DOMAIN from public DNS: MX hosts + mail-provider, SPF and DMARC policy, plus disposable / free-webmail / role-account flags and a deliverability signal. No SMTP probing of individual mailboxes (privacy + ToS).","url":"https://api.agentstools.dev/enrich/email?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"email":{"type":"string","description":"Email address (its domain is checked)"},"domain":{"type":"string","description":"Alternative input: the email domain directly"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":{"p10Cents":"0.5000","medianCents":"0.5000","p90Cents":"0.5000","minCents":"0.5000","maxCents":"0.5000","p95Cents":"0.5000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PxWhNjz4C9liUvuwiaq1H","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and classifies an email domain via DNS: MX records, mail provider, SPF/DMARC policy, disposable/free-webmail/role-account flags, and a deliverability signal.","exampleAgentPrompt":"Can you check whether the domain for 'signup@tempmail.io' is a disposable or free-webmail provider, and tell me if it has valid SPF and DMARC records set up?","exampleUseCases":null,"resultDescription":"Returns MX host records and identified mail provider, SPF and DMARC policy details, boolean flags for disposable/free-webmail/role-account classification, and an overall deliverability signal for the domain.","failureModes":["Domain does not exist in DNS — returns not-found or invalid domain error","Domain has no MX records — deliverability signal will be negative","Malformed email or domain input — returns validation error","DNS timeout or lookup failure — returns transient error","Rate limit or payment failure — returns 402 or 429 error"],"whenToPreferThis":"Use this endpoint when you need to validate or classify an email domain at the DNS level without SMTP probing — ideal for pre-screening signups, detecting disposable/throwaway addresses, checking free-webmail providers, verifying SPF/DMARC policy compliance, or flagging role-based addresses like info@ or support@. Prefer it over SMTP-based validators when privacy and ToS compliance are important.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:38:07.644Z","isFirstParty":false,"canonicalSlug":"email-domain-validation-classification-516c99d4"}