{"uid":"cap_8TjLig1mmfOCOvVb2DrT-","slug":"domain-dns-lookup-x402-pay-per-call-d237865c","name":"Domain DNS Lookup (x402 Pay-per-call)","description":"Pay-per-call API for AI agents with no signup or API key. Email validation, SPF/DMARC audits, DNS lookup, site contacts, URL to Markdown, IBAN and Swedish personnummer/orgnr validation. From $0.001 in USDC on Base via x402.","url":"https://agentkit-x402.zenith-ops.workers.dev/v1/domain-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":["domain"],"properties":{"domain":{"type":"string","description":"Domain name without scheme."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"dnssec":{"note":"resolver_validated reflects the AD flag from the resolver (cloudflare-dns.com) for the A or NS answer.","ds_present":false,"dnskey_present":false,"resolver_validated":false},"domain":"example.com","records":{"a":[{"ttl":300,"data":"93.184.216.34"}],"ds":[],"mx":[{"ttl":3600,"data":"10 mail.example.com.","host":"mail.example.com","priority":10}],"ns":[{"ttl":3600,"data":"ns1.example.net"}],"caa":[],"soa":[],"txt":[{"ttl":300,"data":"v=spf1 -all"}],"aaaa":[],"cname":[],"dnskey":[]},"resolver":"cloudflare-dns.com (DNS-over-HTTPS)","failed_lookups":[]}},"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_h0yw_EsZWm7PkkTI_48_A","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 a comprehensive DNS lookup for a given domain, returning A, AAAA, MX, NS, TXT, CAA, SOA, CNAME, DS, and DNSKEY records along with DNSSEC validation status via Cloudflare DNS-over-HTTPS.","exampleAgentPrompt":"Can you do a full DNS lookup for zenith-ops.workers.dev and show me all the records — A, MX, TXT, NS — and tell me whether DNSSEC is enabled?","exampleUseCases":[{"title":"Email deliverability audit","prompt":"Look up all DNS records for mailchimp.com — I want to see the MX records and any TXT records like SPF so I can understand how their email is set up."},{"title":"DNSSEC security check","prompt":"Check the DNS records for cloudflare.com and tell me if DNSSEC is properly configured — I need to know if DS and DNSKEY records are present and if the resolver validated them."},{"title":"Domain nameserver verification","prompt":"Pull the NS records for example.org so I can confirm the nameservers are correctly pointing to our DNS provider after the migration."}],"resultDescription":"A JSON object containing the domain name, resolver used (Cloudflare DNS-over-HTTPS), all DNS record types (A, AAAA, MX, NS, TXT, CAA, SOA, CNAME, DS, DNSKEY) each with TTL and data fields, DNSSEC status (DS present, DNSKEY present, resolver validated), and a list of any failed lookups.","failureModes":["Invalid or non-existent domain returns empty record sets or error","Network timeout if DNS resolution takes too long","Payment failure via x402 if USDC balance is insufficient or wallet is misconfigured","Some record types may appear in failed_lookups if the DNS query fails for that type","DNSSEC resolver_validated reflects AD flag from Cloudflare resolver, may not reflect end-to-end validation"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, multi-record-type DNS lookup in a single call without requiring API key signup — especially useful for AI agents that need pay-per-use DNS resolution via USDC micropayments. Prefer over standard DNS libraries when you need DNSSEC status alongside all record types in one structured JSON response, or when operating in an environment where x402 payment is already wired in.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T12:35:55.649Z","isFirstParty":false,"canonicalSlug":"domain-dns-lookup-x402-pay-per-call-d237865c"}