{"uid":"cap_989wbhgAXOZ8_7EfkPZW9","slug":"x402-tools-dns-lookup-a25f93fb","name":"x402-tools DNS Lookup","description":"Pay-per-call utility APIs for AI agents, settled in USDC via the x402 protocol.","url":"https://x402.nichospt.net/dns-lookup?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"type":{"enum":["A","AAAA","MX","TXT","NS","CNAME","SOA"],"type":"string","default":"A"},"domain":{"type":"string","description":"Domain name to query"}}},"responseSchema":{"type":"json","example":{"type":"A","found":true,"domain":"example.com","records":["93.184.215.14"]}},"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":{"p10Cents":"1.0000","medianCents":"1.0000","p90Cents":"1.0000","minCents":"1.0000","maxCents":"1.0000","p95Cents":"1.0000","sampleCount":1,"varies":false,"failureChargeRate":1},"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_DhJQKg53O2v8p-C44j-Td","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs DNS record lookups for a given domain, returning records of a specified type (A, AAAA, MX, TXT, NS, CNAME, SOA), paid per-call in USDC via x402.","exampleAgentPrompt":"What are the MX records for github.com?","exampleUseCases":null,"resultDescription":"A JSON object containing the queried domain, the record type requested, a boolean indicating whether records were found, and an array of the matching DNS record values (e.g. IP addresses, hostnames, or text strings depending on type).","failureModes":["Domain does not exist — found: false with empty records array","Invalid record type enum value — validation error","Malformed domain string — error response","DNS timeout or upstream resolver failure — server error","Payment failure via x402 — 402 response before DNS query is executed"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically resolve DNS records for a domain as part of an automated workflow — especially when standard system DNS tools are unavailable or when the agent needs structured JSON output with support for multiple record types (A, AAAA, MX, TXT, NS, CNAME, SOA). The pay-per-call x402 model makes it suitable for low-volume, on-demand lookups without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:34:51.241Z","isFirstParty":false,"canonicalSlug":"x402-tools-dns-lookup-a25f93fb"}