{"uid":"cap_D5Z6dGIS0EbU1RD-0cc5w","slug":"dns-record-lookup-94dab585","name":"DNS Record Lookup","description":"DNS, WHOIS/RDAP, IP ownership and one-call domain reports.","url":"https://agentpay-lookup.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_jTiyqyXZlGLGQKBbJ2u_o","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 for a given hostname, returning structured query results by record type.","exampleAgentPrompt":"What are the A records for github.com? Can you do a DNS lookup for me?","exampleUseCases":[{"title":"Verify domain email configuration","prompt":"Can you look up the MX records for acmecorp.com so I can confirm their email is set up correctly?"},{"title":"Resolve IP address for a hostname","prompt":"What IP address does api.stripe.com resolve to? Do a DNS A record lookup for me."},{"title":"Check domain nameserver configuration","prompt":"Can you fetch the NS records for shopify.com so I can see which nameservers they're using?"}],"resultDescription":"A JSON response containing the resolved DNS records for the queried hostname, including record type, values (e.g. IP addresses, hostnames, priorities), and TTL information where available.","failureModes":["Hostname does not exist or is not resolvable — returns empty or NXDOMAIN equivalent","Invalid record type specified — may return error or default to A record","Network timeout reaching DNS resolver — returns timeout error","Missing required 'name' query parameter — returns validation error","Rate limiting or payment failure — returns 402 or 429 status"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call DNS resolution without managing your own resolver infrastructure. Prefer it for lightweight agent workflows that need to programmatically check DNS records for one or a few hostnames on demand. It is well-suited for validation, enrichment, or investigation tasks where standing up a full DNS library is overkill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:38:12.698Z","isFirstParty":false,"canonicalSlug":"dns-record-lookup-94dab585"}