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

> Find companies similar to a seed company domain, optionally in the same country or size range. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Find companies similar to a seed company domain, optionally in the same country or size range.

> [!NOTE]
>
> Tool ID: `findymail_search_lookalike_companies`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'findymail_search_lookalike_companies',
  {
    "seed": "example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute findymail_search_lookalike_companies --input '{
  "seed": "example"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "companies": [
      {
        "domain": "example.com",
        "name": "Example",
        "linkedin_url": "https://www.linkedin.com/in/jane-doe"
      }
    ],
    "total": 123
  }
}
```

Use `deepline describe findymail_search_lookalike_companies --json` for the latest machine-readable contract.

## Input reference

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.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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.",
    "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 reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.companies` | `array` | No | — | List of similar companies found. |
| `result.data.companies[].domain` | `string` | No | — | — |
| `result.data.companies[].name` | `string` | No | — | — |
| `result.data.companies[].linkedin_url` | `string` | No | — | — |
| `result.data.companies[].company_size` | `string` | No | — | — |
| `result.data.companies[].country` | `string` | No | — | — |
| `result.data.total` | `integer` | No | — | Total number of companies returned. |
| `result.data.message` | `string` | No | — | Informational message when filters cannot be applied (only present when relevant). |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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>

## Deepline cost

* Pricing model: `provider_usage` (provider usage).
* Estimated Deepline credits: `0` per pricing unit.

## Related documentation

* [Findymail provider guide](https://deepline.com/docs/providers/findymail/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.