> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 公司搜索

> 使用 Business Search 查找公司。[POST /search/company](/cn/api-reference/business-search/search-company) 可按名称、行业、总部地点和规模搜索，支持结构化条件或自然语言。

公司搜索根据定义理想客户画像的条件建立目标客户名单。

所有公司请求都发送到 [`POST /search/company`](/cn/api-reference/business-search/search-company)。

## 应该使用哪些公司字段名

字段接受哪些运算符取决于字段类型。文本类型字段只接受 `text` 运算符；字符串、整数等有类型字段接受 `equals`、`in` 和 `range`。对文本字段使用 `equals` 会返回 HTTP 400。

| 字段                                    | 类型    | 运算符              | 说明                                                                                                   |
| ------------------------------------- | ----- | ---------------- | ---------------------------------------------------------------------------------------------------- |
| `industry`                            | 文本    | `text`           | 按词匹配，例如 `software`                                                                                   |
| `name`                                | 文本    | `text`           | 公司名称                                                                                                 |
| `about`、`slogan`、`specialties`        | 文本    | `text`           | 描述性文本                                                                                                |
| `headquarters_location`               | 文本    | `text`           | 描述性地点字符串                                                                                             |
| `headquarters_country_code`           | 字符串   | `equals`、`in`    | ISO 3166 alpha-2 代码，例如 `US` 或 `GB`                                                                   |
| `headquarters_city`                   | 字符串   | `equals`         | 精确城市名                                                                                                |
| `offices_country_codes`               | 字符串数组 | `in`             | 设有办公室的国家                                                                                             |
| `offices_cities`                      | 字符串数组 | `in`             | 设有办公室的城市                                                                                             |
| `organization_type`                   | 字符串   | `equals`         | `Privately Held`、`Public Company`、`Nonprofit`、`Educational`、`Self-Employed` 或 `Government Agency` 之一 |
| `founded_year`                        | 整数    | `range`、`equals` |                                                                                                      |
| `employees_in_linkedin`               | 整数    | `range`          | 数据源记录的员工数                                                                                            |
| `company_size_from`、`company_size_to` | 整数    | `range`          | 自报的规模区间                                                                                              |
| `funding_stage`                       | 字符串   | `equals`、`in`    | 最近一轮融资类型                                                                                             |
| `funding_raised`                      | 整数    | `range`          | 最近一轮融资金额（美元）                                                                                         |
| `linkedin_followers`                  | 整数    | `range`          | 关注者数量                                                                                                |

`funding_stage` 接受 `pre-seed`、`seed`、`angel`、`series-a`、`series-b`、`series-c`、`series-d`、`series-e`、`series-unknown`、`grant`、`debt`、`convertible-note`、`crowdfunding`、`non-equity-assistance`、`corporate-round`、`private-equity` 和 `undisclosed`。

## 公司搜索请求长什么样

以下 Ludicrous 请求查找行业中包含 `software`、记录中的员工数在 50 到 500 之间的美国公司，同时把成立年份和关注者数量作为输出字段：

```json theme={null}
{
  "mode": "ludicrous",
  "query": {
    "and": [
      { "text": { "industry": "software" } },
      { "equals": { "headquarters_country_code": "US" } },
      {
        "range": {
          "employees_in_linkedin": { ">=": 50, "<=": 500 }
        }
      }
    ]
  },
  "offset": 0,
  "limit": 10,
  "view": {
    "fields": [
      "name", "website", "industry",
      "headquarters_country_code", "employees_in_linkedin",
      "founded_year", "linkedin_followers", "url"
    ]
  }
}
```

选作输出的字段不会成为搜索条件。上面的 `view` 列表会返回 `founded_year`，但不会把搜索范围限定为有成立年份记录的公司。条件写在 `query` 中，输出写在 `view` 中。

## 如何理解 employees\_in\_linkedin

`employees_in_linkedin` 是数据源档案中记录的员工数，不能当作公司的实际总人数。当你的产品向终端用户展示人数时，请标明来源，而不要把该数字呈现为公司的官方规模。

`company_size_from` 和 `company_size_to` 在可用时表示公司规模区间。当你需要区间而非单点数值时，请使用这两个字段。

约 40% 的公司记录没有员工数记录，`employees_in_linkedin` 存为 0。要获得可靠的规模筛选，请把员工数区间与规模区间组合，并让 `employees_in_linkedin` 的下限不低于 1，以剔除员工数未知的记录：

```json theme={null}
{
  "and": [
    { "range": { "employees_in_linkedin": { ">=": 50, "<=": 200 } } },
    { "range": { "company_size_from": { "<=": 200 } } },
    { "range": { "company_size_to": { ">=": 50 } } }
  ]
}
```

当记录的员工数落在区间内且其自报规模区间与之重叠时，该记录才符合条件。

## summary 视图返回哪些字段

`summary` 视图返回 14 个字段：`name`、`slogan`、`industry`、`headquarters_location`、`headquarters_country_code`、`offices_cities`、`company_size_from`、`company_size_to`、`employees_in_linkedin`、`linkedin_followers`、`website`、`domain`、`url` 和 `logo`。记录中没有值的字段会被省略，而不是返回 null。

`founded_year` 不在 `summary` 中，需要在 `fields` 列表中显式请求。参见 [Business Search 字段视图](/cn/products/business-search/select-fields)。
