{"uid":"cap_70anJmmdcLcYXNxXsJHQ8","slug":"dns-x402tools-xyz-19c64c2f","name":"DNS Record Lookup by x402tools","description":"Look up DNS records for any domain — A, AAAA, MX, NS, TXT, CNAME, SOA. Use for domain diagnostics, mail server lookup, DNS resolution, and domain verification.","url":"https://dns.x402tools.xyz/v1/lookup","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"],"type":"string"},"queryParams":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"Domain name to look up"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"a":{"type":"array","items":{"type":"string"}},"mx":{"type":"array"},"ns":{"type":"array","items":{"type":"string"}},"soa":{"type":"object"},"txt":{"type":"array"},"aaaa":{"type":"array","items":{"type":"string"}},"domain":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"a":["93.184.216.34"],"mx":[{"exchange":"mail.example.com","priority":10}],"ns":["a.iana-servers.net","b.iana-servers.net"],"domain":"example.com"}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"domain":"example.com"}}},"response":{"a":["172.66.147.243","104.20.23.154"],"mx":[{"exchange":"","priority":0}],"ns":["hera.ns.cloudflare.com","elliott.ns.cloudflare.com"],"soa":{"retry":2400,"expire":604800,"minttl":1800,"nsname":"elliott.ns.cloudflare.com","serial":2403488901,"refresh":10000,"hostmaster":"dns.cloudflare.com"},"txt":[["_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9"],["v=spf1 -all"]],"aaaa":["2606:4700:10::6814:179a","2606:4700:10::ac42:93f3"],"domain":"example.com"}},"exampleRequest":{"domain":"example.com"},"tags":["x402"],"displayCostAmount":"0.002","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TbRimxTaP7OHbzd1cFKY5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs DNS record lookups for any domain, returning A, AAAA, MX, NS, TXT, CNAME, and SOA records","exampleAgentPrompt":"Can you look up all the DNS records for github.com — I need to see the A, MX, NS, and TXT records?","exampleUseCases":null,"resultDescription":"Returns a structured object containing the domain name plus arrays of records by type: A (IPv4 addresses), AAAA (IPv6 addresses), MX (mail exchange), NS (nameservers), TXT (text records), CNAME (canonical name), and a SOA (start of authority) object.","failureModes":["Invalid or malformed domain name returns an error response","Non-existent domain (NXDOMAIN) may return empty record arrays","Network timeout if upstream DNS resolver is unreachable","Missing required 'domain' query parameter returns a 400-style error","Payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically inspect DNS infrastructure for any domain — verifying email server configuration, resolving IP addresses, checking nameservers, or validating SPF/DKIM TXT records. It covers all major DNS record types in a single call, making it efficient for comprehensive DNS audits. Prefer this over manual dig/nslookup when operating in an automated or agentic workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T02:25:42.088Z","isFirstParty":false}