{"uid":"cap_EOjYSq1NgxnikBnYEgQkW","slug":"api-strale-io-c1cf74dd","name":"MX & DNS Lookup with Email Provider Detection","description":"DNS lookup for MX, A, AAAA, NS, TXT, SOA records. Detects email provider (Google, Microsoft, etc.), SPF, and DMARC records.","url":"https://api.strale.io/x402/mx-lookup","method":"GET","headers":{},"bodySchema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string"}}},"responseSchema":{"domain":{"type":"string"},"has_spf":{"type":"boolean"},"has_dmarc":{"type":"boolean"},"mx_records":{"type":"array"},"email_provider":{"type":"string"}},"example":{"request":{"domain":"github.com"},"response":{"soa":{"serial":1,"primary_ns":"ns-1707.awsdns-21.co.uk","admin_email":"awsdns-hostmaster.amazon.com"},"_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0x85757fa7719de0b331874a937d4fc2fa89fec73bde1e12b7cdf71d73d361b26d"},"capability":"mx-lookup","latency_ms":5,"provenance":{"source":"dns-resolve","fetched_at":"2026-06-13T04:25:44.497Z"}},"domain":"github.com","has_mx":true,"has_spf":true,"has_ipv6":false,"a_records":["140.82.113.3"],"has_dmarc":false,"mx_records":[{"exchange":"github-com.mail.protection.outlook.com","priority":0}],"spf_record":"v=spf1 ip4:192.30.252.0/22 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net include:mktomail.com include:sendgrid.net ip4:62.253.227.114 ip4:166.78.69.169 ip4:166.78.69.170 ip4:166.78.71.131 ~all","nameservers":["ns-520.awsdns-01.net","dns3.p08.nsone.net","ns-1707.awsdns-21.co.uk","dns4.p08.nsone.net","dns1.p08.nsone.net","ns-421.awsdns-52.com","dns2.p08.nsone.net","ns-1283.awsdns-32.org"],"aaaa_records":[],"dmarc_record":null,"email_provider":"Microsoft 365"}},"exampleRequest":{"domain":"github.com"},"tags":["x402"],"displayCostAmount":"0.0216","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QEB6XhplyNxbmPjcNskd3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs DNS lookups for MX, A, AAAA, NS, TXT, SOA records and detects email providers (Google, Microsoft, etc.), SPF, and DMARC configurations for a given domain.","exampleAgentPrompt":"Can you look up all the DNS records for github.com — I want to know which email provider they use, what their MX records are, and whether they have SPF and DMARC configured?","exampleUseCases":null,"resultDescription":"Returns structured DNS records including MX, A, AAAA, NS, TXT, and SOA entries, along with detected email provider (e.g. Google Workspace, Microsoft 365), parsed SPF record details, and DMARC policy configuration.","failureModes":["Domain does not exist or is not resolvable — empty or error response","Invalid domain format provided — input validation error","DNS timeout or upstream resolver failure — service error","Domain exists but has no MX records — empty MX result with other records present"],"whenToPreferThis":"Use this endpoint when you need comprehensive DNS record resolution combined with intelligent email provider detection and email security posture analysis (SPF/DMARC) in a single call, rather than querying raw DNS resolvers separately.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:14.331Z","isFirstParty":false}