LinkedIn 小组帖子 API
List the posts in a LinkedIn group by group URL, newest first: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media. One call returns a page of about 100 posts; pass page to go further back.
价格
LinkedIn 小组帖子 API 价格
试一试
一个请求获取 LinkedIn 小组帖子
{
"data": {
"items": [
{
"articleDescription": "A short example description of this item.",
"articleImage": "https://example.com/image.jpg",
"articleLinkLabel": "https://example.com/page",
"articleSubtitle": "Example title",
"articleTitle": "Example title",
"articleUrl": "https://example.com/page",
"author": {
"groupAdmin": true,
"handle": "alex_rivera",
"headline": "Example title",
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"linkedinUrl": "https://example.com/page",
"name": "Example title",
"type": "general",
"website": "https://example.com/page"
},
"contentAttributes": [
{}
],
"createdUtc": 12.5,
"documentImage": "https://example.com/image.jpg",
"documentPageCount": 12500,
"documentTitle": "Example title",
"documentUrl": "https://example.com/page",
"edited": true,
"engagement": {
"comments": 12500,
"likes": 12500,
"reactions": [
{
"count": null,
"type": null
}
],
"shares": 13
},
"id": "a1b2c3d4",
"newsletterTitle": "Example title",
"newsletterUrl": "https://example.com/page",
"pinned": true,
"pollClosed": false,
"pollOptions": [
{
"text": "A short example description of this item.",
"votes": 42
}
],
"pollQuestion": "example",
"pollTotalVotes": 12500,
"postImages": [
{}
],
"postVideo": {},
"repostArticleDescription": "A short example description of this item.",
"repostArticleImage": "https://example.com/image.jpg",
"repostArticleLinkLabel": "https://example.com/page",
"repostArticleSubtitle": "Example title",
"repostArticleTitle": "Example title",
"repostArticleUrl": "https://example.com/page",
"repostAuthorHandle": "alex_rivera",
"repostAuthorHeadline": "Alex Rivera",
"repostAuthorId": "Alex Rivera",
"repostAuthorImage": "https://example.com/image.jpg",
"repostAuthorName": "Alex Rivera",
"repostAuthorType": "Alex Rivera",
"repostAuthorUniversalName": "Alex Rivera",
"repostAuthorUrl": "https://example.com/page",
"repostCreatedUtc": 248,
"repostEngagement": {
"comments": 12500,
"likes": 12500,
"shares": 13
},
"repostId": "a1b2c3d4",
"repostImages": [
{
"height": 42,
"url": "https://example.com/page",
"width": 1024
}
],
"repostText": "A short example description of this item.",
"repostUrl": "https://example.com/page",
"repostVideoThumbnail": "https://example.com/image.jpg",
"repostVideoUrl": "https://example.com/page",
"shareUrl": "https://example.com/page",
"text": "A short example description of this item.",
"url": "https://example.com/page"
}
]
},
"found": true,
"reason": "not_found"
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-10-23 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- urlstring
https://www.linkedin.com/groups/1898033
Full LinkedIn group URL (e.g. https://www.linkedin.com/groups/1898033).
- pageinteger
Which page of about 100 posts to return, starting at 1 (default 1). Page 2 continues where page 1 ended, going further back in time. Each page is billed as one request.
- postedLimitenum
Only return posts published within this window (default any). The window is applied to the page, so a page can come back with fewer posts or none.
响应
JSON,每个字段一个示例值。
Posts in the group, newest first. A post the group admins pinned can come first on page 1. Populated whenever the provider has data for the entity.
- articleDescriptionstring
Description excerpt of the attached article, when present.
- articleImagestring
Cover image URL of the attached article. The query string is a signed token, so keep the URL intact.
- articleLinkLabelstring
Accessible link label LinkedIn renders for the attached article.
- articleSubtitlestring
Subtitle or source domain of the attached article.
- articleTitlestring
Title of the article attached to the post.
- articleUrlstring
Destination URL of the attached article.
- contentAttributesobject[]
Inline links, mentions and entity references in the post text, each with its character offset.
- createdUtcnumber
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.
- documentImagestring
Cover image URL of the attached document's first page, when present. The query string is a signed token, so keep the URL intact.
- documentPageCountinteger
Number of pages in the attached document, when present.
- documentTitlestring
Title of the document (PDF carousel) attached to the post, when present.
- documentUrlstring
Download URL of the attached document as a PDF, when present. The query string is a signed token that expires, so keep the URL intact.
- editedboolean
Whether the post was edited after it was published.
- idstring
Unique identifier of the 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.
- pinnedboolean
Whether the group admins pinned the post to the top of the group.
- pollClosedboolean
Whether the attached poll is closed.
- pollQuestionstring
Question asked by an attached LinkedIn poll.
- pollTotalVotesinteger
Total votes recorded by the attached poll.
- postImagesobject[]
Images attached to the post.
- postVideoobject
Video attached to the post, or null when absent.
- repostArticleDescriptionstring
Description excerpt of the reposted post's article, when present.
- repostArticleImagestring
Image URL of the reposted post's article, when present.
- 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.
- repostVideoThumbnailstring
Video thumbnail image URL of the reposted post, when present.
- repostVideoUrlstring
Video stream URL of the reposted post, when present. The query string is a signed token, so keep the URL intact.
- shareUrlstring
Shareable LinkedIn URL for the post.
- textstring
Full text content of the post. Empty for a repost shared without added text. Populated whenever the provider has data for the entity.
- urlstring
Canonical URL of the post. Populated whenever the provider has data for the entity.
The member who posted in the group.
- groupAdminboolean
Whether LinkedIn labels the author as an admin of this group.
- handlestring
Public identifier (vanity handle) of the author.
- headlinestring
Profile headline of the author (the tagline under the name).
- idstring
LinkedIn identifier of the author.
- imagestring
Author profile picture URL. The query string is a signed token, so keep the URL intact.
- linkedinUrlstring
LinkedIn profile URL of the author, with tracking query params stripped. Populated whenever the provider has data for the entity.
- namestring
Display name of the author. Populated whenever the provider has data for the entity.
- typestring
Author kind, e.g. profile.
- websitestring
Website URL the author shows on their profile, when present.
Engagement metrics for the post.
- commentsinteger
Number of comments on the post.
- likesinteger
Total reaction count on the post. Populated whenever the provider has data for the entity.
- sharesinteger
Number of shares/reposts of the post.
Per-reaction-type breakdown of the reaction total.
- countinteger
Number of reactions of this type.
- typestring
Reaction type, e.g. LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION.
Options and public vote counts for an attached poll.
- textstring
Poll option text.
- votesinteger
Votes recorded for this option.
Engagement metrics for the reposted post, when present.
- commentsinteger
Number of comments on the reposted post.
- likesinteger
Total reaction count on the reposted post.
- sharesinteger
Number of shares/reposts of the reposted post.
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.
- foundboolean
Whether the group returned any posts.
- 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.group_posts,就以统一格式的 JSON 返回 LinkedIn 数据。List the posts in a LinkedIn group by group URL, newest first: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media. One call returns a page of about 100 posts; pass page to go further back.无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千次请求 US$2.60 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 LinkedIn 小组帖子 API 调用中有 100.0% 成功,响应时间中位数为 2.7 秒,共测量 1 次调用。