# Foundry Mail Readiness — DNS/Email Configuration Evidence

> Foundry Mail Readiness — DNS/Email Configuration Evidence is a paid API for AI agents from foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Checks a domain's mail readiness by querying SPF, DMARC, and MX DNS records and returning structured evidence with source provenance

## Facts

- Endpoint: POST https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/domain/mail-readiness
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-mail-readiness-dns-email-configuration-evidence-a3970b61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mksQDkdf_p6208CZ4skug

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 foundry-mail-readiness-dns-email-configuration-evidence-a3970b61 -d '<json body>'
```

Example prompt: Can you check if acme-corp.com is properly set up for email — specifically whether it has valid SPF, DMARC, and MX records?

## When to prefer this

Choose this endpoint when you need structured, evidence-backed DNS mail configuration data for a specific domain with explicit source provenance and observed timestamps. It is ideal for automated compliance checks, onboarding workflows, or pre-send deliverability audits where you need SPF, DMARC, and MX data in a single call with pay-per-request pricing (no subscription). Prefer alternatives if you need real-time mailbox delivery testing, ownership verification, or medical/safety guarantees.

## Known failure modes

- Invalid domain format — domain fails regex pattern validation, returns 4xx error
- Domain does not exist — DNS queries return NXDOMAIN or NO_DATA, verdict set to UNKNOWN
- All records absent — domain has no SPF, DMARC, or MX records, all statuses set to ABSENT
- DNS resolution timeout — upstream Cloudflare resolver unavailable, request fails
- Payment failure — x402 USDC payment not provided or insufficient, returns 402

## How this service works

Pay-per-request evidence and data tools: CSV validation and reconciliation, DNS/email configuration evidence, and bounded official weather, earthquake, vehicle, company and study records. Exact USDC prices, explicit JSON contracts and source provenance. No mailbox, ownership, medical or safety guarantees.

## Output

A JSON object containing the domain's SPF record details and status (PRESENT/ABSENT/etc.), DMARC record details and status, MX routing records and status, an overall mail readiness verdict (e.g. UNKNOWN, READY, NOT_READY), and a list of raw DNS evidence entries with source URLs, DNSSEC status, observed timestamps, and attribution strings identifying the resolver used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "pattern": "^[a-zA-Z0-9.-]+$",
   "maxLength": 253,
   "minLength": 3
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "route": "mail-readiness",
  "result": {
   "spf": {
    "tags": {},
    "status": "ABSENT",
    "records": [],
    "limitations": [
     "Synthetic example only."
    ]
   },
   "dmarc": {
    "tags": {},
    "status": "ABSENT",
    "records": [],
    "limitations": [
     "Synthetic example only."
    ]
   },
   "domain": "example.com",
   "routing": {
    "mx": [],
    "status": "UNKNOWN",
    "limitations": [
     "Synthetic example only."
    ]
   },
   "verdict": "UNKNOWN",
   "evidence": [
    {
     "name": "example.com",
     "type": "MX",
     "rcode": 0,
     "dnssec": "UNKNOWN",
     "source": "https://cloudflare-dns.com/dns-query?name=example.com&type=MX",
     "status": "NO_DATA",
     "records": [],
     "observedAt": "2026-09-06T00:00:00Z",
     "attribution": "Cloudflare 1.1.1.1 public resolver; authoritative DNS records; no endorsement"
    }
   ],
   "observedAt": "2026-09-06T00:00:00Z",
   "limitations": [
    "Synthetic example only."
   ]
  },
  "observed_at": "2026-09-06T00:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-mail-readiness-dns-email-configuration-evidence-a3970b61/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev](https://www.zero.xyz/host/foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/llms.txt)
