---
title: "LinkedIn API 数据接口：读帖子和资料 · SocialToAI"
canonical: https://socialtoai.app/zh/platforms/linkedin/
updated: 2026-10-30
---

# LinkedIn API 数据接口

LinkedIn API（数据接口）可以搜帖子，读帖子详情、账号资料和账号发布的帖子，不用登录 LinkedIn 账号，也不用提供 Cookie。每次调用 2 积分（约 $0.004–$0.0067），失败不扣。LinkedIn 不提供浏览量，这个字段返回 null。可以直接发 HTTP 请求，也可以通过 MCP 接到 AI 客户端里用。最近实测：2026-11-05。

- 页面：https://socialtoai.app/zh/platforms/linkedin/
- 最近更新：2026-10-30
- 最近实测：2026-11-05

## 可用的动作

| 动作 | 返回什么 | 由什么参数选中 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- | --- |
| `search` | 按关键词找帖子：正文、作者、点赞数、评论数和发布时间。 | — | `linkedin.search` | 2 | [LinkedIn 搜索接口](https://socialtoai.app/zh/linkedin-search-api.md) |
| `detail` | 用编号或链接取一条帖子：正文、作者、点赞数、评论数和发布时间。 | — | `linkedin.detail` | 2 | [LinkedIn 详情接口](https://socialtoai.app/zh/linkedin-detail-api.md) |
| `detail` | 视频的逐字稿 | `include=transcript` | `linkedin.detail:transcript` | 2 | [LinkedIn 详情接口](https://socialtoai.app/zh/linkedin-detail-api.md) |
| `user_profile` | 一个账号：名称和简介。 | — | `linkedin.user_profile` | 2 | [LinkedIn 账号资料接口](https://socialtoai.app/zh/linkedin-user-profile-api.md) |
| `user_posts` | 一个账号最近发布的帖子。 | — | `linkedin.user_posts` | 2 | [LinkedIn 账号作品接口](https://socialtoai.app/zh/linkedin-user-posts-api.md) |

LinkedIn 不提供：热榜和评论。

和 X 比，LinkedIn 的帖子少给收藏、转发和播放或浏览；账号资料少给认证、粉丝数、关注数和作品数。

## 调用示例

```bash
curl https://socialtoai.app/v1/search \
  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "linkedin",
    "query": "ai agents"
  }'
```

## LinkedIn 独有的接口

每个接口用自己的 op，通过 `POST /v1/call/{op}` 调用；完整的参数和返回字段在它自己的页面。

### 广告

| 接口 | 做什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| 广告详情 | 按编号或链接取 LinkedIn 广告库里的一条广告。 | `linkedin.ad_detail` | 2 | [LinkedIn 广告详情接口](https://socialtoai.app/zh/linkedin-ad-detail-api.md) |
| 广告库搜索 | 按关键词或公司名搜 LinkedIn 广告库里的广告。 | `linkedin.ad_search` | 2 | [LinkedIn 广告库搜索接口](https://socialtoai.app/zh/linkedin-ad-search-api.md) |

## LinkedIn 给不了的字段

这些字段在对应的调用里始终是 null，并列在返回的 `unavailable` 里。

| 字段 | 哪些动作 |
| --- | --- |
| `format` | search, detail, user_posts |
| `title` | search, detail, user_posts |
| `author.id` | search, detail, user_posts |
| `author.verified` | search, detail, user_posts |
| `metrics.shares` | search, detail, user_posts |
| `metrics.collects` | search, detail, user_posts |
| `metrics.views` | search, detail, user_posts |
| `metrics.reposts` | search, detail, user_posts |
| `is_pinned` | search, detail, user_posts |
| `verified` | user_profile |
| `followers` | user_profile |
| `following` | user_profile |
| `posts_count` | user_profile |
| `author.username` | user_posts |
| `author.name` | user_posts |
| `author.followers` | user_posts |
| `metrics.likes` | user_posts |
| `metrics.comments` | user_posts |
| `images` | user_posts |

## 办成一件事多少钱

| 要做的事 | 怎么算 | 积分 | 约合 |
| --- | --- | --- | --- |
| 搜 1,000 条 LinkedIn 结果 | 每页通常 10 条，100 页 | 200 积分 | 约 ¥4.8（$0.67） |
| 每天盯 1 个 LinkedIn 账号，一个月最多 | 每次 12 积分 × 31 天 | 372 积分 | 约 ¥8.9（$1.24） |

按 $10 档算，买得越多单价越低。监控只在你开启时运行，随时可以暂停，没有订阅。

## 在 AI 里直接问

- 这周 LinkedIn 上，家用咖啡和抹茶哪个更火？ → search, search: 4 积分

- 这个 LinkedIn 账号有多大？最近发了什么？ → user_profile, user_posts: 4 积分

- 查一下这个 LinkedIn 账号，告诉我它是谁。 → user_profile: 2 积分

[LinkedIn MCP 服务器](https://socialtoai.app/zh/mcp/linkedin.md)

## 能读 LinkedIn 的现成工具

- [品牌口碑](https://socialtoai.app/zh/tools/brand-buzz.md)：各平台上的态度占比、提到最多的事，以及背后的帖子
- [账号动态](https://socialtoai.app/zh/tools/account-watch.md)：每个账号最近发了什么，哪条明显好于平时
- [达人档案](https://socialtoai.app/zh/tools/creator-card.md)：这个人在其他平台的账号、各自的数据，以及是同一人的把握
- [批量链接数据](https://socialtoai.app/zh/tools/batch-stats.md)：每条链接一行，给出现在的数字；失效的链接会标出来

## 官方 API

LinkedIn 可自助开通的 API 权限只包括登录（读取用户本人的姓名、职位标题、头像和邮箱）和代用户发帖。其余接口须加入 LinkedIn 合作伙伴计划并获批准；开放权限中没有读取他人帖子的接口。

来源：[LinkedIn 官方开发者文档](https://learn.microsoft.com/en-us/linkedin/shared/authentication/getting-access)，核对于 2026-10-30。

|  | 谁能用 | 费用 | 限制 | 来源 |
| --- | --- | --- | --- | --- |
| 自助开通的权限 | 任何开发者应用。 | 官方页面没有写价格。 | 登录（用户本人的姓名、职位标题、头像和邮箱）和代用户发帖。没有一项能读别人的帖子。 | [learn.microsoft.com](https://learn.microsoft.com/en-us/linkedin/shared/authentication/getting-access)，核对于 2026-10-30 |
| 合作伙伴计划的接口 | 通过 LinkedIn 合作伙伴计划审批的应用。 | 官方页面没有写价格。 | 自助权限之外的接口都要先获批。 | [learn.microsoft.com](https://learn.microsoft.com/en-us/linkedin/shared/authentication/getting-access)，核对于 2026-10-30 |
| SocialToAI | 有 Key 就能用，不用你的 LinkedIn 账号，也不用审核。 | 每次 2 积分起（约 $0.0067），失败不扣。 | 只读公开可见的内容；一次调用最多 10 条。 | https://socialtoai.app/zh/pricing.md |

在这里读 1,000 条帖子：约 100 次 `linkedin.search` 调用（每页通常 10 条），共 200 积分，按第一档约 $0.67。 [算一下要多少钱](https://socialtoai.app/zh/free-tools/api-cost-estimator.md)

[LinkedIn 官方 API 的申请条件和价格](https://socialtoai.app/zh/does-linkedin-have-an-api.md)

- [各平台字幕接口对比](https://socialtoai.app/zh/transcript-api.md)：哪些平台能取字幕、带不带时间。
- [每天盯竞品账号：发了什么，哪条比平时好](https://socialtoai.app/zh/monitors/competitors.md)：每天盯竞品账号：新发了什么、哪条比平时好，每个账号 9 积分起
- [LinkedIn MCP 服务器](https://socialtoai.app/zh/mcp/linkedin.md)：让你的 AI 直接读 LinkedIn。
