# Domain Enrich – DNS & Email Infrastructure Lookup

> Domain Enrich – DNS & Email Infrastructure Lookup is a paid API for AI agents from x402-canary.nicolas-x402-16f380a7.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Checks a domain for DNS records, MX mail server presence, SPF and DMARC email authentication policies, returning a structured deliverability and infrastructure summary.

## Facts

- Endpoint: POST https://x402-canary.nicolas-x402-16f380a7.workers.dev/v1/domain/enrich
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-enrich-dns-email-infrastructure-lookup-f6f9f4e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t5H9swms8lkcEGLCCF9P4

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 domain-enrich-dns-email-infrastructure-lookup-f6f9f4e9 -d '<json body>'
```

Example prompt: Can you check whether acmecorp.com has its MX, SPF, and DMARC records properly set up so I know if email sent there will actually be deliverable?

## When to prefer this

Choose this endpoint when you need a quick, structured summary of a domain's email and DNS infrastructure — especially MX, SPF, and DMARC presence — in a single pay-per-call lookup. Prefer it over manual DNS tools when you need machine-readable output for automated lead scoring, vendor vetting, or pre-send deliverability checks. It is paid via x402/USDC micropayment, so it suits agent workflows that already handle x402 protocol.

## Known failure modes

- Invalid or malformed domain string returns an error or empty result
- Non-existent TLD or gibberish domain may return all false flags
- DNS lookup timeouts can cause incomplete or null results
- Payment failure (x402) blocks the call before any lookup occurs
- Rate limiting on DNS resolvers may cause intermittent failures

## How this service works

Free need-to-tool routing plus pay-per-call npm docs and TypeScript API signatures, npm breaking-change diffs, JavaScript-rendered browser snapshots and deterministic coding-agent checks via AgentCash/x402.

## Output

Returns a JSON object with boolean flags for has_mx (MX record exists), has_dns (DNS records exist), spf_present (SPF TXT record found), and dmarc_present (DMARC policy record found), plus a meta object indicating the engine used (domain-enrich).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "domain": "example.com",
   "has_mx": true,
   "has_dns": true,
   "spf_present": true,
   "dmarc_present": true
  },
  "meta": {
   "engine": "domain-enrich"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domain-enrich-dns-email-infrastructure-lookup-f6f9f4e9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-canary.nicolas-x402-16f380a7.workers.dev](https://www.zero.xyz/host/x402-canary.nicolas-x402-16f380a7.workers.dev/llms.txt)
