# Email Typo Suggestion API

> Email Typo Suggestion API is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Suggests corrections for common email address typos, catching domain and TLD errors via Levenshtein distance against 23 popular domains

## Facts

- Endpoint: GET https://api.x402node.dev/identity/email-suggest
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-ae42602c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JV4LfSN3RCUEezDRO6pK-

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 api-x402node-dev-ae42602c
```

Example prompt: The user just typed 'john.doe@gmial.con' into our signup form — can you check if that email has a typo and suggest what they probably meant?

## When to prefer this

Use this endpoint when validating user-submitted email addresses at signup or form submission time, especially to catch common typos like gmial.com, yahooo.com, or .con TLDs before sending transactional emails. Prefer this over full email validation services when you specifically need typo correction suggestions rather than deliverability checks or MX record lookups.

## Known failure modes

- No suggestion returned if the email is already valid or matches a known domain
- False positives for legitimate obscure domains not in the 23-domain reference list
- Payment failure if USDC balance is insufficient (x402 protocol error)
- Malformed email input may return error or no suggestion
- Edge cases with subdomains or internationalized email addresses may not be handled

## How this service works

Suggest typo corrections for an email address. Catches domain typos (gmial.com → gmail.com) and TLD typos (.con → .com) via Levenshtein distance against 23 common domains. Use ?email=user@gmial.con. Built for AI agents validating signup forms, reducing bounce rates.

## Output

Returns a suggested corrected email address where domain or TLD typos are detected, using Levenshtein distance comparison against 23 common email domains. Includes the original input, the suggested correction, and likely the specific part corrected (domain or TLD).

## Example request

```json
{
 "email": "john.doe@gmial.con"
}
```

## 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 (required)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-ae42602c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
