{"uid":"cap_2x5Ab0LYhDMTHVGUroY4z","slug":"x402-dns-lookup-api-071ff317","name":"x402 DNS Lookup API","description":"66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.","url":"https://workspace-x402-paywall.onrender.com/dev/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"],"type":"string"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Requires a domain name string, e.g. example.com"},"type":{"type":"string","description":"Requires a DNS record type string: A, AAAA, MX, TXT, etc. (default A)"}}}},"additionalProperties":false}}},"responseSchema":{"type":"object"},"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_mcQ2fXw-62Vbt4yQT49bK","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":"Performs DNS record lookups for a given domain, returning DNS records of a specified type, paid per-call via x402 USDC micropayment.","exampleAgentPrompt":"Can you look up the A records for github.com using that pay-per-call DNS API?","exampleUseCases":[{"title":"Verify domain MX records for email setup","prompt":"Look up the MX records for mycompany.com so I can confirm our email routing is configured correctly."},{"title":"Check domain IP resolution","prompt":"What IP address does api.stripe.com resolve to? Can you do a DNS A record lookup for that domain?"},{"title":"Validate SPF and TXT records for deliverability","prompt":"Can you fetch the TXT records for acme.io? I need to confirm our SPF record is in place for email deliverability."}],"resultDescription":"Returns an object containing the requested DNS records for the specified domain, filtered by the given record type (default A) and optionally limited to specified fields such as name and value.","failureModes":["Domain not found or does not exist — empty or error response","Invalid record type specified — may return error or empty result","Malformed domain name input — API may reject with 4xx","Payment not accepted or insufficient USDC balance — 402 response blocking the call","Network timeout from DNS upstream resolver — slow or no response"],"whenToPreferThis":"Choose this endpoint when you need programmatic, pay-per-call DNS resolution without API key setup, especially in agent workflows that already use x402 USDC micropayments on Base or Solana. Ideal for one-off DNS lookups where a subscription-based DNS API is overkill and micropayment convenience is valued.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:31:09.998Z","isFirstParty":false,"canonicalSlug":"x402-dns-lookup-api-071ff317"}