{"uid":"cap_yl7fim0VYcFezNpAtamf0","slug":"agentshelf-dns-txt-spf-lookup-a6774c39","name":"AgentShelf DNS TXT SPF Lookup","description":"Call when an agent needs apex TXT records that start with v=spf1. Fails when no SPF record exists. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/dns-txt-spf first.","url":"https://agentshelf.syntexa.ch/v1/dns-txt-spf?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hostname":{"type":"string","examples":["example.com"],"maxLength":253,"minLength":1,"description":"Public DNS hostname such as example.com. Not a URL, not an IP literal, and not a private name."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D52rGJlSJigpgkNPOJIRU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the SPF TXT record (v=spf1...) from the DNS of a given hostname","exampleAgentPrompt":"Can you pull the SPF TXT record for github.com — I need to see what mail servers are authorized to send on its behalf?","exampleUseCases":[{"title":"Email deliverability audit for a domain","prompt":"Check the SPF DNS record for sendgrid.net — I want to see the full v=spf1 policy they have published."},{"title":"Verifying a client domain's email setup","prompt":"Pull the SPF TXT record for acme-corp.com so I can confirm their domain is properly configured to authorize their ESP."},{"title":"Security review of third-party sender","prompt":"What's the SPF record for mailchimp.com? I want to see which IP ranges and mechanisms it includes."}],"resultDescription":"Returns the apex DNS TXT record for the given hostname that begins with 'v=spf1', representing the domain's Sender Policy Framework policy string. Fails with an error if no SPF record exists for the hostname.","failureModes":["No SPF record found for the hostname — endpoint returns an error or empty result","Hostname does not exist or is unreachable via DNS","Malformed hostname input exceeding 253 characters","Network timeout during DNS resolution","Multiple SPF records present (technically invalid per RFC) — behavior may be undefined"],"whenToPreferThis":"Use this endpoint when you specifically need to retrieve the SPF TXT record (v=spf1) for a domain and want a simple, dedicated lookup without building DNS resolution infrastructure. Prefer the free sandbox endpoint (/v1/sandbox/dns-txt-spf) first if available; fall back to this paid endpoint when the sandbox is unavailable or rate-limited. Good fit for email deliverability checks, domain security audits, and mail server authorization verification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:22:13.777Z","isFirstParty":false,"canonicalSlug":"agentshelf-dns-txt-spf-lookup-a6774c39"}