{"uid":"cap_Y1zyudeJIYVz7pJ0Rlum8","slug":"email-verify-api-mx-record-lookup-cd2b493d","name":"Email Verify API – MX Record Lookup","description":"Email verification with x402 payments. $0.001 per request in USDC on Base.","url":"https://email.payapi.market/mx-lookup?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"domain":{"type":"string","description":"Domain to fetch raw MX records for, e.g. 'acme.com'."}}},"responseSchema":{"type":"json","example":{"domain":"acme.com","mx_records":[{"exchange":"aspmx.l.google.com","preference":1},{"exchange":"alt1.aspmx.l.google.com","preference":5}]}},"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_Hsa5PyrmtOKS5iVB9Sca0","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":"Fetches raw MX (Mail Exchange) DNS records for a given domain, enabling email deliverability validation and mail server discovery.","exampleAgentPrompt":"Can you look up the MX records for stripe.com so I can verify it has valid mail servers set up?","exampleUseCases":[{"title":"Pre-send email deliverability check","prompt":"Before I send out this marketing campaign, check whether the domain techcrunch.com actually has MX records configured so I know the emails won't bounce."},{"title":"Validate user email domain on signup","prompt":"A user just signed up with an email at randomdomain.xyz — can you check if that domain has any MX records so I can tell if it's a real email address or a throwaway?"},{"title":"Audit partner domain mail infrastructure","prompt":"We're onboarding a new partner at acme.com — can you pull their MX records so our IT team can verify their mail infrastructure before we whitelist them?"}],"resultDescription":"Returns a JSON object containing the queried domain and an array of MX record objects, each with an 'exchange' field (the mail server hostname) and a 'preference' field (priority integer). Lower preference values indicate higher priority mail servers.","failureModes":["Domain has no MX records — returns empty mx_records array","Invalid or malformed domain input — may return an error or empty result","Domain does not exist (NXDOMAIN) — lookup fails or returns empty","DNS timeout or upstream resolver failure — service may return error","Malformed request body missing the domain field — request rejected"],"whenToPreferThis":"Use this endpoint when you need raw MX record data for a specific domain, particularly for email validation workflows, deliverability pre-checks, or DNS auditing. It is ideal for lightweight, per-domain lookups with micropayment billing via x402/USDC on Base, making it suitable for high-volume automated pipelines where pay-per-use is preferred over subscription plans.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:38:49.282Z","isFirstParty":false,"canonicalSlug":"email-verify-api-mx-record-lookup-cd2b493d"}