{"uid":"cap_jLeRw2vFMwN2FBqLWVlAP","slug":"dns-lookup-via-dns-over-https-0582392b","name":"DNS Lookup via DNS-over-HTTPS","description":"DNS records for any domain via DNS-over-HTTPS. Paid per call: $0.002 USDC on Base, Monad, Arbitrum, Optimism, Polygon, Avalanche or Solana (eip155:8453) via x402 v2. No API key.","url":"https://dns-lookup.hsharmanov02.workers.dev/dns?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["domain"],"properties":{"type":{"type":"string","description":"A, AAAA, MX, TXT, NS, CNAME, or ALL"},"domain":{"type":"string"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5qAFBr8AOiQdm-OSRXB8M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves DNS records (A, AAAA, MX, TXT, NS, CNAME, or all) for any domain using DNS-over-HTTPS, paid per call with USDC via x402.","exampleAgentPrompt":"What are all the DNS records for github.com — I need the A, MX, and TXT records to verify the domain setup.","exampleUseCases":[{"title":"Email deliverability troubleshooting","prompt":"Can you look up the MX and TXT DNS records for sendgrid.com? I need to check the mail exchange and SPF records to troubleshoot email delivery issues."},{"title":"Domain IP address resolution","prompt":"What IP address does stripe.com resolve to? Look up its A record for me."},{"title":"Domain ownership verification","prompt":"Pull up all the TXT records for shopify.com — I'm checking for domain ownership verification tokens and SPF configuration."}],"resultDescription":"A JSON object containing the requested DNS record(s) for the given domain, including record type, values (e.g., IP addresses, hostnames, priority values), and TTL information, depending on the record type queried.","failureModes":["Domain does not exist or is not resolvable — returns an empty or error response","Invalid record type string — may return an error or unexpected results","Network or upstream DNS resolver failure — may return a timeout or 5xx error","Payment failure via x402 — request blocked if USDC payment is not processed","Malformed domain input — may return an error or null result"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-API-key DNS resolution via HTTPS, especially in serverless or agent contexts where setting up a full DNS library is impractical. It supports all common record types (A, AAAA, MX, TXT, NS, CNAME) and is ideal for one-off lookups or infrastructure checks. The x402 micropayment model makes it suitable for pay-per-use agent workflows without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:31:55.258Z","isFirstParty":false,"canonicalSlug":"dns-lookup-via-dns-over-https-0582392b"}