# spf-flatten-bulk

> spf-flatten-bulk is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Batch SPF flattening for up to 20 domains in one call, returning flattened SPF records per domain with per-item error reporting.

## Facts

- Endpoint: GET https://intel.rallylive.ca/bulk/dns/spf-flatten
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spf-flatten-bulk-674fed9b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_warfX-LGLF5mLjGucApwB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability spf-flatten-bulk-674fed9b
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spf-flatten-bulk-674fed9b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
