# Delx Commerce DNS DMARC Policy Parse

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

Parses and validates a raw DMARC DNS TXT record string, extracting all policy directives and reporting whether the record is valid.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/dns-dmarc-policy-parse?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-dns-dmarc-policy-parse-b4dd9aa5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-KaYF56pz_wbCQogkO_Y2

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-commerce-dns-dmarc-policy-parse-b4dd9aa5 -d '<json body>'
```

Example prompt: Can you parse this DMARC record and tell me what the policy is and whether it's valid: "v=DMARC1; p=reject; pct=100; adkim=s; aspf=s"?

## When to prefer this

Choose this endpoint when you need a lightweight, no-signup, pay-per-use parser for DMARC TXT record strings that returns structured directive fields with verifiable evidence. Ideal for agents performing email security audits, compliance checks, or domain onboarding workflows where you already have the raw record string and need immediate machine-readable output without standing up your own parser.

## Known failure modes

- Malformed or empty DMARC record string returns valid=false with no directives
- Input exceeds 8192 character limit returns a validation error
- Missing required 'record' field in request body returns a schema error
- Non-DMARC TXT record (e.g. SPF) may parse but return valid=false

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with a validity boolean, the resolved DMARC policy value (e.g. reject, quarantine, none), a structured directives map containing all parsed DMARC tags (p, v, pct, aspf, adkim, etc.), a status field (pass/fail), and evidence metadata including whether input was retained (always false) and a SHA-256 hash of the input for verifiability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "record": {
   "type": "string",
   "maxLength": 8192,
   "description": "Record supplied to DNS DMARC Policy Parse; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "valid": true,
   "policy": "reject",
   "directives": {
    "p": "reject",
    "v": "DMARC1",
    "pct": "100",
    "aspf": "s",
    "adkim": "s"
   }
  },
  "schema": "delx/util-dns-dmarc-policy-parse/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "dd98ece9a411e022af8695a92276433d7ad848c4659bdfe0253a850683e10306",
   "external_calls": 0
  },
  "operation": "web_reliability:dns_dmarc_policy_parse"
 }
}
```

## More

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