{"uid":"cap_QxQh63UR6o-2hB04zgDsj","slug":"x402-dns-lookup-api-ad07784e","name":"x402 DNS Lookup API","description":"Generated by create next app","url":"https://x402-qr-api.vercel.app/api/dns?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_spABzUt1yyTc4earn5bC9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a DNS lookup for a given domain and returns DNS record information, payable via the x402 micropayment protocol","exampleAgentPrompt":"Can you do a DNS lookup for example.com and tell me its A records and nameservers?","exampleUseCases":[{"title":"Verify domain DNS configuration","prompt":"Look up the DNS records for myshop.io — I want to see the A records and nameservers to make sure everything is configured correctly."},{"title":"Check IP behind competitor domain","prompt":"Can you resolve the IP address for competitor-site.com? I want to know where their servers are pointing."},{"title":"Debug email delivery issues","prompt":"Can you look up the MX and TXT DNS records for acmecorp.com? I'm trying to debug why our emails to them are bouncing."}],"resultDescription":"Returns DNS record data for the queried domain, including record types (A, MX, TXT, CNAME, NS, etc.), associated values such as IP addresses or hostnames, and TTL values. The response is structured JSON describing the resolved DNS information.","failureModes":["Invalid or non-existent domain returns an error or empty record set","Network timeout if DNS resolution takes too long","Payment failure via x402 protocol prevents access","Malformed domain input may return a 400 or validation error","Temporary DNS resolver unavailability may cause intermittent failures"],"whenToPreferThis":"Use this endpoint when you need programmatic DNS resolution with micropayment billing via the x402 protocol, particularly in agentic workflows where you need to verify domain configurations, resolve hostnames, or audit DNS setups without requiring a subscription or API key — just a small per-call USDC payment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:37:15.514Z","isFirstParty":false,"canonicalSlug":"x402-dns-lookup-api-ad07784e"}