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

# Zerobounce Domain Search: Inputs, Cost & CLI Example

> Inspect known email patterns for a company domain before generating candidate addresses. 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=zerobounce_domain_search:{"domain":"{{domain}}"}' --json
```

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

## Input Schema

| Name             | Type                               | Required | Default | Description                                                                                               |
| ---------------- | ---------------------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------- |
| `payload.domain` | `string`                           | Yes      |         | Company domain to inspect for known email patterns.                                                       |
| `payload.type`   | `"personal" \| "generic" \| "all"` | No       |         | Legacy Deepline filter retained for compatibility. The shared V2 guessformat endpoint ignores this field. |

### Allowed values

| Field          | Allowed values               |
| -------------- | ---------------------------- |
| `payload.type` | `personal`, `generic`, `all` |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Discover a domain email pattern using the legacy Deepline-compatible ZeroBounce domain-search contract.",
    "properties": {
      "domain": {
        "type": "string",
        "description": "Company domain to inspect for known email patterns."
      },
      "type": {
        "type": "string",
        "description": "Legacy Deepline filter retained for compatibility. The shared V2 guessformat endpoint ignores this field.",
        "enum": [
          "personal",
          "generic",
          "all"
        ]
      }
    },
    "required": [
      "domain"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Provider response payload.                     |
| `result.meta` | `object` | 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.",
        "properties": {
          "domain": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "format": {
            "type": [
              "string",
              "null"
            ]
          },
          "confidence": {
            "type": [
              "string",
              "null"
            ]
          },
          "did_you_mean": {
            "type": [
              "string",
              "null"
            ]
          },
          "failure_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "other_domain_formats": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "format": {
                  "type": "string"
                },
                "confidence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "count": {
                  "type": [
                    "string",
                    "number",
                    "integer",
                    "null"
                  ]
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

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

```bash theme={null}
deepline tools execute zerobounce_domain_search --payload '{
  "domain": "string"
}' --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: `5.46` per pricing unit.
* Billing mode: `post_deduct`.
