# Email Domain DNS Validation & Classification

> Email Domain DNS Validation & Classification is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Validates and classifies an email domain via public DNS: checks MX hosts, mail provider, SPF/DMARC policies, and flags disposable/free-webmail/role-account status with a deliverability signal.

## Facts

- Endpoint: GET https://payai.agentstools.dev/enrich/email
- Price: $0.005/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-dns-validation-classification-23909b88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KkpBbOzyQVoyconJAmpBg

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-dns-validation-classification-23909b88
```

Example prompt: Can you check whether the domain for 'contact@acmecorp.io' is legitimate — I want to know if it has proper MX records, SPF and DMARC policies set up, and whether it's flagged as a disposable or free-webmail provider before I add it to our mailing list?

## When to prefer this

Use this endpoint when you need fast, privacy-safe email domain validation without SMTP probing — ideal for pre-screening leads, validating sign-up emails, filtering disposable addresses, or checking mail infrastructure compliance before outreach. Prefer over full SMTP verification when ToS compliance or user privacy is a concern.

## Known failure modes

- Domain does not exist in DNS — returns not-found or NXDOMAIN indicator
- Domain has no MX records — deliverability signal reflects undeliverable
- Malformed email or domain input — returns validation error
- Transient DNS lookup failure — may return timeout or partial result
- Rate limiting or payment failure — 402 or 429 response

## How this service works

Validate and classify an email DOMAIN from public DNS: MX hosts + mail-provider, SPF and DMARC policy, plus disposable / free-webmail / role-account flags and a deliverability signal. No SMTP probing of individual mailboxes (privacy + ToS).

## Output

Returns MX host details, identified mail provider, SPF and DMARC policy text and verdicts, and boolean flags for disposable domain, free webmail service, and role-account pattern, plus an overall deliverability signal — all derived from public DNS without SMTP probing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "email": {
       "type": "string",
       "description": "Email address (its domain is checked)"
      },
      "domain": {
       "type": "string",
       "description": "Alternative input: the email domain directly"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/email-domain-dns-validation-classification-23909b88/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
