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

# LeadMagic: Employee Finder

> List employees at a company by company domain or name, with names, job titles, and LinkedIn profile URLs. Includes SDK V2 examples, schemas, and cost.

List employees at a company by company domain or name, with names, job titles, and LinkedIn profile URLs.

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

## 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(
  'leadmagic_employee_finder',
  {
    "company_name": "Example Corp",
    "page": 1,
    "per_page": 20
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute leadmagic_employee_finder --input '{
  "company_name": "Example Corp",
  "page": 1,
  "per_page": 20
}' --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": {
    "message": "Example message"
  }
}
```

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

## Input reference

Find employees of a specific company.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.company_name` | `string` | No | — | — |
| `payload.page` | `integer` | No | `1` | Minimum: 1. |
| `payload.per_page` | `integer` | No | `20` | Minimum: 1. Maximum: 50. |
| `payload.company_domain` | `string` | No | — | Company website domain. |
| `payload.limit` | `integer` | No | — | Legacy alias for per\_page. Minimum: 1. Maximum: 50. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Find employees of a specific company.",
    "properties": {
      "company_name": {
        "type": "string"
      },
      "page": {
        "type": "integer",
        "default": 1,
        "minimum": 1
      },
      "per_page": {
        "type": "integer",
        "default": 20,
        "minimum": 1,
        "maximum": 50
      },
      "company_domain": {
        "type": "string",
        "description": "Company website domain."
      },
      "limit": {
        "type": "integer",
        "description": "Legacy alias for per_page.",
        "minimum": 1,
        "maximum": 50
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.message` | `string` | Yes | — | — |
| `result.data.total_count` | `integer` | No | — | — |
| `result.data.returned_count` | `integer` | No | — | — |
| `result.data.data` | `array` | No | — | — |
| `result.data.data[].first_name` | `string` | No | — | — |
| `result.data.data[].last_name` | `string` | No | — | — |
| `result.data.data[].title` | `string` | No | — | — |
| `result.data.data[].website` | `string` | No | — | — |
| `result.data.data[].company_name` | `string` | No | — | — |
| `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": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "message": {
            "type": "string"
          },
          "total_count": {
            "type": "integer"
          },
          "returned_count": {
            "type": "integer"
          },
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "first_name": {
                  "type": "string"
                },
                "last_name": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "website": {
                  "type": "string"
                },
                "company_name": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "required": [
          "message"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.02` per pricing unit.

## Related documentation

* [LeadMagic provider guide](https://deepline.com/docs/providers/leadmagic/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.