<p class="crumbs"><a href="/zh/apis/">数据接口</a> / <a href="/zh/apis/linkedin/">LinkedIn</a></p>

# LinkedIn 个人资料 API

一个人的公开资料：名字、头像、地区、简介、关注人数，以及工作经历和教育。

| 项目 | 值 |
| --- | --- |
| 地址 | `GET https://api.feedmcp.com/v1/linkedin/users/get` |
| ID | `linkedin.users.get` |
| 价格 | **$0.002** / 次 |
| 返回 | 一个 账号对象 |
| 认证 | `Authorization: Bearer $FEEDMCP_API_KEY` |

> 只有 LinkedIn 公开页上能看到的部分。`experience` 和 `education` 是公开页列出的组织，LinkedIn 有时把董事会、顾问等也列在里面。

## 参数

| 参数 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| `id` | string | 是 | 主页链接 /in/ 后面那一串，或者完整的主页链接 |

所有接口还支持 `view=full`：在返回里附上平台的原始数据（`raw`），价格不变。

## 返回字段

`data.item` 是一个「账号」对象，所有平台字段相同：

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `id` | string | 账号 ID，就是这个平台账号接口要的 id：TikTok、Instagram、X、Threads 是用户名，Telegram 是频道名，Reddit 是版块名，LinkedIn 是主页链接 /in/ 或 /company/ 后面那一串，Facebook 是主页名或数字 ID，YouTube 是 UC 开头的频道 ID，抖音是 sec_user_id，快手是数字用户 ID，视频号是 v2_…@finder，知乎是主页链接里的用户 ID，小红书是用户 ID，B 站和微博是 UID，公众号是原始 ID |
| `platform` | string | 平台 |
| `name` | string \| null | 昵称 |
| `handle` | string \| null | 平台号：用户名、抖音号、小红书号、微信号 |
| `uid` | string \| null | 抖音数字 uid（只有抖音账号；巨量算数的达人接口要用） |
| `bio` | string \| null | 简介 |
| `avatar` | string \| null | 头像地址 |
| `url` | string \| null | 主页链接 |
| `verified` | boolean \| null | 是否认证 |
| `verified_reason` | string \| null | 认证说明或认证主体 |
| `metrics.followers` | number \| null | 粉丝数 |
| `metrics.following` | number \| null | 关注数 |
| `metrics.posts` | number \| null | 作品或文章数 |
| `metrics.likes` | number \| null | 获赞数 |
| `metrics.views` | number \| null | 总播放量（只有 YouTube 频道） |
| `metrics.employees` | number \| null | 员工数（只有 LinkedIn 公司） |
| `metrics.weekly_active_users` | number \| null | 每周活跃人数（只有 Reddit 版块） |
| `metrics.articles` | number \| null | 文章数（只有知乎账号搜索） |
| `private` | boolean \| null | 是否私密账号（只有 Instagram 账号搜索） |
| `owner` | object \| null | 公众号注册主体：name 公司名、country、registered_at 注册时间、verified_at 认证日期、third_party_services 授权的第三方（只有公众号主体接口） |
| `metrics.ads` | number \| null | 大约有多少条广告（只有 Google 广告主） |
| `metrics.instagram_followers` | number \| null | 关联的 Instagram 粉丝数（只有 Meta 广告主） |
| `location` | string \| null | 地区（LinkedIn、Facebook） |
| `category` | string \| null | 类别：Facebook 主页类别、LinkedIn 公司行业、微信账号类型（公众号、服务号、视频号、小程序） |
| `website` | string \| null | 官网（LinkedIn 公司、Facebook 主页） |
| `experience` | object[] | LinkedIn 个人公开的任职组织：organization、location、start、end |
| `education` | object[] | LinkedIn 个人公开的学校和组织：school、start、end |

## 什么时候扣费

成功取到数据一次 $0.002。对象不存在、没取到数据、参数错误、平台出错、超时都不收费。

每次返回的 `meta.billing` 里写着这次扣了多少、还剩多少余额。

## 调用示例

### cURL

```bash
curl "https://api.feedmcp.com/v1/linkedin/users/get?id=satyanadella" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"
```

### Python

```python
import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/linkedin/users/get",
    params={"id": "satyanadella"},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())
```

### JavaScript

```js
const res = await fetch("https://api.feedmcp.com/v1/linkedin/users/get?id=satyanadella", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
```

### MCP

在装好 FeedMCP 的 AI 里，调用 `call` 工具：

```json
{
  "endpoint": "linkedin.users.get",
  "params": {
    "id": "satyanadella"
  },
  "max_price": "0.002"
}
```

## 返回示例

示例数据是虚构的，格式和真实返回一致。

```json
{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "item": {
      "id": "satyanadella",
      "platform": "linkedin",
      "name": "Jane Trail",
      "handle": "satyanadella",
      "bio": "Outdoor gear supply chain",
      "avatar": "https://media.licdn.com/a.jpg",
      "url": "https://www.linkedin.com/in/satyanadella/",
      "verified": null,
      "metrics": {
        "followers": 5400,
        "connections": null
      },
      "location": "Denver, Colorado, United States",
      "experience": [
        {
          "organization": "Trail Outfitters",
          "location": "Denver",
          "start": "2019-03",
          "end": null
        }
      ],
      "education": [
        {
          "school": "Colorado State University",
          "start": "2010",
          "end": "2014"
        }
      ]
    }
  },
  "page": null,
  "warnings": [],
  "meta": {
    "endpoint": "linkedin.users.get",
    "platform": "linkedin",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.002",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}
```

出错时的格式见 [错误码](/zh/docs/errors/)：每个错误都写明扣没扣钱（`charged`）和能不能重试（`retry`）。

## LinkedIn的其他接口

- [LinkedIn 帖子搜索](/zh/apis/linkedin/posts/search/)：$0.002
- [LinkedIn 帖子详情](/zh/apis/linkedin/posts/get/)：$0.002
- [LinkedIn 公司主页](/zh/apis/linkedin/companies/get/)：$0.002
- [LinkedIn 公司发的帖子](/zh/apis/linkedin/companies/posts/list/)：$0.002
- [LinkedIn 广告搜索](/zh/apis/linkedin/ads/search/)：$0.002
- [LinkedIn 广告详情](/zh/apis/linkedin/ads/get/)：$0.002
- [LinkedIn 视频字幕](/zh/apis/linkedin/posts/transcript/get/)：$0.002

## 常见问题

### LinkedIn 个人资料接口多少钱？

成功取到数据一次 $0.002。对象不存在、没取到数据、参数错误、平台出错、超时都不收费。

### 需要平台账号吗？

不需要，只取公开数据。

### ID 或链接怎么找？

个人用主页链接 /in/ 后面那一串，公司用 /company/ 后面那一串；帖子用帖子链接，或者帖子 ID（activity 后面的数字）。

### 怎么在 AI 里用？

装好 [MCP](/zh/mcp/) 后直接说你要什么，AI 会调用 `linkedin.users.get`。

---

网页版: https://feedmcp.com/zh/apis/linkedin/users/get/
