{"uid":"cap__dIyAkO6Ge-YlVbBGC8ZE","slug":"agentshelf-spf-dmarc-policy-lookup-ecfb3aa1","name":"Agentshelf SPF & DMARC Policy Lookup","description":"Call when an agent needs SPF and DMARC policy for a public hostname (no mail is sent). Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/spf-dmarc first.","url":"https://agentshelf.syntexa.ch/v1/spf-dmarc?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.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ej3opOwEafg36EnSZMmJ2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves SPF and DMARC DNS policy records for a given public hostname without sending any email","exampleAgentPrompt":"What are the SPF and DMARC policies for gmail.com?","exampleUseCases":[{"title":"Email deliverability audit for domain","prompt":"Can you look up the SPF and DMARC records for my company's domain acmecorp.com so I can see how our email authentication is configured?"},{"title":"Security posture check on third-party sender","prompt":"Before we integrate with this vendor, can you check what SPF and DMARC policies sendgrid.net has in place?"},{"title":"Phishing risk assessment for suspicious domain","prompt":"I got an email from someone claiming to be from paypa1.com — can you pull the SPF and DMARC policy for that domain so I can see if it's a spoofing risk?"}],"resultDescription":"Returns the SPF TXT record and DMARC policy found in DNS for the given hostname, indicating what mail servers are authorized to send on behalf of the domain and what action should be taken on policy failures (none, quarantine, reject).","failureModes":["Hostname does not exist or has no DNS records — returns empty or error result","Hostname is malformed or exceeds 253 characters — validation error","Domain has no SPF or DMARC record published — returns null/absent fields","Network timeout reaching DNS resolver — transient error","Payment not processed — 402 response requiring USDC payment"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically fetch SPF and DMARC DNS policies for any public hostname without sending mail. Prefer the free sandbox endpoint (/v1/sandbox/spf-dmarc) first for testing; use this paid endpoint for production lookups when sandbox is unavailable or rate-limited. Better than general DNS tools when the agent specifically needs email authentication policy data structured and ready to use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:31.102Z","isFirstParty":false,"canonicalSlug":"agentshelf-spf-dmarc-policy-lookup-ecfb3aa1"}