Use case · sign-up forms

Catch bad addresses before they reach your database

Check each address when someone signs up: one request from your server answers whether it will work, suggests a fix for typos like gmial.com, and says why in one sentence.

One call from your server

Keep the key on the server: call Verify from your sign-up handler, never from the browser.
javascript
// In your sign-up handler (Node 18+, any framework)
async function checkEmail(email) {
try {
const r = await fetch("https://api.verifyngn.com/v1/verify", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.VERIFY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ email }),
signal: AbortSignal.timeout(5000),
});
if (!r.ok) return { ok: true }; // never block a sign-up on our error
const v = await r.json();
// "opted_out": the person asked never to be checked; don't hold that against them.
if (v.deliverable === "no" && v.reason !== "opted_out") {
return { ok: false, message: v.did_you_mean ? `Did you mean ${v.did_you_mean}?` : v.explanation };
}
return { ok: true, status: v.status };
} catch {
return { ok: true }; // timeout: let them in, check later
}
}

What to do with each answer

Every result carries deliverable: yes, no, risky or unknown. A suggested policy:
deliverableMeansAt sign-up
yesThe mail server confirmed the mailbox, and it doesn't accept every address.Accept.
noIt won't work or shouldn't be mailed: no such mailbox, no mail server, written wrong, or a disposable address.Ask for another address; offer did_you_mean when there is one.
riskyIt may work: a catch-all domain, a role inbox, a full mailbox, or a Microsoft 365 or Google domain that accepts every address.Accept, and flag it for review if you like.
unknownThe server gave no answer this time: a timeout, greylisting, or a server that couldn't be reached.Accept; don't block a real person on an unknown.

All statuses, reasons and scores are in Results.

Built for a form

Typo suggestions

did_you_mean offers gmail.com for gmial.com. It is a suggestion; nothing changes without the person.

Fair on cost

Unknown answers and malformed addresses cost nothing; you pay for real answers.

Rate limits in headers

120 requests a minute per key, with RateLimit headers and Retry-After when you go past it.

Recent answers reused

An answer up to 30 days old for the same address is reused; max_age_days (0 to 90) sets how old it may be.

Using ZeroBounce's API in your form today? Its v2 validate call works against Verify too: switch by changing the host.

Other ways teams use Verify

Add a check to your sign-up form

Create a key and try it on your own address. 100 free checks when you confirm your email.