> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Name And Domain To Email Waterfall: Cost, Inputs & CLI

> Find work email from name and domain. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

```bash theme={null}
deepline plays run prebuilt/name-and-domain-to-email-waterfall \
  --input '{"first_name":"Jane","last_name":"Doe","domain":"example.com"}' \
  --watch
```

## How it works

Providers are tried left to right. Each waterfall stops after the required result count is reached, so later providers are skipped.

```mermaid theme={null}
flowchart LR
  S0["Leadmagic: Pattern First At *"]:::provider
  S1["Leadmagic: Pattern Flast *"]:::provider
  S2["Leadmagic: Pattern First Dot Last *"]:::provider
  S3["Leadmagic: Pattern Firstl *"]:::provider
  S4["Leadmagic: Pattern Firstlast *"]:::provider
  S5["Hunter *"]:::provider
  S6["Leadmagic: Leadmagic Email *"]:::provider
  S7["Datagma *"]:::provider
  S8["Findymail *"]:::provider
  S9["Icypeas *"]:::provider
  S10["Prospeo *"]:::provider
  S11["Deepline Native *"]:::provider
  S12["Lusha *"]:::provider
  S13["Contactout *"]:::provider
  S14["Dropleads *"]:::provider
  S0 --> S1 --> S2 --> S3 --> S4 --> S5 --> S6 --> S7 --> S8 --> S9 --> S10 --> S11 --> S12 --> S13 --> S14
  classDef provider fill:#1e293b,stroke:#475569,color:#e2e8f0
```

*\* Only runs when optional fields are provided.*

## Parameters

| Name           | Type     | Required | Description                                                                                         |
| -------------- | -------- | -------- | --------------------------------------------------------------------------------------------------- |
| `first_name`   | `string` | Yes      | Contact first name.                                                                                 |
| `last_name`    | `string` | Yes      | Contact last name.                                                                                  |
| `domain`       | `string` | Yes      | Company domain (for example acme.com).                                                              |
| `company_name` | `string` | No       | Optional company name hint accepted for compatibility with older email waterfall payloads.          |
| `linkedin_url` | `string` | No       | Optional standard LinkedIn profile URL. Enables LinkedIn-native fallback enrichment when available. |

## Cost

**0.9-1.4 credits** — each waterfall stops after it reaches the required result count, so skipped providers do not add cost.

| Step                              | Max Credits |
| --------------------------------- | ----------- |
| Leadmagic: Pattern First At       | 0.1         |
| Leadmagic: Pattern Flast          | 0.1         |
| Leadmagic: Pattern First Dot Last | 0.1         |
| Leadmagic: Pattern Firstl         | 0.1         |
| Leadmagic: Pattern Firstlast      | 0.1         |
| Hunter                            | 0.3         |
| Leadmagic: Leadmagic Email        | 0.3         |
| Datagma                           | 0.1         |
| Findymail                         | 0.7         |
| Icypeas                           | 0.1         |
| Prospeo                           | 0.6         |
| Deepline Native                   | 1           |
| Lusha                             | 0.7         |
| Contactout                        | 1.4         |
| Dropleads                         | 0.3         |
