Email Validator

Validate an email address for real — syntax, live MX record, disposable-domain check. $0.005 per request.

What it does

Checks an email address's syntax, performs a live DNS lookup to confirm the domain can actually receive mail (MX record), and flags known disposable/temp-email domains.

Endpoint

MethodPOST
Path/validate
Content-Typeapplication/json

Fields

fieldrequireddescription
emailyesThe email address to validate

Example

curl -X POST https://email-validator.pdfextractapi.workers.dev/validate \
  -H "Content-Type: application/json" \
  -d '{"email": "someone@example.com"}'

Example response

{
  "email": "someone@example.com",
  "valid": true,
  "syntax_valid": true,
  "has_mx_record": true,
  "is_disposable": false,
  "reason": null
}

Errors

Errors return a non-200 status with { "error": { "code": "...", "message": "..." } }. Common code: missing_email.

Payment

This endpoint is paid per-request via the x402 protocol (HTTP 402 + USDC). Unpaid requests receive a 402 response with payment instructions.

Try it in your browser