{"uid":"cap_a7RZj5H-qDO2GTjg-E1WM","slug":"dns-txt-record-lookup-for-www-subdomain-via-cloudflare-doh-11a82c9c","name":"DNS TXT Record Lookup for www Subdomain via Cloudflare DoH","description":"TXT record of www.<domain>: looks up the www host under the domain you give (TXT via Cloudflare DoH) and reports whether it exists, its records and TTL. Quick existence check for common hosts like www without enumerating subdomains. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/host/www/txt?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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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":null,"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_gIpC3RV-IrL6q5zvgyBBH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up TXT DNS records for the www.<domain> subdomain using Cloudflare DNS-over-HTTPS and returns existence status, records, and TTL.","exampleAgentPrompt":"Can you look up the TXT DNS records for the www subdomain of example.com using Cloudflare DoH and tell me if it exists and what records it has?","exampleUseCases":[{"title":"Verify www subdomain DNS presence","prompt":"Check whether www.acmecorp.com has any TXT records in DNS and show me what they say, including the TTL."},{"title":"Pre-deployment DNS sanity check","prompt":"Before I launch my site, can you confirm that www.mynewstartup.io has TXT records set up correctly and tell me what they resolve to?"},{"title":"Investigate competitor web infrastructure","prompt":"I want to know if www.rivalcompany.com has any TXT records — maybe SPF or verification tokens — can you pull those DNS records for me?"}],"resultDescription":"Returns whether the www.<domain> host exists in DNS, its TXT record values (e.g. SPF strings, domain verification tokens), the TTL of those records, and the DNS response code (e.g. NOERROR or NXDOMAIN).","failureModes":["Domain does not exist (NXDOMAIN) — www subdomain has no DNS records","No TXT records present for www subdomain even though the host exists","Malformed domain input causing query failure","Cloudflare DoH upstream timeout or unavailability","Network error reaching the endpoint"],"whenToPreferThis":"Use this endpoint when you specifically need TXT records for the www subdomain of a domain and want a fast, authoritative Cloudflare DoH response. Prefer this over generic DNS resolvers when you need DoH privacy and reliability, and when you only care about the www host rather than the apex domain or other subdomains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:41:44.050Z","isFirstParty":false,"canonicalSlug":"dns-txt-record-lookup-for-www-subdomain-via-cloudflare-doh-11a82c9c"}