# Search Companies — Super Carl

> Search companies by name, domain, funding, size, industry, location, growth, or technology. Use this to qualify a target company or find companies matching structured Filters before reaching out. Use Search People afterward to find people…

- Key: `super_carl-search-companies`
- Type: Action (Read-only)
- Version: 0.0.2
- App: Super Carl (`super_carl`) — https://pipedream.com/apps/super-carl.md
- This page (HTML): https://pipedream.com/apps/super-carl/actions/search-companies
- Hints: read-only · open-world
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/super_carl/actions/search-companies/search-companies.mjs

## Description

Search companies by name, domain, funding, size, industry, location, growth, or technology. Use this to qualify a target company or find companies matching structured Filters before reaching out. Use **Search People** afterward to find people at a matched company; enable Resolve Only to just disambiguate a single company name, domain, or LinkedIn URL without running a full search — Resolve Only returns identity metadata ONLY (name, domain, a coarse `employee_count`, `industries`), never a company's real size or description. When the task needs to know a company's actual size or what it does, leave Resolve Only off (or set it false) and set Result Mode to `detailed`; don't fill gaps from outside knowledge when Resolve Only comes back thin — re-call with `detailed` instead. Company rows in `detailed` mode can be large — pass Fields (e.g. `name`, `domain`, `employee_count`) to keep the result small. [See the documentation](https://supercarl.ai/docs#endpoints-companies)

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `query` | `string` | No | Natural-language search query, for example Head of Growth candidates in NYC warm through my network. |
| `filters` | `object` | No | Optional Super Carl AdvancedFilters JSON object for structured constraints. Example: { "job_titles": { "include": ["Head of Growth"], "current_only": true }, "locations": { "include": ["New York"] }, "connection_degrees": ["1st"] }. |
| `previewLimit` | `integer` | No | Maximum number of preview rows to return. |
| `resolveOnly` | `boolean` | No | Return only company disambiguation metadata for a named company, domain, or LinkedIn company URL. Example query values: stripe.com, https://www.linkedin.com/company/stripe, or Stripe. |
| `resultMode` | `string` | No | Level of company-row detail to return. Use preview for fast, compact rows, or detailed when the workflow needs richer company metadata. |
| `includeEvidenceText` | `boolean` | No | Include supporting evidence text on company rows when available. |
| `delegateUserId` | `string` | No | Optional Super Carl team-seat user ID to search as. This is the UUID of a teammate's user record that the API key owner can delegate to, for example 550e8400-e29b-41d4-a716-446655440000. |
| `fields` | `string[]` | No | Optional list of fields to return per row instead of the full record — keeps large result sets well under the context limit. Supports dot-paths for nested values, for example name, linkedin_profile_url, resolved_target.id. Omit this prop to return the API default field set (every field). |

## Run it

**MCP**

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "super_carl",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
  name: "super_carl-search-companies",
  arguments: {
    query: "Query",
    filters: "Filters",
  },
})
```

**TypeScript**

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "super_carl-search-companies",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    super_carl: { authProvisionId: "apn_xxxxxxx" },
    query: "Query",
    filters: "Filters",
  },
})

console.log(result)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "super_carl-search-companies",
    "configured_props": {
      "super_carl": { "authProvisionId": "apn_xxxxxxx" },
      "query": "Query",
      "filters": "Filters"
    }
  }'
```

---

- App: https://pipedream.com/apps/super-carl.md · All apps: https://pipedream.com/apps
