{"slug":"agentstoolshub-com-api-v1-security-mx-lookup-94a628","title":"Query the MX records for any domain via DNS-over-HTTPS","host":"agentstoolshub.com","method":"GET","resource":"https://agentstoolshub.com/api/v1/security/mx-lookup","category":"other","description":"Query the MX records for any domain via DNS-over-HTTPS: every mail exchanger with its priority, sorted so the primary (lowest number) comes first. The definitive check for 'can this domain receive email' before sending anything. Use this when an agent needs to mail exchangers by priority, live from ","price_listed":0.002,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"domain":"gmail.com"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"domain":{"description":"Domain","type":"string"}},"required":["domain"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Query the MX records for any domain via DNS-over-HTTPS: every mail exchanger with its priority, sorted so the primary (lowest number) comes first. The definitive check for 'can this domain receive email' before sending anything. Use this when an agent needs to mail exchangers by priority, live from DNS.","last_updated":"2026-10-17T23:36:08.154Z","schemes":["exact"]}