{"uid":"cap_9B_s38BpOBqHm0nqnRQDl","slug":"spf-record-checker-815a1488","name":"SPF Record Checker","description":"Fetch and validate a domain's SPF record (RFC 7208). Parses mechanisms (ip4/ip6/include/a/mx/all), counts DNS lookups against the famous 10-lookup limit, and flags the qualifier on `all` (-/fail, ~/softfail, ?/neutral). The first stop when an email is hitting the spam folder.","url":"https://agent402.tools/api/spf-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"domain":{"type":"string","description":"Domain name (also accepts email/url/host)"}}},"responseSchema":{"type":"json","example":{"all":"softfail","raw":"v=spf1 include:_spf.google.com ~all","valid":true,"domain":"google.com","warnings":[],"hasRecord":true,"mechanisms":[{"type":"include","value":"_spf.google.com","qualifier":"pass"},{"type":"all","qualifier":"softfail"}],"lookupCount":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_r7iTHMVccKyA2fkJ843Sn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and validates a domain's SPF record, parsing mechanisms and counting DNS lookups against the 10-lookup limit","exampleAgentPrompt":"Can you check the SPF record for example.com and tell me if it's valid, how many DNS lookups it uses, and whether the all mechanism is set to fail or softfail?","exampleUseCases":null,"resultDescription":"Returns parsed SPF record data including all mechanisms (ip4, ip6, include, a, mx, all), the total DNS lookup count compared to the 10-lookup RFC limit, and the qualifier on the 'all' mechanism indicating the policy (-all for fail, ~all for softfail, ?all for neutral)","failureModes":["Domain has no SPF record — returns not-found or empty result","Domain does not exist or is unreachable — DNS resolution failure","SPF record exceeds 10 DNS lookup limit — flagged as invalid","Malformed SPF record syntax — parse error returned","Invalid input (non-domain string) — input validation error"],"whenToPreferThis":"Use this endpoint when you need to validate or debug SPF configuration for a domain, especially when troubleshooting email deliverability, checking DNS lookup counts against the RFC 7208 10-lookup limit, or auditing the SPF policy qualifier on the 'all' mechanism. Prefer this over generic DNS tools when you specifically need structured SPF mechanism parsing and lookup counting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:48:19.234Z","isFirstParty":false}