> ## 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.

# Hunter Email Finder: Inputs, Cost & CLI Example

> Generate one high-confidence work email from name plus domain with confidence scoring. Includes inputs, outputs, costs, and Deepline CLI examples.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=hunter_email_finder:{}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                      | Type      | Required | Default | Description                                                                            |
| ------------------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------------- |
| `payload.domain`          | `string`  | No       |         | Company domain (for example reddit.com). Provide domain, company, or linkedin\_handle. |
| `payload.first_name`      | `string`  | No       |         | First name of the contact.                                                             |
| `payload.last_name`       | `string`  | No       |         | Last name of the contact.                                                              |
| `payload.full_name`       | `string`  | No       |         | Full name alias for first + last (required unless using linkedin\_handle).             |
| `payload.company`         | `string`  | No       |         | Company name (alternative to domain).                                                  |
| `payload.linkedin_handle` | `string`  | No       |         | LinkedIn profile handle; when provided, name fields are optional.                      |
| `payload.max_duration`    | `integer` | No       |         | Lookup timeout in seconds.                                                             |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Find the most likely work email from a name plus a domain, company, or LinkedIn handle.",
    "properties": {
      "domain": {
        "type": "string",
        "description": "Company domain (for example reddit.com). Provide domain, company, or linkedin_handle."
      },
      "first_name": {
        "type": "string",
        "description": "First name of the contact."
      },
      "last_name": {
        "type": "string",
        "description": "Last name of the contact."
      },
      "full_name": {
        "type": "string",
        "description": "Full name alias for first + last (required unless using linkedin_handle)."
      },
      "company": {
        "type": "string",
        "description": "Company name (alternative to domain)."
      },
      "linkedin_handle": {
        "type": "string",
        "description": "LinkedIn profile handle; when provided, name fields are optional."
      },
      "max_duration": {
        "type": "integer",
        "description": "Lookup timeout in seconds."
      }
    },
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `record` | Yes      |         | Provider response payload.                     |
| `result.meta` | `record` | No       |         | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "additionalProperties": {}
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute hunter_email_finder --payload '{}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.3` per pricing unit.
* Billing mode: `post_deduct`.
