{"slug":"agentsvc-io-api-v1-proxy-dns-lookup-d5434e","title":"Resolve DNS records for any domain","host":"agentsvc.io","method":"POST","resource":"https://agentsvc.io/api/v1/proxy/dns-lookup","category":"other","description":"Resolve DNS records for any domain. Supports A, AAAA, MX, TXT, CNAME, NS. Returns records object with array per type. Default: A records only. Use to verify mail server setup (MX), check domain ownership (TXT), or debug DNS propagation.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":885,"reported_calls_30d":11,"reported_payers_30d":3,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"domain":"github.com","types":["A","MX"]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"domain":{"description":"Domain name to look up (e.g. 'example.com', 'mail.google.com')","type":"string"},"types":{"default":["A"],"description":"DNS record types to resolve. Default: [\"A\"]. Supported: A, AAAA, MX, TXT, CNAME, NS","items":{"enum":["A","AAAA","MX","TXT","CNAME","NS"],"type":"string"},"type":"array"}},"required":["domain"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"properties":{"domain":{"description":"The queried domain name","type":"string"},"records":{"description":"Map of DNS record type → array of records","properties":{"A":{"description":"IPv4 addresses","items":{"type":"string"},"type":"array"},"AAAA":{"description":"IPv6 addresses","items":{"type":"string"},"type":"array"},"CNAME":{"description":"Canonical name records","items":{"type":"string"},"type":"array"},"MX":{"description":"Mail exchange records","items":{"properties":{"exchange":{"type":"string"},"priority":{"type":"integer"}},"type":"object"},"type":"array"},"NS":{"description":"Nameserver records","items":{"type":"string"},"type":"array"},"TXT":{"description":"TXT records (joined entries)","items":{"type":"string"},"type":"array"}},"type":"object"},"resolved_at":{"description":"ISO 8601 timestamp of the lookup","format":"date-time","type":"string"}},"required":["domain","records","resolved_at"],"type":"object"},"success":{"type":"boolean"}},"required":["success","data"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":885,"error":null}],"description_full":"Resolve DNS records for any domain. Supports A, AAAA, MX, TXT, CNAME, NS. Returns records object with array per type. Default: A records only. Use to verify mail server setup (MX), check domain ownership (TXT), or debug DNS propagation.","last_updated":"2026-10-10T09:08:00.906Z","schemes":["exact"]}