# Search companies

> Find companies in the Happierleads database by industry, size, location or technology, or look one up by name.

Every section below does the same job: in the dashboard (Guide), from your code (API) or through an AI assistant (MCP).

## Guide — In the dashboard

Source: /docs/leads/prospector/search-companies

Look up one company or person by name, or search companies by industry, size, location and technology.

<DemoFrame guide="prospector-search-database" to="/identify/{workspace}?tab=prospector" />

1. **Leads → Prospector → Search database.**
2. **People or Companies**, then type a name.
3. **Import** adds a person to your leads (1 credit when their email verifies).


---

## API — From your code

Source: /docs/leads/prospector/search-companies/api

Authenticated with `?privateKey=YOUR_KEY` (see [Authentication](/docs/authentication)).

<Endpoints ops={["POST /v3/prospector/companies/search"]} />

<ApiPlayground
  ops={["POST /v3/prospector/companies/search"]}
  method="post"
  path="/v3/prospector/companies/search"
  tool="search_companies"
  args={`{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9",
  "query": {
    "industries": [
      "Computer Software"
    ],
    "locations": [
      "United States"
    ]
  }
}`}
/>

### Use case: Companies using a technology [#use-case-companies-using-a-technology]

`POST /v3/prospector/companies/search` with `"technologies": ["HubSpot"]` in the query.


---

## MCP — AI agents

Source: /docs/leads/prospector/search-companies/mcp

Connect the [MCP server](/docs/mcp#quickstart), then just ask.

<Tools names={["search_companies"]} />

### Use case [#use-case]

> Find US software companies with 50 to 200 employees.

<McpToolCall name="search_companies">

```json
{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9",
  "query": {
    "industries": [
      "Computer Software"
    ],
    "locations": [
      "United States"
    ],
    "employeesMin": 50,
    "employeesMax": 200
  }
}
```

</McpToolCall>

