# LinkedIn 个人职业资料 API (linkedin.person_profile)

- Canonical page: https://everyinfra.com/linkedin-api/person_profile
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "linkedin", "action": "person_profile", "params": {...}}
- Price: $0.000778 per call ($0.78 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- 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=person_profile

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| username | not declared | yes | not declared | person_profile 使用 LinkedIn 个人 /in/ 路径的用户名或完整个人主页 URL；followers 使用账号路径并返回粉丝数量，不是粉丝名单。 |
| location | not declared | no | not declared | profile_search 的人物所在地文本；jobs 中为岗位地点，keyword 已是完整 URL 时不再追加；person_profile 不按它筛选。 |
| locations | not declared | no | not declared | 地点数组兼容输入，建议改用 location；它不保证与 location 效果相同，也不能用来做跨国家批量搜索。 |
| name | not declared | no | not declared | 兼容定位输入：company_profile 中承载公司标识，部分 person_profile 查询中作为人物检索词。它不能代替必填 company/username，也不保证按显示名称精确匹配到同一人。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| username | 用户名（@handle）。 |
| display_name | 显示名，可能与 username 不同。 |
| headline | 个人主页一句话标签，用户自填。 |
| about | 个人简介长文。 |
| location | 地理位置描述，原文透传，格式随平台而异。 |
| current_company | 当前公司。 |
| current_company_url | 当前公司的 LinkedIn 主页链接。 |
| current_company_logo_url | 当前公司 logo 链接。 |
| member_urn | 成员 URN（ACoAA… 形式），同一个人在各能力里的稳定标识。 |
| current_company_id | 当前公司的 LinkedIn 数字 ID。 |
| follower_count | 粉丝数。null 表示不公开，不等于 0。 |
| connection_count | 人脉连接数。1st/2nd 度人脉规模的直接体现。 |
| email | 邮箱。person_profile、profile_search 是按公开资料推测并校验的工作邮箱，employees 只在平台有公开时返回；可能为空，不代表对方同意营销联系。 |
| is_verified | 是否为平台认证账号（蓝V等）。null 表示无法判定。 |
| is_premium | 是否为付费会员。 |
| is_top_voice | 是否为 LinkedIn Top Voice（金色徽章）。 |
| is_creator | 是否为创作者模式主页。 |
| is_influencer | 是否为 LinkedIn 认证影响者。 |
| open_to_work | 是否公开标记求职中。 |
| top_skills | 档案顶部展示的技能标签。 |
| top_education_school | 档案顶部展示的最高学府。 |
| creator_hashtags | 创作者模式主页自选的话题标签。 |
| creator_website | 创作者模式主页自选的对外链接。 |
| primary_locale | 账号主语言地区（如 zh-CN）。 |
| account_created_at | 账号创建时间；平台未提供时为 null。 |
| avatar_url | 头像图片链接。部分平台给的是带尺寸参数的 CDN 链接，可能有时效。 |
| background_picture_url | 主页背景大图链接。 |
| url | 该记录在原平台上的可访问链接。 |
| experience | 工作经历列表（person_profile、profile_search）：每项含职位、公司、公司主页链接、起止时间与时长文本，有时另有 location（地点）、description（描述）、employment_type（雇佣类型）、skills（技能）。 |
| education | 教育经历列表（person_profile、profile_search）：每项含学校、学校主页链接、起止时间与时长文本。 |
| featured | 个人主页「精选」模块列表：每项含类型、标题、描述、链接与配图，帖子类另有 like_count、comment_count。 |
| first_name | 名（person_profile）。 |
| last_name | 姓（person_profile）。 |
| country | 国家或地区。可能是全称也可能是 ISO 代码，取决于平台，未归一。 |
| city | 城市名，用原平台的语言书写，未做中英归一。 |
| country_code | 国家代码。 |
| is_memorialized | 是否为纪念账号（本人已故）。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |
| emails | 该人的全部邮箱（person_profile）；email 是其中第一个。 |

## 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": "person_profile",
  "params": {
    "username": "williamhgates"
  }
}'
```

```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": "person_profile",
        "params": {
            "username": "williamhgates",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "linkedin",
  "action": "person_profile",
  "results": {
    "username": "williamhgates",
    "display_name": "•••",
    "headline": "Chair, Gates Foundation and Founder, Breakthrough Energy",
    "about": "Chair of the Gates Foundation. Founder of Breakthrough Energy. Co-founder of Microsoft. Voracious reader. Avid traveler. Active blogger.",
    "location": "Seattle, Washington, United States",
    "current_company": "Gates Foundation",
    "follower_count": 40680117,
    "connection_count": 8,
    "email": "•••",
    "is_verified": true,
    "is_premium": true,
    "avatar_url": "https://media.licdn.com/•••",
    "url": "https://linkedin.com/in/williamhgates",
    "platform": "linkedin"
  },
  "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
