GET/v0/email
Validates email addresses. Checks RFC 5322 format compliance, domain structure, and optionally verifies that the domain has valid MX records.
Try it
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| value | string | Yes | The email address to validate |
| checkMx | boolean | No | Check 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
| Field | Type | Description |
|---|---|---|
| valid | boolean | Whether the email address is valid |
| local | string | Local part of the address (before @) |
| domain | string | Domain part of the address (after @) |
| mxValid | boolean | Whether the domain has valid MX records. Only present when checkMx=true |
Example Response
{
"valid": true,
"local": "user",
"domain": "example.com",
"mxValid": true
}