HomeIntegrationsNode.js
Find and verify emails from Node.js
Yes. On Node 18 or newer, use the built-in fetch with your API key in an environment variable, and send a GET request to the verify or find address with the key in an X-API-Key header. The script below does both, waits between calls and retries on rate limits. Email Finder Verifier is one product, built by Cold Outreach, and it's free while in beta.
Free while in beta. No card needed.
Key takeaways
- Two plain GET calls,
/verifyand/find, are all you need from Node.js. - It uses the built-in fetch on Node 18 or newer, so there's nothing to install.
- It's free while in beta, with no card needed.
Updated 2 Dec 2026
01Setup
How to set up Node.js for the API
Use Node 18 or newer, then store your API key in an environment variable named EFV_API_KEY. Create a key under API keys in the dashboard. See create and manage API keys.
export EFV_API_KEY=your_key_here
Keep the key out of your code. Call the API from your server or a script, not from a browser.
02Code
How to verify and find an email in Node.js
Send a GET request to /verify with the email, or to /find with a first name, last name and company domain. Save this as verify.mjs.
const BASE = "https://api.emailfinderverifier.com/api/v1";
const KEY = process.env.EFV_API_KEY;
if (!KEY) throw new Error("Set EFV_API_KEY first");
const RETRY = [429, 500, 503]; // 429 means slow down, 500 and 503 are on our side
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
let last = 0;
async function call(path, params, tries = 5) {
const url = new URL(BASE + path);
url.search = new URLSearchParams(params);
for (let i = 0; i < tries; i++) {
const wait = 1000 - (Date.now() - last); // new accounts: 1 request per second
if (wait > 0) await sleep(wait);
last = Date.now();
let res;
try {
res = await fetch(url, {
headers: { "X-API-Key": KEY },
signal: AbortSignal.timeout(120000),
});
} catch (err) {
if (i === tries - 1) throw err;
await sleep(2 ** i * 1000);
continue;
}
if (res.ok) return res.json();
if (RETRY.includes(res.status) && i < tries - 1) {
await sleep(2 ** i * 1000); // back off, then try again
continue;
}
const body = await res.json().catch(() => ({}));
const code = (body.detail && body.detail.code) || "";
throw new Error(res.status + " " + code);
}
}
const verify = (email) => call("/verify", { email }); // { verified: true, esp: "Outlook" }
const find = (first_name, last_name, domain) =>
call("/find", { first_name, last_name, domain }); // { email: "...", esp: "Google" }
const emails = ["jane@acme.com", "sam@example.com"];
const kept = [];
for (const email of emails) {
if ((await verify(email)).verified) kept.push(email);
}
console.log(kept);
const found = await find("Jane", "Doe", "acme.com");
if (found.email) {
console.log(found.email, (await verify(found.email)).verified); // a found email still needs verifying
} else {
console.log("No email found");
}
Run it with node verify.mjs. The loop keeps only the addresses that come back verified.
03Response
What does the response look like?
Both calls return JSON with the fields below. The field names match the API reference.
| Call | Field | Type | What it means |
|---|---|---|---|
/verify |
verified |
boolean | true only when the mailbox is confirmed |
/verify |
esp |
string | The mail provider the domain uses, like Google or Outlook |
/find |
email |
string or null |
The work email found, or null when none was found |
/find |
esp |
string | The mail provider the domain uses |
A found email hasn't been checked until you run it through /verify. A verified of false means we couldn't confirm the mailbox, and a real address can still come back false. See what verification results mean.
04Errors
How should Node.js handle errors and rate limits?
Retry 429, 500 and 503 with a growing pause, and fix the request on anything else. The script above does this for you and throws an error with the status and code.
| Status | Code | What the script does |
|---|---|---|
400 |
INVALID_EMAIL, MISSING_DOMAIN, MISSING_FIRST_NAME, MISSING_LAST_NAME, INVALID_REQUEST |
Throws. Fix the input. |
401 |
INVALID_API_KEY |
Throws. Check the key. |
402 |
Throws. Your free allowance is used up, so ask us on Slack to extend it. | |
403 |
ACCOUNT_NOT_FOUND, ACCOUNT_NOT_ACTIVE |
Throws. Sign in to the dashboard to see why. |
429 |
RATE_LIMIT_EXCEEDED, CONCURRENT_LIMIT_EXCEEDED |
Waits and retries. |
500, 503 |
Waits and retries. |
New accounts can send 1 request per second and run 5 at once. The script sends one request at a time, so it stays inside both. Use a timeout of at least 60 seconds, since some checks take several seconds. See limits and common errors.
Get your API key and run the script. Free while in beta.
Sign up for free05Other routes
When another route fits better
Node.js is best when the check lives in your own code. Other routes can be simpler:
- A list in a file: upload a CSV in the dashboard, up to 5,000 rows a run. See verify a cold email list.
- No code: use Email Finder Verifier in Clay or n8n.
- All the endpoints: the email finder and verifier API page covers domain lookups and team inboxes too.
- Python instead: see the Python version.
- One address: try the free email verifier.
06FAQ
Node.js integration FAQ
01How do I verify an email in Node.js?
Send a GET request with fetch to https://api.emailfinderverifier.com/api/v1/verify, with an email parameter and your key in the X-API-Key header. The JSON answer has a verified field that's true or false.
02Which Node.js version do I need?
Node 18 or newer, which has fetch built in. You don't need to install a package.
03How do I find an email from a name in Node.js?
Call /find with first_name, last_name and domain. You get an email, or null when none was found. Run any found email through /verify before you use it.
04What happens if I go over the rate limit?
The API returns 429. The script waits, then tries again. New accounts can send 1 request per second and run 5 at once.
05Where should I keep my API key?
In an environment variable, like EFV_API_KEY, never in your code. If a key leaks, revoke it in the dashboard and create a new one.
06What does it cost?
Email Finder Verifier is free while in beta. There are no paid plans.
08Keep going
More on node.js
08Start today
Get your API key in a minute
Sign up with email or Google. No card. Your key and a ready-made first request are waiting. Need more later? Message us on Slack.