API CatalogEmail Validation

Email Validation API

Validate email addresses before signup, lead capture, CRM imports, and outbound workflows. The API checks syntax, normalizes the address, identifies role accounts, detects disposable domains, checks MX records, and can optionally attempt SMTP mailbox verification.

Find ApiMask on RapidAPI

Endpoint

POST /v1/dev/email/validate
POST /v1/utility/email/validate

Request body

FieldTypeRequiredDescription
emailstringYesEmail address to validate.
check_smtpbooleanNoAttempt SMTP mailbox verification. Defaults to false; slower and not always reliable.

Example request

curl --request POST \
  --url https://apimask-developer-utilities-api.p.rapidapi.com/v1/dev/email/validate \
  --header "Content-Type: application/json" \
  --header "X-RapidAPI-Key: $RAPIDAPI_KEY" \
  --header "X-RapidAPI-Host: apimask-developer-utilities-api.p.rapidapi.com" \
  --data '{"email":"hello@example.com","check_smtp":false}'

Example response

{
  "success": true,
  "data": {
    "is_valid": true,
    "email": "hello@example.com",
    "local_part": "hello",
    "domain": "example.com",
    "is_disposable": false,
    "has_mx_records": true,
    "smtp_verified": false,
    "is_role_account": false,
    "reason": null
  },
  "error": null,
  "meta": {}
}

Response fields

FieldTypeDescription
is_validbooleanWhether the email is syntactically and structurally valid.
emailstring or nullNormalized email address if valid.
local_partstring or nullPortion before @.
domainstring or nullPortion after @.
is_disposablebooleanWhether the domain is a known disposable email provider.
has_mx_recordsbooleanWhether the domain has MX records.
smtp_verifiedbooleanWhether SMTP mailbox verification succeeded.
is_role_accountbooleanWhether the address is a role account like support@ or info@.
reasonstring or nullInvalid reason when available.