{"uid":"cap_TJpM_MhDt1x9Qkgmkt7zm","slug":"agentsvc-io-dns-lookup-7e91c8ed","name":"agentsvc.io DNS Lookup","description":"86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.","url":"https://agentsvc.io/api/v1/proxy/dns-lookup?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"types":{"type":"array","items":{"enum":["A","AAAA","MX","TXT","CNAME","NS"],"type":"string"},"default":["A"],"description":"DNS record types to resolve. Default: [\"A\"]. Supported: A, AAAA, MX, TXT, CNAME, NS"},"domain":{"type":"string","description":"Domain name to look up (e.g. 'example.com', 'mail.google.com')"}}},"responseSchema":{"type":"json","example":{"data":{"domain":"example.com","records":{"A":["93.184.216.34"],"MX":[{"exchange":"mail.example.com","priority":10}]},"resolved_at":"2026-04-07T12:00:00.000Z"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mseeNXLy6BcXZk9COK_DC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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, CNAME, NS) for a given domain name, returning structured DNS data","exampleAgentPrompt":"Look up the DNS records for stripe.com — I need the A records and MX records so I can verify their mail servers and IP addresses.","exampleUseCases":[{"title":"Email deliverability troubleshooting","prompt":"Check the MX and TXT DNS records for sendgrid.net — I need to see if their SPF and mail exchange records are configured correctly."},{"title":"Domain infrastructure reconnaissance","prompt":"Fetch the A, AAAA, and NS records for cloudflare.com so I can see what IPs and nameservers they're using."},{"title":"CNAME verification for subdomain setup","prompt":"Look up the CNAME record for docs.github.com — I want to confirm which domain it's pointing to."}],"resultDescription":"Returns a JSON object with the queried domain, a records map keyed by record type (A, AAAA, MX, TXT, CNAME, NS) containing the resolved values (IP strings for A/AAAA, exchange+priority objects for MX, raw strings for TXT/CNAME/NS), and a resolved_at ISO timestamp indicating when the lookup was performed.","failureModes":["Domain does not exist (NXDOMAIN) — records object may be empty or omitted","Invalid domain format — API may return a validation error","Unsupported record type requested — only A, AAAA, MX, TXT, CNAME, NS are supported","DNS timeout — upstream resolver may fail to respond in time","Payment failure — USDC payment on Base not processed, request blocked"],"whenToPreferThis":"Choose this endpoint when you need programmatic, per-call DNS resolution without setting up API keys or accounts, particularly in agent workflows that require occasional DNS lookups and want to pay only per call in USDC. Prefer this over manual nslookup or setting up a dedicated DNS API subscription for lightweight, infrequent lookups or when operating in a crypto-native payment environment via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:36:49.661Z","isFirstParty":false,"canonicalSlug":"agentsvc-io-dns-lookup-7e91c8ed"}