{"uid":"cap_NU-iUNE941nRMLkvbS4Va","slug":"lookproof-mx-record-lookup-45ea99ba","name":"Lookproof MX Record Lookup","description":"Check SPF, DMARC, DKIM, MTA-STS, DNSSEC and more, with results that explain what was found and why. Free browser checks and a pay-per-request API with x402.","url":"https://api.lookproof.dev/v1/mail/mx?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","title":"DomainInput","required":["domain"],"properties":{"domain":{"type":"string","title":"Domain","examples":["example.com"],"maxLength":1024,"minLength":1}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1Pyed3JrUPVzq5y-mJzBC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Lists a domain's mail servers in priority order and detects null MX (RFC 7505) or unresolvable MX targets, with coded diagnostic findings.","exampleAgentPrompt":"Can you look up the mail servers for acme.com, list them in preference order, and tell me if the domain is configured to reject email or if any of the MX targets don't resolve?","exampleUseCases":[{"title":"Email deliverability pre-flight check","prompt":"Before we send the campaign, check that newsletter.example.com actually has working mail servers — list the MX records in order and flag any that don't resolve."},{"title":"Detect domain that blocks inbound mail","prompt":"Does parked-domain.io have a null MX record set? I want to know if it's deliberately configured to reject all incoming email under RFC 7505."},{"title":"Identify mail provider for a prospect domain","prompt":"Can you find where email for bigcorp.com is delivered? I need to know which mail servers handle their inbound mail and in what priority order."}],"resultDescription":"Returns an ordered list of MX records for the domain (hostname and preference value for each), a flag indicating whether a null MX (RFC 7505) is present, the resolution status of each MX target hostname, and coded findings describing any detected issues such as unresolvable targets or missing MX records.","failureModes":["Domain does not exist (NXDOMAIN) — returns no MX records with a not-found diagnostic code","Domain has no MX records — returns empty list with a coded finding indicating no mail routing configured","MX targets exist but do not resolve to any IP — flagged per-target with a resolution-failure code","Malformed or excessively long domain input — rejected with a validation error","DNS resolver timeout — may return partial results or a timeout error code"],"whenToPreferThis":"Use this endpoint when you specifically need to understand mail routing for a domain — either to enumerate MX servers in priority order, detect a null MX (RFC 7505) indicating the domain intentionally rejects mail, or diagnose why a domain cannot receive email. Prefer this over a generic DNS resolver endpoint when you need structured mail-routing semantics, coded diagnostic findings, and RFC 7505 null MX detection rather than raw DNS record data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:44.010Z","isFirstParty":false,"canonicalSlug":"lookproof-mx-record-lookup-45ea99ba"}