APIs/MX

MX lookup API

GET /mx/{domain}

Fetch MX records for a domain, prioritizing and sorting them according to mailers' preferences.

An empty mx array means no MX. To verify if a domain is available for registration, use the /domain/{domain} endpoint.

3.1M+
domains indexed
24h
refresh cycle
priority
sorted output
$ curl "https://api.parseapi.com/mx/gmail.com" \
  -H "X-API-Key: YOUR_API_KEY"

// 200 · ~15ms · USA
{
  "domain": "gmail.com",
  "mx": [
    {
      "priority": 5,
      "host": "gmail-smtp-in.l.google.com"
    },
    {
      "priority": 10,
      "host": "alt1.gmail-smtp-in.l.google.com"
    },
    // ... 3 more
  ]
}

Response fields

domain
Hostname checked
mx
MX list, priority and host (empty if none)

SPEED

Fast from everywhere.

Median time for a /mx response to reach a real city, first byte back, measured live from 16 cities. Not a lab benchmark. The whole trip.

US

15ms

EU

24ms

APAC

46ms

LatAm

19ms

ME

124ms

See live status →