# 公司数据 品牌检索 API (company_data.brand_search)

- Canonical page: https://everyinfra.com/company-data-api/brand_search
- Endpoint: POST /api/v1/social with {"platform": "company_data", "action": "brand_search", "params": {...}}
- Price: $0.000556 per call ($0.56 per 1,000 requests); failed and empty results are not charged
- Returns: list, default 10, max 10 per call
- Mode: sync; add "mode": "async" for slow tasks

公司数据品牌检索把一个品牌名、域名或开头几个字母换成候选公司：`keyword` 可以写 notion、nike.com 或 nik，每家带名称 `name`、主域名 `domain`、简介 `description`、所属国家的两位代码 `country` 和官网主要语言 `language`。只知道品牌名时，先用它确认主域名，再把域名交给下一步。

一次默认也最多返回 10 条，`keyword` 最长 100 字。`language` 取的是品牌官网的主要语言，如 english。这个接口只给品牌的基本资料，员工数和融资在关键词搜索那一页，同行关系在同行与竞争对手那一页。

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=company_data&action=brand_search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | 品牌名或域名，也可以只写开头几个字母，例如 notion、nike.com、nik；最多 100 字。 |
| limit | integer (1–10) | no | 10 | 这次调用最多返回的条数，整数，1–10；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| domain | 公司主域名，例如 stripe.com。 |
| description | 简介或描述，通常比 text 短。 |
| country | 品牌所属国家两位代码（brand_search）。 |
| language | 品牌官网主要语言（brand_search），例如 english。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "company_data",
  "action": "brand_search",
  "params": {
    "keyword": "payment infrastructure companies in Ireland"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "company_data",
        "action": "brand_search",
        "params": {
            "keyword": "payment infrastructure companies in Ireland",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "company_data",
  "action": "brand_search",
  "results": [
    {
      "name": …,
      "domain": …,
      "description": …,
      "country": …,
      "language": …,
      "platform": …
    }
  ],
  "count": …,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### `keyword` 可以只写一部分吗？

可以。品牌名、域名都行，也可以只写开头几个字母，如 nik，最多 100 字。只记得开头几个字母时，先写前几个字母，再从最多 10 条候选里按 `domain` 挑。

### 拿到域名之后怎么找它的竞争对手？

把结果里的 `domain` 交给同行与竞争对手那一页，它按域名返回直接同行和大厂对手，每家带一段对比说明。要按描述找同类公司，改用关键词搜索。

### 品牌检索和公司关键词搜索怎么选？

已经知道品牌名或域名，用品牌检索，`keyword` 填名字。想用一句话描述要找哪类公司，再按国家和员工数筛，用关键词搜索那一页，返回里还带总部、融资等字段。品牌检索里的 `country` 只是返回字段，不能拿来筛选。

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=company_data
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
