urlstringआवश्यक
Full LinkedIn group URL (e.g. https://www.linkedin.com/groups/1898033).
https://api.sandbase.ai/v1/api/linkedin/group-postsList 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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Full LinkedIn group URL (e.g. https://www.linkedin.com/groups/1898033). |
page | integer | No | 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. |
postedLimit | string | No | 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. |
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
}
| Field | Meaning |
|---|---|
data.items[].id | Post ID as a string of digits. |
data.items[].text | Post 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[].shareUrl | Link to the post on LinkedIn. It contains the group ID and a urn:li:groupPost ID. |
data.items[].createdUtc | Publish time as a Unix timestamp in seconds. |
data.items[].pinned | true when the post is pinned in the group. |
data.items[].author.name / data.items[].author.headline | Name and profile headline of the person who posted. |
data.items[].author.linkedinUrl / data.items[].author.handle | Profile link and handle of the author. |
data.items[].author.groupAdmin | true when the author is an admin of the group. |
data.items[].engagement.likes / data.items[].engagement.comments / data.items[].engagement.shares | Counts 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[].articleUrl | Title and link of an article shared in the post. These keys appear only on posts that share an article. |
url, for example https://www.linkedin.com/groups/1898033. Use LinkedIn Group Search to find groups.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.Billed at the actual cost of each call, about $0.0026 for the request above. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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",
"page": 1
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
urlstringआवश्यकFull LinkedIn group URL (e.g. https://www.linkedin.com/groups/1898033).
pageintegerWhich 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.
डिफ़ॉल्ट: 1
postedLimitstringOnly 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.
संभावित मान: any, 1h, 24h, week, month, 3months, 6months, year
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
LinkedIn Group Postsयह API LinkedIn | $0.0026 प्रति कॉल से | JSON |
LinkedIn | $0.0012 प्रति कॉल से | JSON |
LinkedIn | $0.0331 प्रति कॉल से | JSON |
LinkedIn | $0.0012 प्रति कॉल से | JSON |
LinkedIn | $0.00569 प्रति कॉल से | JSON |
LinkedIn | $0.0026 प्रति कॉल से | JSON |
गाइड्स:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
प्रश्न
https://api.sandbase.ai/v1/api/linkedin/group-posts पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.0026 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: url (string)। वैकल्पिक: page (integer) और postedLimit (any, 1h, 24h, week, month, 3months, 6months, year में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। LinkedIn Group Posts SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से LinkedIn API access के लिए आवेदन करने की आवश्यकता नहीं है।