LinkedIn API

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.

POST/v1/run/linkedin.group_posts
可用率
100.00%
30d · 1 次调用
请求数
1
30d
响应时间
2.7s
中位数 · 30d

价格

LinkedIn 小组帖子 API 价格

你需支付
US$26.00
US$2.60/千次请求,只为实际用量付费。没有月度套餐。
有了 US$0.10 的初始余额,你的前 38 次请求免费。

试一试

一个请求获取 LinkedIn 小组帖子

打开于
获取免费密钥
示例响应
免费运行只返回前 3 条结果。为密钥充值即可获得完整响应。
{
  "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 请求体。显示的值只是示例,请换成你自己的。

响应

JSON,每个字段一个示例值。

each itemdata.items[]

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.

authordata.items[].author

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.

engagementdata.items[].engagement

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.

each reactiondata.items[].engagement.reactions[]

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.

each pollOptiondata.items[].pollOptions[]

Options and public vote counts for an attached poll.

  • textstring

    Poll option text.

  • votesinteger

    Votes recorded for this option.

repostEngagementdata.items[].repostEngagement

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.

each repostImagedata.items[].repostImages[]

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.

top level
  • 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 次调用。

费用:每千次请求 US$2.60 起,以美元计价,无需订阅,也没有每月最低消费。你只需为一个美元钱包充值,每次调用从中扣费。部分由钱包付费的失败请求会产生处理费用,我们按成本原价转嫁,不加价;错误响应会显示收取的金额。

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.响应是统一格式的 JSON,外层结构与每个 AnyAPI 接口相同,所以解析另一个接口只需换一个 URL,别的都不用改。

过去 30 天,通过 AnyAPI 发起的 LinkedIn 小组帖子 API 调用中有 100.0% 成功,响应时间中位数为 2.7 秒,共测量 1 次调用。这些是 AnyAPI 对经过网关的流量的自有测量,持续重新计算,并非公开承诺的服务等级目标。

可以。新的 AnyAPI 账户自带 US$0.10 免费余额,无需绑卡,足够调用 38 次 LinkedIn 小组帖子,每次 US$0.0026。

向 https://api.getanyapi.com/v1/run/linkedin.group_posts 发送 POST 请求,在 “Authorization: Bearer” 请求头中放入你的 AnyAPI 密钥,并以 JSON 请求体传入参数。同一个密钥和同一个钱包适用于所有 AnyAPI 接口。

不需要。你向一个预付费的 AnyAPI 余额充值美元,每个请求从中扣费。没有月度套餐,也没有最低消费,同一个余额可用于所有 AnyAPI 接口。

有。TypeScript 用 npm 安装 @getanyapi/sdk,Python 用 pip 安装 getanyapi。两者都用同一个密钥调用所有 AnyAPI 接口,任何 HTTP 客户端也都可以。

可以。智能体可以连接 https://api.getanyapi.com/mcp 上的 AnyAPI MCP 服务器,或者向 https://api.getanyapi.com/agent/signup 发送一次无需认证的 POST 来创建自己的免费试用密钥,再通过 HTTP 调用这个接口。