# Lookproof SPF Record Analyzer

> Lookproof SPF Record Analyzer is a paid API for AI agents from api.lookproof.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Parses and evaluates a domain's SPF record, tracing the full include/redirect tree, validating qualifiers, and checking against the RFC 7208 10-lookup limit with coded diagnostic findings.

## Facts

- Endpoint: GET https://api.lookproof.dev/v1/mail/spf?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lookproof-spf-record-analyzer-4b864499
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E8ndqsDIovI142g0UI3jh

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 lookproof-spf-record-analyzer-4b864499
```

Example prompt: Check if mailchimp.com's SPF record is valid — I want to know the full include tree, how many DNS lookups it uses, and whether it's within the RFC 7208 limit of ten.

## When to prefer this

Use this endpoint when you need to deeply inspect a domain's SPF configuration beyond a simple pass/fail — specifically when debugging why a particular mail sender fails SPF, when checking whether adding another include would push over the 10-lookup RFC 7208 limit, or when you need the full include/redirect tree with per-mechanism qualifiers and coded diagnostic findings. Prefer this over generic DNS lookup endpoints when the goal is SPF-specific validation and compliance checking.

## Known failure modes

- Domain has no SPF record (TXT lookup returns nothing relevant)
- Domain does not exist or fails DNS resolution
- SPF record is syntactically malformed and cannot be parsed
- Lookup limit exceeded during tree traversal causing evaluation to abort
- Multiple SPF records found for the same domain (RFC violation)
- Network timeout resolving include or redirect targets

## How this service works

Check SPF, DMARC, DKIM, MTA-STS, DNSSEC and more, with results that explain what was found and why. Free browser checks and a pay-per-request API with x402.

## Output

Returns the parsed SPF record for the domain including the full include and redirect tree, each mechanism with its qualifier (pass, fail, softfail, neutral), a count of DNS lookups consumed, whether the 10-lookup RFC 7208 limit is reached or exceeded, and coded diagnostic findings explaining any validity issues or failures.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "title": "DomainInput",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "title": "Domain",
       "examples": [
        "example.com"
       ],
       "maxLength": 1024,
       "minLength": 1
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lookproof-spf-record-analyzer-4b864499/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.lookproof.dev](https://www.zero.xyz/host/api.lookproof.dev/llms.txt)
