# LinkedIn 员工列表 API (linkedin.employees)

- Canonical page: https://everyinfra.com/linkedin-api/employees
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "linkedin", "action": "employees", "params": {...}}
- Price: $0.000792 per call ($0.79 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 200 per call
- Mode: sync; add "mode": "async" for slow tasks

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| company | not declared | yes | not declared | company_profile/ employees 的 LinkedIn 公司短名或 /company/ 主页 URL；不是任意工商公司名称。employees 会将短名补成公司主页，返回公开员工样本，不保证完整在职名单。 |
| limit | integer (1–200) | no | 20 | 这次调用最多返回的条数，整数，1–200；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| headline | 个人主页一句话标签，用户自填。 |
| location | 地理位置描述，原文透传，格式随平台而异。 |
| country | 国家或地区。可能是全称也可能是 ISO 代码，取决于平台，未归一。 |
| country_code | 国家代码。 |
| city | 城市名，用原平台的语言书写，未做中英归一。 |
| avatar_url | 头像图片链接。部分平台给的是带尺寸参数的 CDN 链接，可能有时效。 |
| is_premium | 是否为付费会员。 |
| is_influencer | 是否为 LinkedIn 认证影响者。 |
| open_to_work | 是否公开标记求职中。 |
| company_url | 公司主页链接。 |
| email | 邮箱。person_profile、profile_search 是按公开资料推测并校验的工作邮箱，employees 只在平台有公开时返回；可能为空，不代表对方同意营销联系。 |
| phone | 联系电话，原文透传，未做号码格式归一。 |
| is_creator | 是否为创作者模式主页。 |
| is_top_voice | 是否为 LinkedIn Top Voice（金色徽章）。 |
| is_memorialized | 是否为纪念账号（本人已故）。 |
| account_created_at | 账号创建时间；平台未提供时为 null。 |
| primary_locale | 账号主语言地区（如 zh-CN）。 |
| postal_code | 主页所在地邮编（employees，有才返回）。 |
| member_urn | 成员 URN（ACoAA… 形式），同一个人在各能力里的稳定标识。 |
| first_name | 名（person_profile）。 |
| last_name | 姓（person_profile）。 |
| company_id | platform-native meaning |
| 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": "linkedin",
  "action": "employees",
  "params": {
    "company": "google"
  }
}'
```

```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": "linkedin",
        "action": "employees",
        "params": {
            "company": "google",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-10-24T18:28:34Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "linkedin",
  "action": "employees",
  "results": [
    {
      "id": "•••",
      "url": "https://linkedin.com/•••",
      "name": "•••",
      "headline": "•••",
      "location": "•••",
      "country": "United States",
      "country_code": "US",
      "city": "Mountain View, California",
      "avatar_url": "",
      "is_premium": true,
      "is_influencer": false,
      "open_to_work": false,
      "company_url": "https://www.linkedin.com/company/google",
      "is_creator": false,
      "is_top_voice": false,
      "is_memorialized": false,
      "account_created_at": "2004-04-26T01:31:42+00:00",
      "primary_locale": "en_US",
      "member_urn": "•••",
      "first_name": "•••",
      "last_name": "•••",
      "company_id": "1441",
      "platform": "linkedin"
    },
    {
      "id": "•••",
      "url": "https://linkedin.com/•••",
      "name": "•••",
      "headline": "•••",
      "location": "•••",
      "country": "United Kingdom",
      "country_code": "GB",
      "city": "London, England",
      "avatar_url": "https://media.licdn.com/•••",
      "is_premium": false,
      "is_influencer": false,
      "open_to_work": false,
      "company_url": "https://www.linkedin.com/company/google",
      "is_creator": true,
      "is_top_voice": false,
      "is_memorialized": false,
      "account_created_at": "2006-02-01T02:16:53+00:00",
      "primary_locale": "en_US",
      "member_urn": "•••",
      "first_name": "•••",
      "last_name": "•••",
      "company_id": "1441",
      "platform": "linkedin"
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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