{"uid":"cap_tnHNtDxm0qg7yPpEZOc5M","slug":"swift-bot-labs-dns-mx-record-lookup-20ee2bc7","name":"Swift Bot Labs DNS MX Record Lookup","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/dns/mx?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"Domain, e.g. example.com"}},"additionalProperties":false},"discoverable":{"type":"boolean"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"dns-mx","result":{"mx":[{"ttl":3600,"host":"aspmx.l.google.com","priority":1}],"domain":"github.com","nullMx":false,"provider":"Google Workspace","acceptsMail":true}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-mQCEYCaNaqxZai2Lz1DN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up MX (mail exchanger) DNS records for a domain and returns mail server hosts, priorities, TTLs, inferred email provider, and whether the domain accepts email.","exampleAgentPrompt":"Look up the MX records for github.com and tell me what email provider they use and whether the domain actually accepts mail.","exampleUseCases":[{"title":"Email provider identification for outreach","prompt":"What email provider does acmecorp.com use? Look up their MX records and tell me if it's Google Workspace, Microsoft 365, or something else."},{"title":"Pre-send deliverability check","prompt":"Before I send a batch of emails, can you check if stripe.com has valid MX records set up and actually accepts incoming mail?"},{"title":"Null MX detection for bounce prevention","prompt":"Check the MX records for noreply-domain.io — I want to know if it has a null MX record meaning it intentionally rejects email, so I can skip it from my mailing list."}],"resultDescription":"Returns a JSON object with the domain queried, an array of MX records (each with host, priority, and TTL), a boolean indicating whether the domain accepts mail, a boolean for null MX, and an inferred human-readable email provider name (e.g. 'Google Workspace', 'Microsoft 365').","failureModes":["Domain does not exist — returns empty MX array or DNS NXDOMAIN error","Domain has no MX records configured — acceptsMail will be false","Transient DNS resolution failure — may return error or empty result","Invalid domain format in query parameter — likely returns validation error","Network timeout on DNS upstream — may result in delayed or failed response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-auth, pay-per-call MX record lookup with automatic email provider detection and null MX identification — ideal for agents doing email validation, lead enrichment, or deliverability checks without setting up a full DNS library or managing API keys. Prefer it over general DNS tools when the specific goal is understanding email routing for a domain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:40.675Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-dns-mx-record-lookup-20ee2bc7"}