MX Lookup API
Pricing
$1.04 / 1,000 domain checkeds
Go to Apify Store
MX Lookup API
Look up MX (Mail Exchange) DNS records for any domain. Verify email server configuration, check mail routing, and validate domain email deliverability.
MX Lookup API
Pricing
$1.04 / 1,000 domain checkeds
Look up MX (Mail Exchange) DNS records for any domain. Verify email server configuration, check mail routing, and validate domain email deliverability.
List of domain names to check. You may also provide email addresses — the domain will be extracted automatically. Do not include protocol or path.
[ "gmail.com", "outlook.com", "yahoo.com"]Look up MX records and detect the email provider (Google Workspace, Microsoft 365, Zoho, etc.).
Look up and parse SPF (TXT) records. Validates policy, mechanisms, and DNS lookup count.
Check DKIM records for common selectors. Validates key type and key length.
Look up and parse DMARC policy from _dmarc.. Validates policy, reporting emails, and alignment mode.
Test STARTTLS support on the primary MX server (port 25 connection). Adds ~2-3s per domain. Disabled by default.
List of DKIM selectors to probe. Each selector queries {selector}._domainkey.{domain}.
[ "google", "selector1", "selector2", "default", "k1", "k2", "s1", "s2", "dkim", "mail"]Identify the email provider from MX hostnames (Google Workspace, Microsoft 365, Zoho, ProtonMail, Fastmail, etc.).
Include raw DNS record strings in addition to parsed fields.
Filter output to only include domains that have detected misconfigurations (missing SPF, weak DMARC, no DKIM, etc.).
Maximum number of concurrent DNS lookups. Higher values are faster but may trigger rate limiting.
Timeout for each DNS lookup in milliseconds.