API Depot/APIs/Email Verification

Email Verification

live

Check whether an email address is likely deliverable by validating its format, confirming the domain exists in DNS, and verifying it has MX records.

POST /v1/email/verifyPer request

Request

FieldTypeDescription
email*stringEmail address to verify

Response

FieldTypeDescription
validbooleantrue only if all three checks pass
emailstringNormalised email (lowercased, trimmed)
domainstringDomain extracted from the email
checks.formatbooleanEmail matches standard format regex
checks.domain_existsbooleanDomain has resolvable DNS records
checks.mx_recordsbooleanDomain has valid MX records

Example

Request

{
  "email": "user@gmail.com"
}

Response

{
  "valid": true,
  "email": "user@gmail.com",
  "domain": "gmail.com",
  "checks": {
    "format": true,
    "domain_exists": true,
    "mx_records": true
  }
}

Notes

  • Sync endpoint — DNS lookup typically under 200ms.
  • No SMTP handshake is performed (too slow, often blocked by mail servers).
  • DNS queries time out after 5 seconds; timed-out domains are treated as invalid.
  • valid: false is a legitimate response, not an error — the API always returns 200.

Try it