# SPF Policy Lookup

> SPF Policy Lookup is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Fetches and parses the SPF TXT DNS record for a given domain to reveal its email sender authorization policy.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/demand-domain-spf-policy-email-operations?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spf-policy-lookup-52946dad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lC6B_L8h2D4Tg9Ad6IdG_

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-policy-lookup-52946dad -d '<json body>'
```

Example prompt: Can you pull the SPF DNS record for gmail.com and show me which mail servers are authorized to send on its behalf?

## When to prefer this

Choose this endpoint when you need to programmatically retrieve and parse the SPF DNS policy for a domain, especially for email security audits, deliverability troubleshooting, or onboarding checks. It is DNS-only and does not send email or verify inboxes, making it safe and read-only. Prefer this over DMARC or DKIM endpoints when specifically diagnosing SPF authorization issues.

## Known failure modes

- Domain has no SPF TXT record — returns empty or null result
- Invalid or non-existent domain name — DNS resolution failure
- SPF record is malformed or exceeds DNS lookup limit — parse error
- Network or DNS timeout — service unavailable error
- Domain uses multiple TXT records causing ambiguity — may return first or flag conflict

## How this service works

SPF policy lookup for Email operations: Return and parse the domain SPF TXT policy. DNS data only; does not send email or verify that an inbox exists.

## Output

Returns the raw SPF TXT DNS record for the domain along with a parsed breakdown of its policy directives, including authorized IP ranges, included domains, and the catch-all qualifier (e.g. ~all, -all). No email is sent and no inbox is verified; this is DNS data only.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "default": "example.com",
   "description": "Public DNS domain, e.g. example.com."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spf-policy-lookup-52946dad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
