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.
$ 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
SPEED
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