{"uid":"cap_f0TGKauXWVk0P8eGJtKCK","slug":"delx-commerce-dns-spf-lookup-budget-checker-880994a2","name":"Delx Commerce — DNS SPF Lookup Budget Checker","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/dns-spf-lookup-budget?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"record":{"type":"string","maxLength":8192,"description":"Record supplied to DNS SPF Lookup Budget; used only for this bounded calculation and processed in memory without retention."},"maximum":{"type":"integer","description":"Maximum supplied to DNS SPF Lookup Budget; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"maximum":10,"terminal":"-all","mechanisms":["include:a.example","include:b.example","mx","-all"],"within_budget":true,"dns_lookup_terms":3},"schema":"delx/util-dns-spf-lookup-budget/v1","status":"pass","evidence":{"retained":false,"input_sha256":"59ce243626eaef239d274d03667e46eee898bb4ca5ecebb645c2679c97cdc137","external_calls":0},"operation":"web_reliability:dns_spf_lookup_budget"}},"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_iG1Lh0mKcZL0vLA4UecWk","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":"Parses a DNS SPF record string and checks whether the number of DNS-lookup-triggering mechanisms stays within a configurable budget limit","exampleAgentPrompt":"Check if this SPF record stays within 10 DNS lookups: 'v=spf1 include:a.example include:b.example mx -all'","exampleUseCases":[{"title":"Diagnosing SPF PermError before deployment","prompt":"I'm about to update my domain's SPF record to 'v=spf1 include:sendgrid.net include:mailchimp.com include:googlemail.com include:smtp.zendesk.com mx a -all' — can you check if it exceeds the 10 DNS lookup limit before I publish it?"},{"title":"Automated email config audit pipeline","prompt":"As part of our email deliverability audit, check this SPF record against a maximum of 10 lookups: 'v=spf1 include:spf.protection.outlook.com include:mail.zendesk.com include:servers.mcsv.net ip4:203.0.113.5 ~all'"},{"title":"Debugging permerror on a tight SPF budget","prompt":"Our SPF record keeps causing permerrors — can you parse 'v=spf1 include:a.example include:b.example include:c.example include:d.example include:e.example include:f.example include:g.example ~all' and tell me how many lookup mechanisms it has against a budget of 8?"}],"resultDescription":"Returns a JSON object containing the total count of DNS-lookup-triggering mechanisms (dns_lookup_terms), a list of all parsed mechanisms, the terminal mechanism (e.g. -all), a boolean indicating whether the record is within the specified maximum budget, the maximum value used, a SHA-256 hash of the input for auditability, and a status field ('pass'). No input data is retained.","failureModes":["Missing or empty 'record' field returns an error or undefined behavior","Malformed SPF record string may produce incomplete mechanism parsing","Maximum value of 0 or negative integer may cause unexpected budget comparison","Record exceeding 8192 character limit will be rejected","Non-SPF DNS record strings passed as input may yield misleading counts"],"whenToPreferThis":"Choose this endpoint when you need a fast, privacy-preserving, pay-per-call check of whether an SPF record's DNS-lookup mechanism count is within a configurable budget — especially in automated pipelines (CI/CD, domain audits, email deliverability bots) where no persistent account or signup is desired. It is purpose-built for the RFC 7208 10-lookup limit problem, returns a verifiable SHA-256 of the input, and processes data in-memory without retention. Prefer it over general DNS query APIs when you specifically need mechanism counting and budget validation rather than raw DNS resolution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:22:13.778Z","isFirstParty":false,"canonicalSlug":"delx-commerce-dns-spf-lookup-budget-checker-880994a2"}