{"uid":"cap_SiShWMrI9y6eCvYL-Kkp-","slug":"mx-record-lookup-4d731fdf","name":"MX Record Lookup","description":"Return raw MX records (preference + exchange host) for a domain, sorted by preference.","url":"https://email-verify-api-production-d262.up.railway.app/mx-lookup","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"domain":{"type":"string","description":"Domain to fetch raw MX records for, e.g. 'acme.com'."}}},"responseSchema":null,"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_rV3fTfclyMBSkZk_gZuZy","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":"Returns raw MX records (preference value + exchange hostname) for a given domain, sorted by preference.","exampleAgentPrompt":"Can you pull all the raw MX records for stripe.com and show me the exchange hostnames sorted by preference?","exampleUseCases":[{"title":"Diagnose email delivery failures","prompt":"We're having trouble delivering emails to clients at acme.com — can you fetch the raw MX records for acme.com so I can see which mail servers are configured and in what priority order?"},{"title":"Validate domain mail routing setup","prompt":"I just set up a new domain for my company, newbrand.io — can you look up the MX records and show me the preference values and exchange hostnames to confirm our mail routing is configured correctly?"},{"title":"Audit third-party mail provider","prompt":"I want to know which email provider handles mail for competitor.com — can you pull the MX records for competitor.com and tell me the exchange hostnames sorted by preference?"}],"resultDescription":"A list of MX records for the requested domain, each containing a numeric preference value and the exchange hostname, sorted in ascending order of preference (lower number = higher priority).","failureModes":["Domain does not exist or has no MX records — returns empty list or error","Invalid domain format provided — returns validation error","DNS resolution timeout or upstream failure — returns error indicating lookup failure","Rate limiting or payment failure for x402 micropayment — returns 402 or 429 status"],"whenToPreferThis":"Use this endpoint when you need raw, unfiltered MX record data for a domain — including preference values and all exchange hostnames — rather than just a boolean check on whether MX records exist. Prefer this over the domain-check endpoint when you need the actual server hostnames for routing analysis, SMTP configuration auditing, or mail provider identification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:32:15.135Z","isFirstParty":false}