# Swift Bot Labs Email Validate

> Swift Bot Labs Email Validate is a paid API for AI agents from x402-toolbox.swiftbotlab.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Validates an email address for syntax, MX records, disposability, free-provider status, and typo corrections

## Facts

- Endpoint: GET https://x402-toolbox.swiftbotlab.workers.dev/v1/email/validate?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swift-bot-labs-email-validate-13095bc8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_17RWF9VXP8I88TZ3DhMvd

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 swift-bot-labs-email-validate-13095bc8
```

Example prompt: Can you check whether 'jane.doe@gmial.com' is a valid email address — does it have mail servers, is it disposable, and is there a suggested correction?

## When to prefer this

Choose this endpoint when you need a lightweight, deterministic, pay-per-call email validation with no account setup — especially useful for catching typos, blocking disposable addresses, and confirming MX record existence without committing to a subscription-based service. Prefer it for single-address spot checks or agent pipelines that need on-demand validation with USDC micropayments.

## Known failure modes

- Missing or empty 'email' query parameter returns an error
- Malformed email string may return syntaxValid:false with no further checks
- DNS timeout may cause hasMx to be inconclusive
- Very new or obscure domains may return false negatives on MX checks
- Payment failure via x402 results in 402 response before any validation occurs

## How this service works

62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.

## Output

A JSON object with: ok (boolean success flag), tool name, and a result object containing the original email, domain, syntaxValid (boolean), hasMx (boolean), disposable (boolean), freeProvider (boolean), role (boolean), verdict (string: e.g. 'risky', 'safe'), reasons (array of strings explaining issues), and suggestion (corrected email address if a typo is detected).

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "email-validate",
  "result": {
   "role": false,
   "email": "jane.doe@gmial.com",
   "hasMx": false,
   "domain": "gmial.com",
   "reasons": [
    "domain has no mail servers"
   ],
   "verdict": "risky",
   "disposable": false,
   "suggestion": "jane.doe@gmail.com",
   "syntaxValid": true,
   "freeProvider": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swift-bot-labs-email-validate-13095bc8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.swiftbotlab.workers.dev](https://www.zero.xyz/host/x402-toolbox.swiftbotlab.workers.dev/llms.txt)
