# Email Authentication DNS Audit

> Email Authentication DNS Audit is a paid API for AI agents from agent-utils-x402-production.revenue-agent-jw.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-18).

Performs a comprehensive email authentication DNS audit for a domain, checking SPF, DMARC, DKIM, MTA-STS, TLS-RPT, BIMI, and MX records, then returns a grade, score, spoofability flag, and plain-language issues.

## Facts

- Endpoint: GET https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/dns/email-auth?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/email-authentication-dns-audit-9648e524
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SOxk26-hP2_zqPf74Oy8F

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 email-authentication-dns-audit-9648e524
```

Example prompt: Can you do a full email authentication audit on paypal.com — check SPF, DMARC, DKIM, MTA-STS, and everything else, and tell me if the domain is spoofable and what grade it gets?

## When to prefer this

Use this endpoint when you need a single-call comprehensive email authentication posture report covering all major standards (SPF, DMARC, DKIM, MTA-STS, TLS-RPT, BIMI, MX) with a deliverability grade and spoofing risk flag. Prefer this over manual DNS lookups or single-protocol checkers when preparing for bulk email compliance, diagnosing deliverability failures, or performing security audits on a domain's email infrastructure.

## Known failure modes

- 400 Bad Request — invalid or malformed domain/email input
- 404 Not Found — domain does not exist (NXDOMAIN)
- DKIM probe may return no results if none of the default or provided selectors match published records
- SPF lookup count may be incomplete if DNS resolvers are slow or unreachable
- MTA-STS policy fetch may fail if the HTTPS endpoint is misconfigured

## How this service works

Email authentication DNS audit for a domain or email address: SPF with recursive 10-lookup count and all qualifier, DMARC policy, pct and report addresses, DKIM selector probe, MTA-STS with policy file, TLS-RPT, BIMI and MX. Useful for deliverability checks, Google/Yahoo bulk-sender readiness and spoofing risk. Returns grade A-F, score, spoofable flag, parsed records and plain-language issues. Errors: 400 invalid domain, 404 NXDOMAIN.

## Output

Returns a structured JSON object with an overall letter grade (A–F), numeric score, a boolean spoofable flag, fully parsed SPF record with recursive lookup count and all-qualifier status, DMARC policy details (pct, rua/ruf report addresses), DKIM probe results for each selector tested, MTA-STS policy file contents, TLS-RPT record, BIMI record, MX records, and a list of plain-language issues explaining any problems found.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "domain or email address, e.g. paypal.com"
      },
      "selectors": {
       "type": "string",
       "description": "optional comma-separated DKIM selectors to probe (max 12); default probes 12 common ones"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "spf": {
   "all": "~all",
   "present": true,
   "dnsLookups": 9,
   "withinLookupLimit": true
  },
  "bimi": {
   "present": true
  },
  "dkim": {
   "found": [
    {
     "selector": "s1",
     "approxKeyBits": 2048
    }
   ]
  },
  "dmarc": {
   "pct": 100,
   "policy": "reject",
   "present": true
  },
  "grade": "B",
  "score": 87,
  "domain": "paypal.com",
  "issues": [],
  "spoofable": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/email-authentication-dns-audit-9648e524/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-utils-x402-production.revenue-agent-jw.workers.dev](https://www.zero.xyz/host/agent-utils-x402-production.revenue-agent-jw.workers.dev/llms.txt)
