Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

LinkedIn Group Posts

Tài liệu API
https://api.sandbase.ai/v1/api/linkedin/group-posts

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.

Giá
Từ $0.0026USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Full LinkedIn group URL (e.g. https://www.linkedin.com/groups/1898033).
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. Tối thiểu: 1.
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.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

LinkedIn Group Posts API

Returns a page of about 100 posts from a LinkedIn group, newest first. Each post has its text, link, publish time, author, engagement counts and attached media. The only required input is the group URL.

Use cases

  • Track what members of a sales or industry group discuss and which posts get the most reactions.
  • Find active authors and group admins to study or contact.
  • Collect shared articles and newsletters that circulate in a niche community.
  • Monitor a group for new posts by pulling the first page on a schedule.

Request

curl -X POST "https://api.sandbase.ai/v1/api/linkedin/group-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.linkedin.com/groups/1898033"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYesFull LinkedIn group URL (e.g. https://www.linkedin.com/groups/1898033).
pageintegerNoWhich 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.
postedLimitstringNoOnly 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.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "items": [
      {
        "author": {
          "groupAdmin": true,
          "handle": "leesalz",
          "headline": "I architect sales strategies that make salespeople the reason buyers choose thei…",
          "id": "ACoAAADVAqYB4PzT526QoAz34ogYKSvUS-y_KMg",
          "image": "https://media.licdn.com/dms/image/v2/D5603AQGn5rWKhbQH8A/profile-displayphoto-cr…",
          "linkedinUrl": "https://www.linkedin.com/in/leesalz",
          "name": "Lee Salz",
          "type": "profile"
        },
        "contentAttributes": [
          {
            "hyperlink": null,
            "length": 24,
            "start": 551,
            "textLink": "https://lnkd.in/g8ci5eTN",
            "type": "TEXT_LINK"
          }
        ],
        "createdUtc": 1793383149,
        "edited": false,
        "engagement": {
          "comments": 0,
          "likes": 12,
          "reactions": [
            {
              "count": 11,
              "type": "LIKE"
            }
          ],
          "shares": 1
        },
        "id": "7521994118672261121",
        "pinned": true,
        "pollOptions": [],
        "postImages": [
          {
            "height": 1350,
            "url": "https://media.licdn.com/dms/image/v2/D5622AQHToSpcNczqcw/feedshare-image-high-re…",
            "width": 1080
          }
        ],
        "postVideo": null,
        "repostEngagement": {},
        "repostImages": []
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.items[].idPost ID as a string of digits.
data.items[].textPost text. Long posts may be cut in the response, and links in the text appear as short lnkd.in URLs.
data.items[].url / data.items[].shareUrlLink to the post on LinkedIn. It contains the group ID and a urn:li:groupPost ID.
data.items[].createdUtcPublish time as a Unix timestamp in seconds.
data.items[].pinnedtrue when the post is pinned in the group.
data.items[].author.name / data.items[].author.headlineName and profile headline of the person who posted.
data.items[].author.linkedinUrl / data.items[].author.handleProfile link and handle of the author.
data.items[].author.groupAdmintrue when the author is an admin of the group.
data.items[].engagement.likes / data.items[].engagement.comments / data.items[].engagement.sharesCounts of likes, comments and shares on the post.
data.items[].engagement.reactions[]Breakdown of reactions. Each row has a type such as LIKE, APPRECIATION or INTEREST, and a count.
data.items[].postImages[]Images attached to the post, with url, width and height.
data.items[].articleTitle / data.items[].articleUrlTitle and link of an article shared in the post. These keys appear only on posts that share an article.

Notes

  • Pass the full group URL in url, for example https://www.linkedin.com/groups/1898033. Use LinkedIn Group Search to find groups.
  • Set page to 2, 3 and so on to go further back in time. Each page holds about 100 posts.
  • postedLimit filters the page after it is loaded, so a page can return fewer posts or none.
  • Call LinkedIn Post or LinkedIn Post Comments to look closer at a single post.

Pricing

Billed at the actual cost of each call, about $0.0026 for the request above. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
LinkedInTừ $0.0026 mỗi lần gọiJSON
LinkedInTừ $0.0012 mỗi lần gọiJSON
LinkedInTừ $0.0331 mỗi lần gọiJSON
LinkedInTừ $0.0012 mỗi lần gọiJSON
LinkedInTừ $0.00569 mỗi lần gọiJSON
LinkedInTừ $0.0026 mỗi lần gọiJSON

Hướng dẫn:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API LinkedIn Group Posts?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/linkedin/group-posts với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API LinkedIn Group Posts có giá bao nhiêu?

Từ $0.0026 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API LinkedIn Group Posts chấp nhận những tham số nào?

Bắt buộc: url (string). Tùy chọn: page (integer) và postedLimit (một trong số any, 1h, 24h, week, month, 3months, 6months, year). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API LinkedIn Group Posts trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của LinkedIn không?

Không. LinkedIn Group Posts chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của LinkedIn.