← MailGuard

Email verification for Ruby on Rails

Stop fake, mistyped, and disposable emails at signup in your Ruby on Rails app, with one API call.

Every Ruby on Rails signup form collects bad addresses: typos like gmial.com, throwaway inboxes, and dead domains. They inflate your bounce rate and hurt your sender reputation. MailGuard checks each address in one request and returns syntax, MX, disposable/role detection, a "did you mean?" suggestion, and a 0–100 deliverability score.

Add it to Ruby on Rails

curl https://mailguard-api.atek.workers.dev/v1/verify \
  -H "x-api-key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"user@example.com"}'

What you get back

{
  "status": "risky",
  "score": 75,
  "checks": { "syntax": true, "mx_found": true, "disposable": false, "role": false },
  "did_you_mean": "gmail.com"
}

Show the "did you mean?" hint on blur to recover typos, and block undeliverable addresses on submit.

Get started free

Get a free API key

500 verifications/month, no card. Try it first with the free email checker.