Skip to main content
A waterfall tries multiple data providers one after another until one returns a result. This is the best way to maximize email coverage without writing fallback logic yourself.

What you will do

  1. Search for a waterfall that finds emails
  2. Run it for a single contact
  3. Run it in bulk for a list

Prerequisites

  • A Databar API key on the Build, Scale or Enterprise plan (get one here)
  • The person’s first name, last name and company (a company name or its domain)

Step 1: Find a waterfall

List the available waterfalls:
Each waterfall has an identifier, the input parameters it expects and the providers it can use. To find a work email from a name and company, use email_getter, which takes first_name, last_name and company. See its providers, their IDs and prices with:

Step 2: Run for a single contact

You will receive a task_id. Poll it to get results:
When the task is completed, data.result.email holds the email. data.steps lists each provider that was tried, what it returned and what it cost. If no provider finds an email, the task ends as failed with the error No matching data found for this input. and you are not charged.

Choose providers and verify the email

Without enrichments, the waterfall runs the providers that are enabled by default, in the order GET /v1/waterfalls/email_getter lists them. That order is not sorted by price, so pass enrichments to set which providers run and in what order, cheapest first if cost matters. Add email_verifier to check each email found (for example 1220 for ZeroBounce):
You pay for the provider that returns an email. With a verifier you also pay for each verification. If an email fails verification, that provider and the verification are still charged and the next provider runs.

Step 3: Run in bulk

For multiple contacts, use the bulk endpoint:
The task’s data is a list with one entry per contact, in the order you sent them. A contact with no email found has an empty result and is not charged. progress counts how many contacts are done and how many found nothing.
Task data is stored for 24 hours. Make sure to retrieve and save your results before they expire.

With the Python SDK

Next steps

Enrich leads

Enrich a batch of leads with company and contact data.

Table enrichment pipeline

Store data in a table and run enrichments across all rows.