# agent402.tools Email Deliverability Analyzer

> agent402.tools Email Deliverability Analyzer is a paid API for AI agents from agent402.tools, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Runs a comprehensive email authentication audit for a domain — SPF, DMARC, DKIM (auto-probing 14 common selectors), and MX records — returning a 0–100 deliverability score.

## Facts

- Endpoint: POST https://agent402.tools/api/email-deliverability?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-email-deliverability-analyzer-433c01df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1Ghg-kKdXvuSF0aINy9Vf

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 agent402-tools-email-deliverability-analyzer-433c01df -d '<json body>'
```

Example prompt: Our emails from acmecorp.com keep landing in spam — can you run a full email deliverability audit on acmecorp.com, including SPF, DMARC, DKIM, and MX records, and give me the deliverability score?

## When to prefer this

Use this endpoint when you need a single-call, all-in-one email authentication report covering SPF, DMARC, DKIM, and MX — especially when diagnosing spam delivery issues. Prefer this over manual DNS lookup tools when you want an automated score and don't want to check each record type separately.

## Known failure modes

- Domain does not exist or has no DNS records — returns empty results or error
- Invalid domain/email format — validation error returned
- DNS lookup timeout for slow or unresponsive nameservers
- No DKIM selectors found if domain uses non-standard selectors not in the default list — caller should supply custom selectors via dkimSelectors parameter
- Payment not included or invalid x402 payment — 402 Payment Required response

## How this service works

End-to-end email-auth report for a domain: SPF + DMARC + DKIM (probes common selectors automatically) + MX records + score 0–100. The one call to make when 'why is our mail going to spam?' lands in your inbox.

## Output

Returns a structured report containing the domain's SPF record status, DMARC policy details, DKIM probe results across up to 14 common selectors, MX record information, and a composite deliverability score from 0 to 100 indicating overall email authentication health.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "description": "Domain name (also accepts email/url/host)"
  },
  "dkimSelectors": {
   "type": "array",
   "description": "Optional DKIM selectors to probe (overrides default list of 14 common selectors)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mx": {
   "count": 5,
   "records": [
    "smtp.google.com"
   ]
  },
  "spf": {
   "all": "softfail",
   "valid": true,
   "hasRecord": true,
   "lookupCount": 1
  },
  "dkim": {
   "found": [
    {
     "bits": 2048,
     "valid": true,
     "selector": "20221208"
    }
   ],
   "probed": [
    "google",
    "selector1",
    "default",
    "20221208"
   ]
  },
  "dmarc": {
   "valid": true,
   "policy": "reject",
   "percent": 100,
   "hasRecord": true
  },
  "score": 90,
  "checks": [
   {
    "check": "spf",
    "detail": "SPF record present, 1 DNS lookup, ~all qualifier",
    "status": "pass"
   },
   {
    "check": "dmarc",
    "detail": "p=reject at 100% - strict enforcement",
    "status": "pass"
   },
   {
    "check": "dkim",
    "detail": "Found DKIM at selector 20221208 (2048-bit RSA)",
    "status": "pass"
   },
   {
    "check": "mx",
    "detail": "5 MX records configured",
    "status": "pass"
   }
  ],
  "domain": "google.com",
  "summary": "good",
  "queriedAt": "2026-06-19T20:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-email-deliverability-analyzer-433c01df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
