Email

GET/v0/email

Validates email addresses. Checks RFC 5322 format compliance, domain structure, and optionally verifies that the domain has valid MX records.

Guides: Node.js · Python

Try it

Query Parameters

ParameterTypeRequiredDescription
valuestringYesThe email address to validate
checkMxbooleanNoCheck DNS MX records for the domain (default: false)

Example Request

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.isvalid.dev/v0/email?value=user@example.com&checkMx=true"

Response Fields

FieldTypeDescription
validbooleanWhether the email address is valid
localstringLocal part of the address (before @)
domainstringDomain part of the address (after @)
mxValidbooleanWhether the domain has valid MX records. Only present when checkMx=true

Example Response

{
  "valid": true,
  "local": "user",
  "domain": "example.com",
  "mxValid": true
}