# Delx DMARC Policy Parse

> Delx DMARC Policy Parse is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Parses a raw DMARC TXT record string and extracts structured fields such as policy, reporting URI, and schema version.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/dmarc-policy-parse
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-dmarc-policy-parse-191d6372
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7Du3NhnQ8Ed0GbI_Ax2NA

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 delx-dmarc-policy-parse-191d6372 -d '<json body>'
```

Example prompt: Parse this DMARC record for me and tell me what the policy is and where reports go: 'v=DMARC1; p=reject; rua=mailto:d@example.com; sp=none; adkim=r;'

## When to prefer this

Use this endpoint when you need to programmatically extract structured fields from a raw DMARC TXT record string without writing a custom parser. Ideal for email security audits, DNS configuration validation pipelines, or agent workflows that need to inspect or compare DMARC policies across many domains. Prefer this over manual regex parsing for reliability and consistency in structured output.

## Known failure modes

- Missing or malformed DMARC record body results in parse error or empty output
- Input that is not a valid DMARC TXT record (e.g. SPF or DKIM record) may return incorrect or null fields
- Truncated record strings may result in partial parsing with missing fields
- Payment failure (402) if USDC balance is insufficient

## How this service works

Parse DMARC p= and rua= fields from a TXT record. Call when extracting DMARC policy from a caller-supplied record. Returns policy and rua as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

A JSON object containing the parsed DMARC fields extracted from the raw record, including the policy value (e.g. reject, quarantine, none), the aggregate reporting URI (rua), and a schema identifier string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "dmarc": {
   "type": "string",
   "description": "DMARC TXT record body"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rua": "mailto:d@example.com",
  "policy": "reject",
  "schema": "delx/util-dmarc-policy-parse/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-dmarc-policy-parse-191d6372/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
