{"uid":"cap_HGWfqc3ByQZ0m5itp2j6H","slug":"mx-record-lookup-and-mail-server-check-cfb2925d","name":"MX Record Lookup and Mail Server Check","description":"Mail servers of a domain by priority, whether each resolves to an address, and null-MX or implicit-MX handling.","url":"https://domain-dns.x402tookit.com/mx-check?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":["domain"],"properties":{"domain":{"type":"string","description":"Domain name, e.g. gmail.com"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"mx":{"type":["array","null"],"items":{"type":"object","properties":{"host":{"type":["null","string"]},"ipv4":{"type":["null","number"]},"ipv6":{"type":["null","number"]},"priority":{"type":["null","number"]},"resolves":{"type":["boolean","null"]}}}},"asOf":{"type":["null","string"]},"domain":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iTyE2NLPCEbcLQPOkHjzw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the mail servers (MX records) for a domain ordered by priority, with DNS resolution status for each host, and handles null-MX and implicit-MX edge cases.","exampleAgentPrompt":"What are the mail servers for stripe.com, listed by priority, and do they all resolve to real addresses?","exampleUseCases":[{"title":"Pre-send email deliverability check","prompt":"Before we try to send that outreach email, check whether acme.com has working MX records — I want to know if the mail servers resolve and whether the domain is actually set up to receive email."},{"title":"Detecting null-MX or non-mail domains","prompt":"I'm cleaning our lead list — can you check if noreply-example.org is a domain that explicitly rejects email via null-MX or otherwise has no valid mail servers?"},{"title":"Mail provider identification for a domain","prompt":"Which email provider does shopify.com use? Look up their MX records and tell me the hosts and their priority order."}],"resultDescription":"Returns a structured object containing an array of MX records (each with host, priority, IPv4/IPv6 count, and a resolves boolean), a verdict string summarizing mail-readiness, a human-readable summary, an array of reasons explaining the verdict, flags for null-MX and degraded states, a timestamp, and optionally a source URL and disclaimer.","failureModes":["Domain does not exist — returns empty MX array with appropriate verdict","DNS timeout — may return degraded flag set to true","Invalid domain input — missing or malformed domain query parameter","Domain has null-MX record (RFC 7505) — returned as null host entry with explanation","Domain relies on implicit MX (A record fallback) — noted in reasons"],"whenToPreferThis":"Choose this endpoint when you specifically need MX record data — mail server hostnames, their DNS resolution status, priority ordering, and null-MX handling — rather than a full DNS record dump. It is more targeted than the all-records endpoint and more focused than the email address screen endpoint, making it ideal for mail routing validation, deliverability checks, and infrastructure audits where MX detail is the primary concern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T18:48:27.543Z","isFirstParty":false,"canonicalSlug":"mx-record-lookup-and-mail-server-check-cfb2925d"}