Find a Work Email Address by Name and Company
In this blog post, we explore how you can validate work email addresses via an API endpoint. For this, we use pipe0 .
Pipe0 is a framework for data enrichment. To enrich data with pipe0 you use enrichment pipes. There are several pipes available to validate work email addresses via API. For this blog post, we’re using the pipe PeopleIsWorkEmailPipe0@1 .
This pipe simply checks if a given email address is linked to a publically known free email provider and therefore not a valid work email address.
If you want to go even further you can use the PeopleValidateEmailZeroBounce@1 pipe . This pipe uses zerobounce to validate the existence of the email address to protect your reputation.
The pipe “PeopleIsWorkEmailPipe0@1” is free to use on pipe0 (if you have a subscription).
Prerequisites
🙆🏼♂️ Go to pipe0 and create an account
🔑 Create an API Key
Request object
const id = 1;
const result = await fetch("https://pipe0.com/api/v1/run", {
method: "POST",
headers: {
"Authorization": `Bearer <YOUR_API_TOKEN>`,
},
body: JSON.stringify({
pipes: [{ name: "PeopleIsWorkEmailPipe0@1" }],
input: [{id, workEmail: "<EMAIL_ADDRESS>" }]
})
});
const response = await result.json();
// [NOT SHOWN] Poll the "/check" endpoint until the task status is "completed"
// Learn more: https://www.pipe0.com/resources/documentation/pipeline#async-processing
// Print email
console.log(response.records[id].fields["isWorkEmail"].value);
Using pipe0
In this example we used pipe0 instead of querying providers directly. Using pipe0 has many advantages:
- Use 50+ enrichment providers with one subscription
- Combine multiple enrichments in one API call
- Up-to-date API documentation and best-in-class DX
- Combine data enrichment, web scraping, and AI for powerful solutions