LinkedIn 主页帖子(完整版) API
获取公开 LinkedIn 主页的近期帖子,附带补全的作者、互动、文章、新闻通讯、媒体、标注、转发和社交动态详情。
US$5.00/千次请求,按请求付费,无需订阅。
Bill Gates's Activity
Posts
Bill Gates
Co-chair, Bill & Melinda Gates Foundation
Sep 20, 2025·
New case data out of Mozambique this week: districts that switched to the dual active ingredient bed nets two years ago are reporting a 42% drop in confirmed cases.
{"id": "urn:li:activity:7481009887654321098","url": "https://www.linkedin.com/posts/williamhgates_malaria-eradication-progress-activity-7481009887654321098-pT4n","text": "New case data out of Mozambique this week: districts that switched to the dual active ingredient bed nets two years ago are reporting a 42% drop in confirmed cases.","createdUtc": 1758384000,"type": "ORIGINAL","author": {...},"publicationUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7481009887654321098","engagement": {...},... 还有 36 个字段}
价格与服务商
LinkedIn 主页帖子(完整版) API 价格:一个 API,3 个可互换的服务商
最便宜的服务商优先响应。如果它失败,下一个会在同一次调用中接手。
每次请求封顶 US$0.1941 条结果US$0.0030950 条结果US$0.09766100 条结果US$0.194(封顶)按实际返回的内容计费。调低返回数量上限即可少付,而且无论返回多少,单次请求都不会超过封顶价。
试一试
一个请求获取 LinkedIn 主页帖子(完整版)
这个示例展示了 98 个字段中的 51 个。查看全部字段
{
"found": true,
"data": {
"items": [
{
"id": "urn:li:activity:7481009887654321098",
"url": "https://www.linkedin.com/posts/williamhgates_malaria-eradication-progress-activity-7481009887654321098-pT4n",
"text": "New case data out of Mozambique this week: districts that switched to the dual active ingredient bed nets two years ago are reporting a 42% drop in confirmed cases.",
"createdUtc": 1758384000,
"type": "ORIGINAL",
"author": {
"id": "ACoAAAC8x1nRkWpJ2tYq7vLh3oB5mC9zEjKfA0d",
"handle": "williamhgates",
"type": "profile",
"name": "Bill Gates",
"profileUrl": "https://www.linkedin.com/in/williamhgates/",
"headline": "Co-chair, Bill & Melinda Gates Foundation",
"image": "https://media.licdn.com/dms/image/v2/D4E03AQEz9pWkLm2vTr/profile-displayphoto-shrink_400_400/bill-gates.jpg",
"imageWidth": 400,
"imageHeight": 400
},
"publicationUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7481009887654321098",
"engagement": {
"reactions": 9840,
"comments": 288,
"reposts": 155,
"breakdown": [
{
"type": "LIKE",
"count": 7600
},
{
"type": "APPRECIATION",
"count": 1800
},
{
"type": "INTEREST",
"count": 440
}
]
},
"socialContent": {
"hideCommentsCount": false,
"hideReactionsCount": false,
"hideSocialActivityCounts": false,
"hideShareAction": false,
"hideSendAction": false,
"hideRepostsCount": false,
"hideViewsCount": false,
"hideReactAction": false,
"hideCommentAction": false,
"showContributionExperience": false,
"showSocialDetail": true,
"shareUrl": "https://www.linkedin.com/posts/williamhgates_malaria-eradication-progress-activity-7481009887654321098-pT4n"
}
},
{
"id": "urn:li:activity:7482310098765432101",
"url": "https://www.linkedin.com/posts/williamhgates_the-next-decade-of-clean-energy-activity-7482310098765432101-qR9m",
"text": "The next decade of clean energy will be decided by how fast we can get long duration storage to cost parity with gas peaker plants. Breakthrough Energy is backing three new companies working on exactly that problem.",
"createdUtc": 1758556800,
"type": "SHARE",
"author": {
"id": "ACoAAAC8x1nRkWpJ2tYq7vLh3oB5mC9zEjKfA0d",
"handle": "williamhgates",
"type": "profile",
"name": "Bill Gates",
"profileUrl": "https://www.linkedin.com/in/williamhgates/",
"headline": "Co-chair, Bill & Melinda Gates Foundation",
"image": "https://media.licdn.com/dms/image/v2/D4E03AQEz9pWkLm2vTr/profile-displayphoto-shrink_400_400/bill-gates.jpg",
"imageWidth": 400,
"imageHeight": 400
},
"publicationUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7482310098765432101",
"engagement": {
"reactions": 18420,
"comments": 612,
"reposts": 340,
"breakdown": [
{
"type": "LIKE",
"count": 14100
},
{
"type": "PRAISE",
"count": 3200
},
{
"type": "INTEREST",
"count": 1120
}
]
},
"articleTitle": "Long duration storage just crossed a cost threshold that matters",
"articleSubtitle": "gatesnotes.com",
"articleUrl": "https://www.gatesnotes.com/energy/long-duration-storage-cost-threshold",
"articleDescription": "Three portfolio companies are now shipping iron air and thermal batteries under $20 per kilowatt hour.",
"articleLinkLabel": "gatesnotes.com",
"articleImage": "https://media.licdn.com/dms/image/v2/D4E10AQGp8xRkWnLpVz/article-cover/long-duration-storage.jpg",
"articleImageWidth": 1200,
"articleImageHeight": 627,
"images": [
{
"url": "https://media.licdn.com/dms/image/v2/D4E10AQGp8xRkWnLpVz/article-cover/long-duration-storage.jpg",
"width": 1200,
"height": 627
}
],
"socialContent": {
"hideCommentsCount": false,
"hideReactionsCount": false,
"hideSocialActivityCounts": false,
"hideShareAction": false,
"hideSendAction": false,
"hideRepostsCount": false,
"hideViewsCount": false,
"hideReactAction": false,
"hideCommentAction": false,
"showContributionExperience": false,
"showSocialDetail": true,
"shareUrl": "https://www.linkedin.com/posts/williamhgates_the-next-decade-of-clean-energy-activity-7482310098765432101-qR9m"
}
}
]
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- urlstring
https://www.linkedin.com/in/williamhgates/
要返回其帖子的公开 LinkedIn 主页完整 URL。
- contextCountryenum
获取帖子时使用的 LinkedIn 地区上下文。
- cursorstring
上一次响应的 nextCursor 返回的分页游标。
- includeQuotePostsboolean
是否包含对分享内容附加评论的引用帖子。
- includeRepostsboolean
是否包含未附加评论直接分享内容的转发。
- limitinteger
10
Most posts to return (1-100, default 10). Ignored on sources that page: each call returns one full page of 50 posts; follow nextCursor for more. Sources that cannot page return up to `limit` posts in one call with no nextCursor.
- postedLimitenum
只返回在此相对时间范围内发布的帖子。
- postedLimitDatestring
只返回在此日期或时间戳及之后发布的帖子,使用 JavaScript 兼容的日期时间字符串。
- requireFieldsarray
可选;省略时路由不变,由最便宜的数据源处理。列出本次请求必须能返回的输出字段,例如 `nextCursor`,请求就只会由能返回全部这些字段的数据源处理。未列出的字段,只要处理请求的数据源有,仍会照常返回。这可能提高你的价格:最便宜的数据源无法返回某个列出的字段时,会改由更贵的数据源处理,并按它的价格报价和扣费。如果某个主页确实没有某个列出的字段,该字段仍可能缺失。如果列出的字段组合没有任何单一数据源能同时返回,请求会作为无效输入被拒绝,不扣费。在分页遍历中,它只作用于第一页;后续页面沿用该页选定的数据源,按当时的报价计费。
响应
JSON,每个字段一个示例值。
Recent enriched posts published by the profile. Populated whenever the provider has data for the entity.
- articleDescriptionstring
Description excerpt of the attached article, when present.
- articleImagestring
Image URL of the attached article, when present.
- articleImageHeightinteger
Height of the attached article image in pixels.
- articleImageWidthinteger
Width of the attached article image in pixels.
- articleLinkLabelstring
Accessible display label for the attached article link, when present.
- articleSubtitlestring
Subtitle or publisher label of the attached article, when present.
- articleTitlestring
Title of the attached article, when present.
- articleUrlstring
Canonical URL of the attached article, when present.
- createdUtcnumber
1758384000
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
- idstring
urn:li:activity:7481009887654321098
Unique identifier of the LinkedIn post. Populated whenever the provider has data for the entity.
- newsletterTitlestring
Title of the LinkedIn newsletter associated with the post, when present.
- newsletterUrlstring
Canonical URL of the LinkedIn newsletter associated with the post, when present.
- publicationUrlstring
https://www.linkedin.com/feed/update/urn:li:activity:7481009887654321098
Canonical LinkedIn feed publication URL for the post. Populated whenever the provider has data for the entity.
- repostArticleDescriptionstring
Description excerpt of the reposted post's article, when present.
- repostArticleImagestring
Image URL of the reposted post's article, when present.
- repostArticleImageHeightinteger
Height of the reposted post's article image in pixels.
- repostArticleImageWidthinteger
Width of the reposted post's article image in pixels.
- repostArticleLinkLabelstring
Accessible display label for the reposted post's article link, when present.
- repostArticleSubtitlestring
Subtitle or publisher label of the reposted post's article, when present.
- repostArticleTitlestring
Title of the article attached to the reposted post, when present.
- repostArticleUrlstring
Canonical URL of the reposted post's article, when present.
- repostAuthorHandlestring
Public LinkedIn profile handle of the reposted post's author, when present.
- repostAuthorHeadlinestring
Headline or follower summary of the reposted post's author, when present.
- repostAuthorIdstring
Stable LinkedIn identifier of the reposted post's author, when present.
- repostAuthorImagestring
Image URL of the reposted post's author, when present.
- repostAuthorNamestring
Display name of the reposted post's author, when present.
- repostAuthorTypestring
Author kind for the reposted post, when present.
- repostAuthorUniversalNamestring
Universal LinkedIn name of the reposted post's company author, when present.
- repostAuthorUrlstring
Canonical LinkedIn URL of the reposted post's author, when present.
- repostCreatedUtcnumber
UTC epoch timestamp in seconds (Unix time) when the reposted post was published. Multiply by 1000 for a JS Date in milliseconds.
- repostIdstring
Unique identifier of the reposted post, when present.
- repostTextstring
Text content of the reposted post, when present.
- repostUrlstring
Canonical URL of the reposted post, when present.
- textstring
New case data out of Mozambique this week: districts that switched to the dual active ingredient bed nets two years ago are reporting a 42% drop in confirmed cases.
Text content of the post. Populated whenever the provider has data for the entity.
- typestring
ORIGINAL
LinkedIn record type reported for the post.
- urlstring
https://www.linkedin.com/posts/williamhgates_malaria-eradication-progress-activity-7481009887654321098-pT4n
Canonical LinkedIn URL of the post. Populated whenever the provider has data for the entity.
- videoThumbnailstring
Thumbnail URL of the attached video, when present.
- videoUrlstring
URL of the attached video, when present.
Detailed identity and publication information for the post author. Populated whenever the provider has data for the entity.
- handlestring
williamhgates
Public LinkedIn profile handle of the author. Populated whenever the provider has data for the entity.
- headlinestring
Co-chair, Bill & Melinda Gates Foundation
Professional headline or follower summary displayed for the author. Populated whenever the provider has data for the entity.
- idstring
ACoAAAC8x1nRkWpJ2tYq7vLh3oB5mC9zEjKfA0d
Stable LinkedIn identifier of the author. Populated whenever the provider has data for the entity.
- imagestring
https://media.licdn.com/dms/image/v2/D4E03AQEz9pWkLm2vTr/profile-displayphoto-shrink_400_400/bill-gates.jpg
Profile or company image URL of the author. Populated whenever the provider has data for the entity.
- imageHeightinteger
400
Height of the author image in pixels.
- imageWidthinteger
400
Width of the author image in pixels.
- namestring
Bill Gates
Display name of the author. Populated whenever the provider has data for the entity.
- profileUrlstring
https://www.linkedin.com/in/williamhgates/
Canonical LinkedIn profile or company URL of the author. Populated whenever the provider has data for the entity.
- typestring
profile
Author kind, such as profile or company. Populated whenever the provider has data for the entity.
- universalNamestring
Universal LinkedIn name used for company authors, when present.
- websitestring
Publication or website URL displayed by the author.
- websiteLabelstring
Display label for the author's publication or website link.
Structured mentions and links embedded in the post text.
- companyIdstring
LinkedIn identifier of a mentioned company, when present.
- companyNamestring
Display name of a mentioned company, when present.
- companyUrlstring
Canonical LinkedIn URL of a mentioned company, when present.
- hyperlinkstring
Canonical hyperlink attached to the annotation, when present.
- lengthinteger
Length of the annotated text span.
- profileFirstNamestring
First name of a mentioned profile, when present.
- profileHandlestring
Public LinkedIn handle of a mentioned profile, when present.
- profileIdstring
LinkedIn identifier of a mentioned profile, when present.
- profileLastNamestring
Last name of a mentioned profile, when present.
- profileUrlstring
Canonical LinkedIn URL of a mentioned profile, when present.
- startinteger
Zero-based start offset of the annotation in the post text.
- textLinkstring
Canonical text link attached to the annotation, when present.
- typestring
Kind of content annotation.
Counts grouped by LinkedIn reaction type.
- countinteger
7600
Number of reactions of this type.
- typestring
LIKE
LinkedIn reaction type.
Engagement totals and reaction breakdown for the post. Populated whenever the provider has data for the entity.
- commentsinteger
288
Total number of comments on the post. Populated whenever the provider has data for the entity.
- reactionsinteger
9840
Total number of reactions on the post. Populated whenever the provider has data for the entity.
- repostsinteger
155
Total number of reposts or shares of the post. Populated whenever the provider has data for the entity.
Images attached to the post.
- heightinteger
Height of the image in pixels.
- urlstring
URL of the attached image.
- widthinteger
Width of the image in pixels.
Images attached to the reposted post.
- heightinteger
Height of the reposted image in pixels.
- urlstring
URL of an image attached to the reposted post.
- widthinteger
Width of the reposted image in pixels.
LinkedIn visibility and action flags for the post.
- hideCommentActionboolean
false
Whether LinkedIn hides the comment action.
- hideCommentsCountboolean
false
Whether LinkedIn hides the comment count.
- hideReactActionboolean
false
Whether LinkedIn hides the react action.
- hideReactionsCountboolean
false
Whether LinkedIn hides the reaction count.
- hideRepostsCountboolean
false
Whether LinkedIn hides the repost count.
- hideSendActionboolean
false
Whether LinkedIn hides the send action.
- hideShareActionboolean
false
Whether LinkedIn hides the share action.
- hideSocialActivityCountsboolean
false
Whether LinkedIn hides social activity counts.
- hideViewsCountboolean
false
Whether LinkedIn hides the view count.
- shareUrlstring
https://www.linkedin.com/posts/williamhgates_malaria-eradication-progress-activity-7481009887654321098-pT4n
Canonical LinkedIn share URL for the post.
- showContributionExperienceboolean
false
Whether LinkedIn enables the contribution experience.
- showSocialDetailboolean
true
Whether LinkedIn shows social detail.
The enriched profile posts result, or null when no posts were found.
- nextCursorstring可设为必填
Opaque cursor for the next page of posts, or null when there are no more. Pass it back as cursor to continue.
- foundboolean
true
Whether profile posts were found.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
常见问题
关于 LinkedIn 主页帖子(完整版) API
AnyAPI 的 LinkedIn 主页帖子(完整版) API 只需一次 POST 请求 /v1/run/linkedin.profile_posts_full,就以统一格式的 JSON 返回 LinkedIn 数据。获取公开 LinkedIn 主页的近期帖子,附带补全的作者、互动、文章、新闻通讯、媒体、标注、转发和社交动态详情。AnyAPI 会在 3 个数据源之间路由每个请求,某个数据源失败时自动切换。费用:每千次请求 US$5 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 LinkedIn 主页帖子(完整版) API 调用中有 100.0% 成功,响应时间中位数为 2.6 秒,共测量 16,745 次调用。