MailCheck

Multi-level email verification API

โšก Try It
Verifying...
๐Ÿ›ก๏ธ Verification Levels
L1Syntax โ€” format validation L2DNS โ€” domain A/AAAA record check L3MX โ€” mail server record check L4Disposable โ€” throwaway email detection L5Role โ€” role-based prefix detection (admin, support...) L6Free Provider โ€” Gmail, Yahoo, etc.
๐Ÿ“– API Documentation
GET /verify?email={address}
Verify a single email address. Returns validation result with score.
curl "https://mailcheck.bensontech.dev/verify?email=test@gmail.com"
POST /verify/batch
Verify multiple emails at once (max 15). Send JSON body with emails array.
curl -X POST "https://mailcheck.bensontech.dev/verify/batch" \
  -H "Content-Type: application/json" \
  -d '{"emails": ["a@gmail.com", "b@outlook.com"]}'
GET /health
Health check endpoint. Returns {"status": "ok"}.
GET /api
Returns API metadata and available endpoints.
๐Ÿ“‹ Response Example
{
  "email": "test@gmail.com",
  "valid": true,
  "score": 65,
  "checks": {
    "syntax":     { "valid": true, "reason": "Valid syntax" },
    "dns":        { "valid": true, "hasARecord": true, "hasAAAARecord": true },
    "mx":         { "valid": true, "records": ["gmail-smtp-in.l.google.com."] },
    "disposable": { "isDisposable": false },
    "roleBased":  { "isRole": true, "role": "test" },
    "freeProvider": { "isFree": true, "provider": "gmail.com" }
  },
  "timestamp": "2026-03-19T15:05:03.748Z"
}