Find Mail Server Records Instantly

MX Lookup API.

Query MX (Mail Exchange) records for any domain. Returns mail server hostnames with priority values, useful for email routing and deliverability analysis.

Free tier, no card< 200ms responses99.9% uptime SLA
GET/v1/mxlookuplive
Response200 OK · sample
{
  "status": "ok",
  "error": null,
  "data": {
    "domain": "yahoo.com",
    "mx": [
      {
        "priority": 1,
        "exchange": "mta7.am0.yahoodns.net"
      },
      {
        "priority": 1,
        "exchange": "mta6.am0.yahoodns.net"
      },
      {
        "priority": 1,
        "exchange": "mta5.am0.yahoodns.net"
      }
    ]
  }
}
Sample response · verify to run one live call, no signup
Integrates with your favorite tools
LangChainn8nZapierMakePipedreamPower AutomatePostman

MX Lookup API

Query MX (Mail Exchange) records for any domain. Returns mail server hostnames with priority values, useful for email routing and deliverability analysis.

  • Mail server hostnames with priority
  • Email provider detection
  • Fast DNS resolution
  • Works with any domain
  1. 1

    Send one request

    A single authenticated GET with the location you care about — no SDK required.

    GET /v1/mxlookup?query=
    x-api-key: your_key
  2. 2

    We do the aggregation

    Each request pulls from multiple upstream sources and computes the derived fields for you.

  3. 3

    Get clean JSON back

    One structured object, typically under 200 ms — ready to render.

    { domain, mx, }

Everything in a single call.

/v1/mxlookupapplication/json
domain"yahoo.com"
mxarray of 3

What developers build with it.

Real applications shipping on this endpoint today — each with the numbers that made it worth wiring up.

See every use case

Call it in your language.

Copy a working request, or install a typed SDK. Same endpoint, same key.

const res = await fetch("https://api.apiverve.com/v1/mxlookup?domain=yahoo.com", {
  headers: { "x-api-key": "YOUR_API_KEY" },
});
const { data } = await res.json();
console.log(data);

One subscription, the whole find mail server records instantly stack.

Every related API ships with your key — no separate plans, no extra keys, one bill.

See pricing
8APIs in this bundle
99.9%uptime SLA

Wire it into the tools you already run.

Ready-made recipes for Zapier, Make, and n8n — trigger on an event, and the data lands where your team works.

Google Sheets
Look up MX records for domain list
WhenNew row added
ThenLook up MX records → update row with results
Slack
Alert when a domain has no MX records
WhenNew domain added (via webhook)
ThenLook up MX records → alert if empty
Airtable
Enrich domain records with MX data
WhenNew record created
ThenLook up MX records → populate mail server fields
Notion
Add mail server info to domain entries
WhenNew database item created
ThenLook up MX records → update properties
Salesforce
Enrich leads with mail server data
WhenNew lead created
ThenLook up MX records → update custom field
GitHub
Check committer email domains
WhenNew pull request opened
ThenLook up MX records → add comment
Browse all integrations

Questions about the API

What are MX records?
MX (Mail Exchange) records are DNS entries that specify which mail servers should receive email for a domain. Lower priority numbers indicate higher preference.
What is the priority value?
Priority determines the order mail servers are tried. Lower numbers are preferred. If priority 10 fails, the sender tries priority 20, and so on.
Can you detect the email provider?
Yes, we identify common providers like Google Workspace, Microsoft 365, Zoho, and others based on MX record patterns.
What if a domain has no MX records?
Domains without MX records typically cannot receive email. Some may fall back to A records, but this is uncommon.
How current is the data?
MX lookups are performed in real-time against authoritative DNS servers, so you always get current records.
Can I use this for email verification?
MX lookup confirms a domain can receive email. Combine with our Email Validator for full address verification.

Start building with the MX Lookup API. Free tier, no card required — your key is live in minutes.

Bonus: 300+ more APIs

The same key unlocks every other APIVerve endpoint — reach for them when you need them.

Browse the catalog