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

# Findymail Search Lookalike Companies: Inputs, Cost & CLI

> Find companies similar to a given seed domain. Includes inputs, outputs, pricing notes, Deepline CLI examples, and GTM automation guidance.

## 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=findymail_search_lookalike_companies:{"seed":"{{seed}}"}' --json
```

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

## Input Schema

| Name                         | Type      | Required | Default | Description                                                                |
| ---------------------------- | --------- | -------- | ------- | -------------------------------------------------------------------------- |
| `payload.seed`               | `string`  | Yes      |         | The seed company domain or URL.                                            |
| `payload.same_country`       | `boolean` | No       |         | Only return companies in the same country as the seed (default: false).    |
| `payload.same_size`          | `boolean` | No       |         | Only return companies in the same size range as the seed (default: false). |
| `payload.limit`              | `integer` | No       |         | Maximum number of companies to return (default: 100, max: 10000).          |
| `payload.exclusion_list_ids` | `array`   | No       |         | IDs of exclusion lists to filter out already-known companies.              |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Find companies similar to a given seed domain. Optionally filter results by same country or same company size, and exclude companies from specific exclusion lists. Credit cost: 1 Finder credit per 10 results returned (rounded up).",
    "properties": {
      "seed": {
        "type": "string",
        "description": "The seed company domain or URL."
      },
      "same_country": {
        "type": "boolean",
        "description": "Only return companies in the same country as the seed (default: false)."
      },
      "same_size": {
        "type": "boolean",
        "description": "Only return companies in the same size range as the seed (default: false)."
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of companies to return (default: 100, max: 10000)."
      },
      "exclusion_list_ids": {
        "type": "array",
        "description": "IDs of exclusion lists to filter out already-known companies.",
        "items": {
          "type": "integer"
        }
      }
    },
    "required": [
      "seed"
    ],
    "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": {
        "description": "Provider response payload.",
        "anyOf": [
          {
            "type": "object",
            "description": "Ok",
            "properties": {
              "companies": {
                "type": "array",
                "description": "List of similar companies found.",
                "items": {
                  "type": "object",
                  "properties": {
                    "domain": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "linkedin_url": {
                      "type": "string"
                    },
                    "company_size": {
                      "type": "string"
                    },
                    "country": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "total": {
                "type": "integer",
                "description": "Total number of companies returned."
              }
            },
            "additionalProperties": false
          },
          {
            "type": "object",
            "description": "No results with message",
            "properties": {
              "companies": {
                "type": "array",
                "description": "List of similar companies found."
              },
              "total": {
                "type": "integer",
                "description": "Total number of companies returned."
              },
              "message": {
                "type": "string",
                "description": "Informational message when filters cannot be applied (only present when relevant)."
              }
            },
            "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 findymail_search_lookalike_companies --payload '{
  "seed": "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: `provider_usage` (provider usage).
* Estimated Deepline credits: `0` per pricing unit.
* Billing mode: `post_deduct`.
