# Agentshelf SPF & DMARC Policy Lookup

> Agentshelf SPF & DMARC Policy Lookup is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Retrieves SPF and DMARC DNS policy records for a given public hostname without sending any email

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/spf-dmarc?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-spf-dmarc-policy-lookup-ecfb3aa1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__dIyAkO6Ge-YlVbBGC8ZE

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 agentshelf-spf-dmarc-policy-lookup-ecfb3aa1 -d '<json body>'
```

Example prompt: What are the SPF and DMARC policies for gmail.com?

## When to prefer this

Use this endpoint when an agent needs to programmatically fetch SPF and DMARC DNS policies for any public hostname without sending mail. Prefer the free sandbox endpoint (/v1/sandbox/spf-dmarc) first for testing; use this paid endpoint for production lookups when sandbox is unavailable or rate-limited. Better than general DNS tools when the agent specifically needs email authentication policy data structured and ready to use.

## Known failure modes

- Hostname does not exist or has no DNS records — returns empty or error result
- Hostname is malformed or exceeds 253 characters — validation error
- Domain has no SPF or DMARC record published — returns null/absent fields
- Network timeout reaching DNS resolver — transient error
- Payment not processed — 402 response requiring USDC payment

## How this service works

Call when an agent needs SPF and DMARC policy for a public hostname (no mail is sent). Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/spf-dmarc first.

## Output

Returns the SPF TXT record and DMARC policy found in DNS for the given hostname, indicating what mail servers are authorized to send on behalf of the domain and what action should be taken on policy failures (none, quarantine, reject).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hostname": {
   "type": "string",
   "examples": [
    "example.com"
   ],
   "maxLength": 253,
   "minLength": 1,
   "description": "Public DNS hostname such as example.com. Not a URL, not an IP literal, and not a private name."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-spf-dmarc-policy-lookup-ecfb3aa1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
