LinkedIn API 数据接口
帖子、账号。
LinkedIn API(数据接口)可以搜帖子,读帖子详情、账号资料和账号发布的帖子,不用登录 LinkedIn 账号,也不用提供 Cookie。每次调用 2 积分(约 $0.004–$0.0067),失败不扣。LinkedIn 不提供浏览量,这个字段返回 null。可以直接发 HTTP 请求,也可以通过 MCP 接到 AI 客户端里用。最近实测:2026-11-05。
最近实测:最近更新:
/v1/search200 OK2 积分platform: "linkedin" · query: "ai agents"nullcollects nullviews nullformattitleauthor.idauthor.verified+54 个动作。
外加 2 个 LinkedIn 独有的接口。
点开任意一行,看请求怎么写;完整的参数和返回字段在它自己的页面。
搜索按关键词找帖子:正文、作者、点赞数、评论数和发布时间。/v1/search2 积分≈ $0.0067 · ¥0.05
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" }'POST /v1/searchKey 放在 Authorization 请求头里详情用编号或链接取一条帖子:正文、作者、点赞数、评论数和发布时间。/v1/detail2 积分≈ $0.0067 · ¥0.05
platformid 或 urlinclude=transcript视频的逐字稿2 积分curl https://socialtoai.app/v1/detail \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "linkedin", "id": "7514400676702195712" }'POST /v1/detailKey 放在 Authorization 请求头里账号资料一个账号:名称和简介。/v1/user_profile2 积分≈ $0.0067 · ¥0.05
platformusername 或 urlcurl https://socialtoai.app/v1/user_profile \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "linkedin", "username": "nasa" }'POST /v1/user_profileKey 放在 Authorization 请求头里账号作品一个账号最近发布的帖子。/v1/user_posts2 积分≈ $0.0067 · ¥0.05
platformusername 或 urlcurl https://socialtoai.app/v1/user_posts \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "linkedin", "username": "unesco" }'POST /v1/user_postsKey 放在 Authorization 请求头里LinkedIn 不提供:热榜和评论。
和 X 比,LinkedIn 的帖子少给收藏、转发和播放或浏览;账号资料少给认证、粉丝数、关注数和作品数。
广告详情按编号或链接取 LinkedIn 广告库里的一条广告。linkedin.ad_detail2 积分≈ $0.0067 · ¥0.05
按编号或链接取 LinkedIn 广告库里的一条广告:广告主、文案、标题、图片和视频素材、落地页、投放起止时间、展示量档位、定向的语言和地区。
id 或 urlcurl https://socialtoai.app/v1/call/linkedin.ad_detail \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "id": "1588761774" }'POST /v1/call/linkedin.ad_detailKey 放在 Authorization 请求头里广告库搜索按关键词或公司名搜 LinkedIn 广告库里的广告。linkedin.ad_search2 积分≈ $0.0067 · ¥0.05
按关键词或公司名搜 LinkedIn 广告库里的广告:广告主、文案、标题、图片和视频素材、落地页、投放起止时间、展示量档位、定向的语言和地区;可限定国家。
query 或 advertiser另有 1 个选填参数curl https://socialtoai.app/v1/call/linkedin.ad_search \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "query": "cloud security" }'POST /v1/call/linkedin.ad_searchKey 放在 Authorization 请求头里办成一件事多少钱。
| 要做的事 | 怎么算 | 积分 | 约合 |
|---|---|---|---|
| 搜 1,000 条 LinkedIn 结果 | 每页通常 10 条,100 页 | 200 积分 | 约 ¥4.8($0.67) |
| 每天盯 1 个 LinkedIn 账号,一个月最多 | 每次 12 积分 × 31 天 | 372 积分 | 约 ¥8.9($1.24) |
按 $10 档算,买得越多单价越低。监控只在你开启时运行,随时可以暂停,没有订阅。
也可以不管参数。
直接问。
通过 MCP 接一次 SocialToAI,之后该调哪些接口由 AI 决定,每一步花了多少积分你都看得到。
这周 LinkedIn 上,家用咖啡和抹茶哪个更火?
- search“home coffee”2 积分
- search“matcha”2 积分
这个 LinkedIn 账号有多大?最近发了什么?
- user_profile你说的那个账号2 积分
- user_posts最近一页2 积分
查一下这个 LinkedIn 账号,告诉我它是谁。
- user_profile你说的那个账号2 积分
每个平台,同一种结构。
学一次就够。
LinkedIn 的帖子和小红书的笔记,返回的字段名一模一样。平台给不了的字段,返回 null。
{ "platform": "linkedin", "id": "…", "ref": "…", "approx": [], "extra": {}, "type": "content", "url": "https://example.com/…", "format": null, "title": null, "text": "…", "published_at": "2026-10-09T19:05:32.138Z", "author": { "id": null, "username": "…", "name": "…", "verified": null, "followers": 7136644 }, "metrics": { "likes": 474, "comments": 11, "shares": null, "collects": null, "views": null, "reposts": null }, "images": ["https://example.com/…"], "hashtags": [], "is_pinned": null}formattitleauthor.idauthor.verifiedmetrics.sharesmetrics.collectsmetrics.viewsmetrics.repostsis_pinned{ "platform": "xiaohongshu", "id": "…", "ref": "…", "approx": [], "extra": {}, "type": "content", "url": "https://example.com/…", "format": "image", "title": "…", "text": "…", "published_at": "2026-10-09T01:00:34.000Z", "author": { "id": "…", "username": "…", "name": "…", "verified": null, "followers": null }, "metrics": { "likes": 927, "comments": 122, "shares": 256, "collects": 59, "views": null, "reposts": null }, "images": ["https://example.com/…", "https://example.com/…"], "hashtags": ["…", "…"], "is_pinned": false}author.verifiedauthor.followersmetrics.viewsmetrics.reposts4 个工具能读 LinkedIn。
全部工具LinkedIn 有官方 API 吗?
LinkedIn 可自助开通的 API 权限只包括登录(读取用户本人的姓名、职位标题、头像和邮箱)和代用户发帖。其余接口须加入 LinkedIn 合作伙伴计划并获批准;开放权限中没有读取他人帖子的接口。
来源:LinkedIn 官方开发者文档,核对于 2026-10-30。
| 谁能用 | 费用 | 限制 | 来源 | |
|---|---|---|---|---|
| 自助开通的权限 | 任何开发者应用。 | 官方页面没有写价格。 | 登录(用户本人的姓名、职位标题、头像和邮箱)和代用户发帖。没有一项能读别人的帖子。 | learn.microsoft.com,核对于 2026-10-30 |
| 合作伙伴计划的接口 | 通过 LinkedIn 合作伙伴计划审批的应用。 | 官方页面没有写价格。 | 自助权限之外的接口都要先获批。 | learn.microsoft.com,核对于 2026-10-30 |
| SocialToAI | 有 Key 就能用,不用你的 LinkedIn 账号,也不用审核。 | 每次 2 积分起(约 $0.0067),失败不扣。 | 只读公开可见的内容;一次调用最多 10 条。 | 价格 |
在这里读 1,000 条帖子:约 100 次 linkedin.search 调用(每页通常 10 条),共 200 积分,按第一档约 $0.67。 算一下要多少钱
- 各平台字幕接口对比哪些平台能取字幕、带不带时间。
- 每天盯竞品账号:发了什么,哪条比平时好每天盯竞品账号:新发了什么、哪条比平时好,每个账号 9 积分起
- LinkedIn MCP 服务器让你的 AI 直接读 LinkedIn。