# FastX402 RFC 5322 Email Validator

> FastX402 RFC 5322 Email Validator is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-28).

Validates an email address against RFC 5322 syntax rules, returning a structured breakdown of validity, domain, local part, and individual check results.

## Facts

- Endpoint: GET https://fastx402.tools/rfc5322-email-validate?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-rfc-5322-email-validator-425f371b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qCATLPJrq_Kagp0KksoBD

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 fastx402-rfc-5322-email-validator-425f371b
```

Example prompt: Can you check whether 'john.doe+news@example.co.uk' is a valid RFC 5322 email address and show me its local part, domain, and which checks passed?

## When to prefer this

Choose this endpoint when you need a fast, cheap, deterministic RFC 5322 syntax check of a single email address with granular sub-checks (atext, domain, length) and no account or API key setup. It does not verify email deliverability or MX records — use a dedicated deliverability API for that. Ideal for form validation, pre-import screening, or any agent workflow needing structured email parsing at $0.002/call with no subscription.

## Known failure modes

- Missing 'email' query parameter returns an error
- Malformed input that cannot be parsed may return valid:false with specific checks set to false
- Non-string or empty email value may result in a validation error response
- Payment failure via x402 returns HTTP 402 before the request is processed

## How this service works

200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

A JSON object containing: the normalized email string, a boolean 'valid' field, a 'local_part' string, a 'domain' string, a 'tags' array (e.g. subaddress tags like 'news' from '+news'), and a 'checks' object with three boolean fields — atext_ok (local part characters valid), domain_ok (domain syntactically valid), and length_ok (within RFC length limits).

## 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 validate, e.g. john.doe+news@example.co.uk"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "tags": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "email": {
       "type": "string"
      },
      "valid": {
       "type": "boolean"
      },
      "checks": {
       "type": "object",
       "properties": {
        "atext_ok": {
         "type": "boolean"
        },
        "domain_ok": {
         "type": "boolean"
        },
        "length_ok": {
         "type": "boolean"
        }
       }
      },
      "domain": {
       "type": "string"
      },
      "local_part": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tags": [
   "news"
  ],
  "email": "john.doe+news@example.co.uk",
  "valid": true,
  "checks": {
   "atext_ok": true,
   "domain_ok": true,
   "length_ok": true
  },
  "domain": "example.co.uk",
  "local_part": "john.doe+news"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastx402-rfc-5322-email-validator-425f371b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fastx402.tools](https://www.zero.xyz/host/fastx402.tools/llms.txt)
