What you will do
- Search for a waterfall that finds emails
- Run it for a single contact
- 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: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
task_id. Poll it to get results:
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
Withoutenrichments, 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):
Step 3: Run in bulk
For multiple contacts, use the bulk endpoint: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.
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.