# Email Domain Enrichment API

> Email Domain Enrichment API 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).

Given an email address, returns DNS-level domain health signals including MX record presence, SPF policy, and DMARC configuration.

## Facts

- Endpoint: POST https://x402-canary.nicolas-x402-16f380a7.workers.dev/v1/email/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/email-domain-enrichment-api-6a9a80c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_abwHmYCPNgau1yeNC2TbQ

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-domain-enrichment-api-6a9a80c4 -d '<json body>'
```

Example prompt: Can you enrich the email address john@acmecorp.com and tell me whether its domain has MX records, SPF, and DMARC configured?

## When to prefer this

Use this endpoint when you need lightweight, DNS-level email domain health signals (MX, SPF, DMARC) without a full email verification ping. It is ideal for lead scoring, form submission hygiene checks, or vendor onboarding workflows where you need to assess domain mail infrastructure quickly and cheaply at $0.02 per call.

## Known failure modes

- Invalid or malformed email input returns an error or empty result
- Domain does not exist — all booleans may return false
- DNS lookup timeout may cause delayed or failed response
- Missing email field in request body causes a validation error

## 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 containing the extracted domain from the email, a boolean indicating whether MX records exist, a boolean for SPF record presence, and a boolean for DMARC record presence, along with an engine metadata field identifying the enrichment source.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/email-domain-enrichment-api-6a9a80c4/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)
