Query MX (Mail Exchange) records for any domain. Returns mail server hostnames with priority values, useful for email routing and deliverability analysis.
{
"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"
}
]
}
}






Query MX (Mail Exchange) records for any domain. Returns mail server hostnames with priority values, useful for email routing and deliverability analysis.
A single authenticated GET with the location you care about — no SDK required.
GET /v1/mxlookup?query=… x-api-key: your_key
Each request pulls from multiple upstream sources and computes the derived fields for you.
One structured object, typically under 200 ms — ready to render.
{ domain, mx, … }
Real applications shipping on this endpoint today — each with the numbers that made it worth wiring up.
See every use caseCheck MX records before adding domains to email lists to ensure deliverability.
Detect email providers from MX records to qualify leads and personalize outreach.
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);Every related API ships with your key — no separate plans, no extra keys, one bill.
See pricingReady-made recipes for Zapier, Make, and n8n — trigger on an event, and the data lands where your team works.
The same key unlocks every other APIVerve endpoint — reach for them when you need them.
Browse the catalog