# MX Record Email Validator

> MX Record Email Validator is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Validates email address syntax and checks whether the domain has live mail servers (MX or A records), returning parsed domain and sorted mail hosts.

## Facts

- Endpoint: POST https://x402.forgemesh.io/mx-record-email-check
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mx-record-email-validator-0e08157a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zszh_WY3X-i3REPvbtxwq

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 mx-record-email-validator-0e08157a -d '<json body>'
```

Example prompt: Can you check whether 'john.doe@example.com' is actually a valid email address that can receive mail — verify the syntax and confirm the domain has live mail servers set up?

## When to prefer this

Use this endpoint when you need both syntax validation and live DNS deliverability checking (MX record lookup) in a single call — ideal for pre-screening signup form submissions, scrubbing contact lists before email campaigns, or enriching CRM records to flag addresses that can never receive mail. Prefer this over simple regex validation when you need confirmed server-level reachability.

## Known failure modes

- Invalid email syntax — returns validation error
- Domain has no MX or A records — returns unreachable status
- Network timeout when querying DNS — returns error
- Malformed input (non-string email field) — returns 400-level error
- Domain exists but has no mail configuration — returns undeliverable result

## How this service works

Validate an email address's syntax and confirm its domain has live mail servers configured (MX records, falling back to A record), returning the parsed domain and sorted mail hosts. For cleaning contact lists, pre-checking signup forms, and CRM enrichment agents that need to filter out addresses that can never receive mail.

## Output

Returns whether the email is valid, the parsed domain, and a sorted list of mail hosts (MX records or A record fallback) confirming the domain can receive mail.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "email": {
   "type": "string",
   "description": "Email address to validate"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "email": "someone@example.com",
  "domain": "example.com",
  "mx_hosts": [],
  "deliverable": false,
  "syntax_valid": true,
  "interpretation": "domain has no mail service — undeliverable"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mx-record-email-validator-0e08157a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
