# AgentKit x402 Email Check

> AgentKit x402 Email Check is a paid API for AI agents from agentkit-x402.erikssonanton2001.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-17).

Validates an email address by checking syntax, DNS/MX records, disposability, role-account status, and typo detection — without SMTP connection — returning a scored verdict.

## Facts

- Endpoint: GET https://agentkit-x402.erikssonanton2001.workers.dev/v1/email-check?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentkit-x402-email-check-28b18ff0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xZ2AyZdaXR7qi_-G04YAv

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 agentkit-x402-email-check-28b18ff0
```

Example prompt: Can you check whether anna@gmial.com is a valid email address — I want to know if the domain looks real, whether it's disposable or a role account, and if there's a typo suggestion?

## When to prefer this

Use this endpoint when you need a lightweight, no-SMTP email quality check that covers syntax, DNS MX lookup, disposable/role-account detection, and typo suggestions in a single call — especially useful for pre-validating user-submitted emails before sending campaigns or storing in a CRM. Prefer over full SMTP-based validators when speed matters and you don't need confirmed mailbox existence.

## Known failure modes

- Missing required 'email' query parameter returns an error
- Malformed email string may still return a result with syntax_valid=false
- DNS lookup failures for obscure domains may produce incomplete MX data
- Payment failure (x402 USDC) blocks the request before processing
- Non-existent TLDs may return nxdomain=true with limited detail

## How this service works

Email checks, DNS and email-authentication audits, website contact extraction, SEO audits, URL to Markdown and Swedish validators, paid per call in USDC with x402.

## Output

Returns a JSON object with: the input email, local part, domain, syntax validity flag, DNS MX records, null MX and NXDOMAIN flags, address record presence, disposable flag, role account flag, free provider flag, SMTP-checked flag, a 0–100 score, a verdict string (e.g. 'risky', 'valid', 'invalid'), a list of reason codes (e.g. 'possible_domain_typo'), and an optional typo suggestion string. No SMTP connection is made, so mailbox existence is not confirmed.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "email"
     ],
     "properties": {
      "email": {
       "type": "string",
       "description": "Email address to check."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dns": {
   "mx": [
    {
     "host": "mail.gmial.com",
     "priority": 10
    }
   ],
   "null_mx": false,
   "nxdomain": false,
   "address_record": true
  },
  "note": "Based on syntax, lists and DNS only. No SMTP connection is made, so a deliverable mailbox is not confirmed.",
  "email": "anna@gmial.com",
  "score": 70,
  "domain": "gmial.com",
  "reasons": [
   "possible_domain_typo"
  ],
  "verdict": "risky",
  "disposable": false,
  "local_part": "anna",
  "role_account": false,
  "smtp_checked": false,
  "syntax_valid": true,
  "free_provider": false,
  "typo_suggestion": "gmail.com"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentkit-x402-email-check-28b18ff0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentkit-x402.erikssonanton2001.workers.dev](https://www.zero.xyz/host/agentkit-x402.erikssonanton2001.workers.dev/llms.txt)
