{"uid":"cap_warfX-LGLF5mLjGucApwB","slug":"spf-flatten-bulk-674fed9b","name":"spf-flatten-bulk","description":"Bulk spf flatten: up to 20 domains in one call, processed concurrently, results returned in input order with a per-item error field and a count of failures. Same answer per item as the single /dns/spf-flatten endpoint (SPF flattener). Batch enrichment for agents that hold a list. $0.01 per batch.","url":"https://intel.rallylive.ca/bulk/dns/spf-flatten","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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_l9uQtrjCSh-WkNKuYUdnf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Batch SPF flattening for up to 20 domains in one call, returning flattened SPF records per domain with per-item error reporting.","exampleAgentPrompt":"Flatten the SPF records for all of these domains at once: example.com, acme.org, testco.io — I need the fully resolved IP lists for each one, and flag any that fail.","exampleUseCases":[{"title":"Email infrastructure audit across portfolio","prompt":"I have a list of 15 client domains and I need to flatten all their SPF records in one go so I can see which IPs are actually authorized to send email on their behalf — can you run a bulk SPF flatten on all of them?"},{"title":"Detecting SPF over-lookup violations at scale","prompt":"Check the SPF records for these 12 domains and flatten them out so I can see if any of them exceed the 10 DNS lookup limit once expanded to bare IPs."},{"title":"Pre-deployment SPF validation for new domains","prompt":"We're onboarding 8 new domains to our email platform — flatten their SPF records in bulk so we can confirm they're all correctly configured before we start sending."}],"resultDescription":"An ordered array of results matching the input domain list. Each item contains the flattened SPF record (resolved to bare IP addresses/CIDRs, with all 'include:' mechanisms expanded), plus a per-item error field if flattening failed for that domain. A top-level failure count is also returned.","failureModes":["Domain has no SPF record — per-item error returned with explanation","SPF record exceeds 10 DNS lookup limit during resolution — error flagged per item","Invalid or malformed SPF syntax — per-item error","DNS resolution timeout for a domain — per-item error","More than 20 domains submitted — batch limit exceeded","Network or upstream DNS failure — service-level error"],"whenToPreferThis":"Choose this endpoint when you have a list of 2–20 domains that all need SPF flattening and you want to minimize round-trips. It processes all domains concurrently and returns results in input order, making it far more efficient than calling the single-domain /dns/spf-flatten endpoint repeatedly. Ideal for portfolio audits, onboarding pipelines, or any agent workflow that holds a domain list rather than a single target.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:17:24.291Z","isFirstParty":false}