{"uid":"cap_0QnC9fF7F9I6GmSct4VfU","slug":"dns-record-resolver-340eeb3c","name":"DNS Record Resolver","description":"Web extraction, domain lookups and document tools for AI agents. Pay per call in USDC via x402 on Base or Algorand.","url":"https://agentpay.agentpay-apis.workers.dev/lookup/v1/dns?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","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Hostname to resolve"},"type":{"type":"string","description":"Record type, default A"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"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__rrtV4ws3kVbY1oGWjOWE","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":"Resolves DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, PTR, SRV) for a given hostname","exampleAgentPrompt":"Can you look up the MX records for gmail.com so I can see which mail servers handle their email?","exampleUseCases":[{"title":"Verify email domain configuration","prompt":"Look up the MX and TXT records for sendgrid.com — I want to confirm which mail servers are configured and check if there's an SPF record set up."},{"title":"Debug CNAME chain for subdomain","prompt":"Can you resolve the CNAME record for www.stripe.com? I need to see where it's pointing."},{"title":"Audit nameservers for a domain","prompt":"Fetch the NS records for cloudflare.com so I can confirm which nameservers are authoritative for that domain."}],"resultDescription":"Returns the resolved DNS records for the queried hostname and record type. The response includes the record type, TTL, and record values — for example, IP addresses for A/AAAA records, hostnames for MX/CNAME/NS records, or string data for TXT records.","failureModes":["Hostname does not exist (NXDOMAIN) — returns empty or error response","Requested record type not found for the hostname — returns empty record set","Invalid record type parameter — may return error or default to A record","DNS resolution timeout — transient network failure","Malformed hostname input — validation error"],"whenToPreferThis":"Use this endpoint when you need raw DNS resolution for a specific record type and hostname. It is ideal for infrastructure checks, email configuration verification, domain debugging, and security audits. Prefer this over the full domain report endpoint when you only need DNS data and want lower cost and faster response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:31:03.687Z","isFirstParty":false,"canonicalSlug":"dns-record-resolver-340eeb3c"}