Written by

Florian

Published

April 8, 2025

Find a Work Email Address by Name and Company

Back

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 PeopleValidateEmailZeroBounce@1.

This pipe uses ZeroBounce to validate the existence of the email address to protect your reputation.

The cost per pipe invocation is ~1ct. per record.

Prerequisites

šŸ™†šŸ¼ā€ā™‚ļø Go to pipe0 and create an account
šŸ”‘ Create an API Key

Request object

const id = 1;
const result = await fetch("https://api.pipe0.com/v1/pipes/run", {
  method: "POST",
  headers: {
    "Authorization": `Bearer <API_KEY>`,
    "Conent-Type": "application/json"
  },
  body: JSON.stringify({
    pipes: [{ name: "PeopleValidateEmailZeroBounce@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/docs/pipeline#async-processing

// Print email
console.log(response.records[id].fields["isEmailValid"].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
logo-dark
Add clay-like data enrichment to your application. Fast.