Real-time email validation and verification. Check syntax, MX records, detect disposable emails, and verify email ownership with Magic Link or OTP.
Comprehensive validation including syntax, domain, MX records, and disposable email detection.
Verify email ownership with Magic Link or OTP code methods.
Risk scoring, typo detection, and role-based email identification.
curl -X POST https://email-validation.maru-api.workers.dev/api/keys/create \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com", "name": "My App", "plan": "free"}'
// Response
{
"success": true,
"api_key": "apikey_abc123...",
"plan": "free",
"limits": {
"requestsPerMonth": 1000,
"requestsPerMinute": 10
}
} curl -X POST https://email-validation.maru-api.workers.dev/api/validate \
-H "Content-Type: application/json" \
-H "X-API-Key: apikey_abc123..." \
-d '{"email": "user@example.com"}'
// Response
{
"valid": true,
"email": "user@example.com",
"risk_score": 0,
"quality": "excellent"
} curl -X POST https://email-validation.maru-api.workers.dev/api/verify/send \
-H "Content-Type: application/json" \
-H "X-API-Key: apikey_abc123..." \
-d '{
"email": "user@example.com",
"method": "magic_link",
"callback_url": "https://yourapp.com/webhook"
}'
// Response
{
"success": true,
"verification_id": 123,
"message": "인증 이메일이 발송되었습니다"
} const API_KEY = 'apikey_abc123...';
const API_URL = 'https://email-validation.maru-api.workers.dev';
async function validateEmail(email) {
const response = await fetch(`${API_URL}/api/validate`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': API_KEY
},
body: JSON.stringify({ email })
});
return await response.json();
}
const result = await validateEmail('test@gmail.com');
console.log(result.valid); // true /api/validate Comprehensive email validation with MX lookup and risk scoring.
| Header | Value |
|---|---|
X-API-Key | Your API key |
| Field | Type | Description |
|---|---|---|
email | string | Email address to validate |
/api/verify/send Send email verification via Magic Link or OTP.
| Field | Type | Description |
|---|---|---|
email | string | Email address to verify |
method | string | "magic_link", "otp", or "both" |
callback_url | string | Optional. Webhook URL for verification events |
1,000 free validations per month. No credit card required.
Get Your API Key