A comprehensive email validation platform providing robust verification of email addresses through advanced technical checks and authentication protocols.
- Email format validation
- SMTP server verification
- MX record checking
- DMARC policy verification
- Disposable email detection
- Rate limiting and abuse prevention
- Detailed validation reports
- Bulk validation support (up to 100 emails)
- Real-time metrics and statistics
- React + TypeScript frontend
- Node.js backend
- Worker-based parallel processing
- Advanced DNS and DMARC policy checking
- Secure REST API with rate limiting
Replace {YOUR-REPLIT-URL} with your deployment URL.
POST /api/validate-email
curl -X POST \
-H "Content-Type: application/json" \
-d '{"email":"test@example.com"}' \
https://{YOUR-REPLIT-URL}/api/validate-emailPOST /api/validate-emails
curl -X POST \
-H "Content-Type: application/json" \
-d '{"emails":["test1@example.com","test2@example.com"]}' \
https://{YOUR-REPLIT-URL}/api/validate-emailsGET /api/metrics
curl https://{YOUR-REPLIT-URL}/api/metricsimport requests
def validate_email(email, api_url):
response = requests.post(
f"{api_url}/api/validate-email",
json={"email": email}
)
response.raise_for_status()
return response.json()
# Example usage
api_url = "https://{YOUR-REPLIT-URL}"
result = validate_email("test@example.com", api_url)
print(result)async function validateEmail(email: string, apiUrl: string) {
const response = await fetch(`${apiUrl}/api/validate-email`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ email }),
});
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
return response.json();
}
// Example usage
const apiUrl = "https://{YOUR-REPLIT-URL}";
validateEmail("test@example.com", apiUrl)
.then(result => console.log(result))
.catch(error => console.error('Error:', error));{
"status": "valid",
"subStatus": null,
"freeEmail": "No",
"didYouMean": "Unknown",
"account": "test",
"domain": "example.com",
"domainAgeDays": "Unknown",
"smtpProvider": "mx1",
"mxFound": "Yes",
"mxRecord": "mx1.example.com",
"dmarcPolicy": "reject",
"firstName": "Test",
"lastName": "Unknown",
"message": "Valid email address",
"isValid": true
}{
"message": "Error description"
}- 100 requests per hour per IP address
- Maximum 100 emails per bulk validation request
- Rate limit headers included in responses:
X-RateLimit-Limit: Maximum requests per hourX-RateLimit-Remaining: Remaining requestsX-RateLimit-Reset: Unix timestamp for reset
- Clone the repository:
git clone https://github.com/yourusername/email-validation-api.git
cd email-validation-api- Install dependencies:
npm install- Start the development server:
npm run devMIT License - feel free to use this project for your own purposes.