{"uid":"cap_gMRepEAuJv876C2ONtMIs","slug":"domain-dns-lookup-api-62fbe1c2","name":"Domain DNS Lookup API","description":"Free need-to-tool routing plus pay-per-call npm docs and TypeScript API signatures, npm breaking-change diffs, JavaScript-rendered browser snapshots and deterministic coding-agent checks via AgentCash/x402.","url":"https://x402-canary.nicolas-x402-16f380a7.workers.dev/v1/domain/dns","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"types":{"type":"array","items":{"type":"string"},"maxItems":5},"domain":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"answers":{"A":[]}},"meta":{"engine":"dns"}}},"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_4iv4JDqrFDQcuRdaABkBe","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":"Performs DNS lookups for a given domain, returning DNS record answers (A, AAAA, MX, TXT, etc.) by querying specified record types.","exampleAgentPrompt":"Can you look up the A and MX DNS records for example.com?","exampleUseCases":[{"title":"Email domain DNS verification","prompt":"Check the MX and TXT DNS records for acme-corp.com — I need to see if the mail server and SPF records are correctly configured."},{"title":"Domain A record resolution","prompt":"What's the A record for api.stripe.com? I want to know what IP address it resolves to."},{"title":"DNS propagation check","prompt":"Query the A and AAAA records for mynewdomain.io — I just updated DNS and want to see if the new records are live yet."}],"resultDescription":"Returns a JSON object with DNS answers keyed by record type (e.g. A, MX, TXT) for the queried domain, along with metadata indicating the DNS engine used.","failureModes":["Invalid or non-existent domain returns empty answers or error","Unsupported DNS record types may return empty arrays","Payment failure (402) if x402 micropayment is not included or insufficient","Network timeout if DNS resolution takes too long","Malformed input (missing domain field) returns validation error"],"whenToPreferThis":"Choose this endpoint when an AI coding agent or automated workflow needs programmatic DNS lookups as part of infrastructure checks, domain validation, or network debugging — especially when operating within an x402 micropayment context and needing deterministic, structured JSON DNS responses without setting up a full DNS resolver library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:35:46.533Z","isFirstParty":false}