curl -X GET "https://emailvalidatorapi.xyz/api/validate-email/?email=test@example.com"
import requests
response = requests.get(
"https://emailvalidatorapi.xyz/api/validate-email/",
params={"email": "test@example.com"}
)
result = response.json()
print(result)
// Using fetch
fetch(`https://emailvalidatorapi.xyz/api/validate-email/?email=test@example.com`)
.then(response => response.json())
.then(data => console.log(data));
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,
"https://emailvalidatorapi.xyz/api/validate-email/?email=test@example.com");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$result = json_decode($response, true);
print_r($result);
GET /api/validate-email/
Name | Type | Required |
---|---|---|
string | Yes |
Email format check
MX records verification
Mailbox verification
Profile picture check
{
"email": "string", // Email address
"is_valid": boolean, // Syntax valid
"is_deliverable": bool, // Has MX records
"smtp_check": boolean, // SMTP verified
"smtp_message": "str", // SMTP details
"profile_picture": "s", // Gravatar URL
"confidence_score": n, // 0-100 score
"error": "string?" // Error message
}
200 | Success |
400 | Bad Request |
500 | Server Error |
{
"email": "user@gmail.com",
"is_valid": true,
"is_deliverable": true,
"smtp_check": true,
"smtp_message": "Email exists",
"profile_picture": "https://...",
"confidence_score": 90,
"error": null
}