# Email Validation API

> Email Validation API is a paid API for AI agents from golf-evm-math.x402-evm-math.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Validates an email address by checking syntax, MX records, SPF/DMARC records, and detecting disposable or role-based addresses to return a deliverability verdict — without sending any mail.

## Facts

- Endpoint: GET https://golf-evm-math.x402-evm-math.workers.dev/email?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/email-validation-api-fe24f14d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kI-7DtFKs49195IkqMxfh

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-validation-api-fe24f14d
```

Example prompt: Can you check whether john.doe@example.com is a real, deliverable email address — look at its syntax, MX records, and whether it's a disposable or role address?

## When to prefer this

Choose this endpoint when you need a fast, no-send email deliverability check that combines syntax validation, DNS/MX record lookup, SPF/DMARC checks, and disposable/role address detection in a single API call. Ideal for pre-screening sign-up form inputs, cleaning email lists before outreach, or risk-scoring contact data. Prefer it over sending a test message when you need a passive, non-intrusive check.

## Known failure modes

- Missing or malformed email query parameter — returns an error response
- Domain does not exist or has no MX records — acceptsMail returns false
- DNS lookup timeout for MX/SPF/DMARC records — may return partial results or error
- Invalid email syntax — validSyntax returns false with a low-confidence verdict
- Payment not provided or insufficient — 402 Payment Required response

## How this service works

Exact EVM address, calldata, Uniswap V2/V3 and impermanent-loss math. Pay per call in USDC on Base via x402.

## Output

Returns a JSON object with boolean fields: validSyntax (syntax check passed), acceptsMail (domain MX record found), hasSpf (SPF record present), hasDmarc (DMARC record present), and a verdict string (e.g. 'likely-deliverable') summarizing overall deliverability assessment.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hasSpf": true,
  "verdict": "likely-deliverable",
  "hasDmarc": true,
  "acceptsMail": true,
  "validSyntax": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/email-validation-api-fe24f14d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from golf-evm-math.x402-evm-math.workers.dev](https://www.zero.xyz/host/golf-evm-math.x402-evm-math.workers.dev/llms.txt)
