{"uid":"cap_pvTpawwNzbSwqpuamTUSn","slug":"dns-txt-record-lookup-for-api-domain-subdomain-bfdb36a9","name":"DNS TXT Record Lookup for api.<domain> Subdomain","description":"TXT record of api.<domain>: looks up the api 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 api without enumerating subdomains. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/host/api/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_XCt2JnIhVvT9wRC0UDsoA","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 records for the api.<domain> subdomain via Cloudflare DNS over HTTPS and returns whether it exists, its record values, and TTL.","exampleAgentPrompt":"Can you check if api.stripe.com has any TXT DNS records set, and tell me what they are along with the TTL?","exampleUseCases":[{"title":"Verify API subdomain TXT configuration","prompt":"Check whether api.github.com has any TXT records in DNS and show me what values are set and their TTL."},{"title":"SPF record check on API host","prompt":"Does api.sendgrid.com have an SPF or any other TXT record configured? I want to see the raw record values."},{"title":"Confirm API subdomain existence before integration","prompt":"Before I start integrating with their platform, can you confirm that api.acmecorp.com actually exists in DNS and has TXT records — and tell me what they say?"}],"resultDescription":"Returns whether the api.<domain> subdomain exists in DNS, any TXT record string values associated with it, the TTL of those records, and the DNS response code indicating success or failure of the lookup.","failureModes":["Domain does not exist — returns NXDOMAIN response code with no records","api subdomain not present — exists flag false, empty records","Network or DoH resolver timeout from Cloudflare","Malformed domain input causes lookup failure","TXT records exist but are empty strings"],"whenToPreferThis":"Use this endpoint when you need a quick, targeted check for TXT records specifically on the api.<domain> subdomain without enumerating all subdomains. Prefer this over generic DNS tools when you want a cheap ($0.01), single-shot existence and record check for the api host using Cloudflare's reliable DoH infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:48:53.811Z","isFirstParty":false,"canonicalSlug":"dns-txt-record-lookup-for-api-domain-subdomain-bfdb36a9"}