{"uid":"cap_6MbbkB-1C9Hwz6i_n18SY","slug":"dns-txt-record-lookup-x402atlas-b9d80699","name":"DNS TXT Record Lookup (x402atlas)","description":"DNS TXT record lookup — a domain's TXT records as a clean JSON list: SPF, DKIM and DMARC policy strings plus site-verification and domain-ownership tokens, for email-authentication and domain-verification checks.","url":"https://dns.use.x402atlas.com/txt","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":["host"],"properties":{"host":{"type":"string","maxLength":253,"minLength":1,"description":"Bare hostname to resolve (not an IP literal, not localhost, not under a reserved suffix like .local/.internal)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["host","records","queried_at"],"properties":{"host":{"type":"string","description":"The queried hostname"},"records":{"type":"array","items":{"type":"string"},"description":"Raw, unparsed TXT record strings (SPF, DKIM, DMARC, verification tokens)"},"queried_at":{"type":"string","format":"date-time","description":"UTC timestamp of the lookup"}}}}}}},"responseSchema":{"type":"json","example":{"host":"example.com","records":["v=spf1 -all"],"queried_at":"2026-06-05T12:00:00Z"}},"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_MZMhCX84OqYzhcDvEeE41","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":"Resolves DNS TXT records for a hostname, returning SPF, DKIM, DMARC, and domain-verification strings as clean JSON.","exampleAgentPrompt":"Can you pull all the DNS TXT records for example.com so I can check whether SPF, DKIM, and DMARC are configured correctly?","exampleUseCases":null,"resultDescription":"A clean JSON object containing all DNS TXT records associated with the queried hostname, including SPF policy strings, DKIM public key records, DMARC policy entries, and any domain-ownership verification tokens.","failureModes":["Domain does not exist — returns empty TXT record list or DNS NXDOMAIN error","No TXT records configured for the hostname — returns empty array","Invalid hostname format — returns validation error","DNS resolution timeout — returns timeout or upstream error","Rate limiting or payment failure — returns 402 or 429 status"],"whenToPreferThis":"Use this endpoint when you need to inspect or validate DNS TXT records for email authentication (SPF, DKIM, DMARC) or domain ownership verification. Prefer it over a general DNS resolver when you specifically need TXT records returned as structured JSON ready for agent consumption, and want per-query micropayment billing instead of a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:40:08.777Z","isFirstParty":false}