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

# Wiza: Search Prospects

> Search prospects by job title, seniority, company, industry, and location. Returns names, titles, companies, and LinkedIn URLs without contact data.

Search prospects by job title, seniority, company, industry, and location. Returns names, titles, companies, and LinkedIn URLs without contact data.

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

## 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(
  'wiza_search_prospects',
  {
    "filters": {
      "first_name": [
        "Jane"
      ],
      "last_name": [
        "Doe"
      ],
      "job_title": [
        {
          "v": "example",
          "s": "i"
        }
      ]
    }
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute wiza_search_prospects --input '{
  "filters": {
    "first_name": [
      "Jane"
    ],
    "last_name": [
      "Doe"
    ],
    "job_title": [
      {
        "v": "example",
        "s": "i"
      }
    ]
  }
}' --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": {
    "prospects": [
      {
        "full_name": "Example",
        "linkedin_url": "https://www.linkedin.com/in/jane-doe",
        "industry": "example"
      }
    ]
  }
}
```

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

## Input reference

Find the number of prospects that match your search filters

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.size` | `integer` | No | — | The number of results to return. Defaults to 0. Max is 30. |
| `payload.filters` | `object` | Yes | — | — |

> [!NOTE]
>
> This input schema is too large for an inline display. Read the complete live contract with `deepline describe wiza_search_prospects --json`.

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.prospects` | `array` | Yes | — | — |
| `result.data.prospects[].full_name` | `string` | No | — | — |
| `result.data.prospects[].linkedin_url` | `string` | No | — | — |
| `result.data.prospects[].industry` | `string` | No | — | — |
| `result.data.prospects[].job_title` | `string` | No | — | — |
| `result.data.prospects[].title` | `string` | No | — | — |
| `result.data.prospects[].job_title_role` | `string \| null` | No | — | — |
| `result.data.prospects[].job_title_sub_role` | `string \| null` | No | — | — |
| `result.data.prospects[].job_company_name` | `string` | No | — | — |
| `result.data.prospects[].job_company_website` | `string` | No | — | — |
| `result.data.prospects[].company` | `string` | No | — | — |
| `result.data.prospects[].location_name` | `string` | No | — | — |
| `result.data.total` | `integer` | 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": {
          "prospects": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "full_name": {
                  "type": "string"
                },
                "linkedin_url": {
                  "type": "string"
                },
                "industry": {
                  "type": "string"
                },
                "job_title": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "job_title_role": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "job_title_sub_role": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "job_company_name": {
                  "type": "string"
                },
                "job_company_website": {
                  "type": "string"
                },
                "company": {
                  "type": "string"
                },
                "location_name": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            }
          },
          "total": {
            "type": "integer"
          }
        },
        "required": [
          "prospects"
        ],
        "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.35` per pricing unit.

## Related documentation

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