urlstringआवश्यक
Full URL of the LinkedIn post to list comments for.
https://api.sandbase.ai/v1/api/linkedin/post-commentsList comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns the comments on a LinkedIn post, including comment text, commenter details, timestamps and like and reply counts. It needs the full URL of the post in the url parameter.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/post-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ", "limit": 10}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Full URL of the LinkedIn post to list comments for. |
limit | integer | No | Maximum number of comments to return. |
postedLimit | string | No | Only return comments posted within this window (default any). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"items": [
{
"actor": {
"id": "ACoAABRFjvYBzGevlr0HJfL7UbMH7vjgln6iBRg",
"image": "https://media.licdn.com/dms/image/v2/D4D03AQFG38rxIus6KA/profile-displayphoto-cr…",
"linkedinUrl": "https://www.linkedin.com/in/trishalhjohnson",
"name": "Trisha Johnson",
"type": "profile"
},
"commentary": "BEWARE! SCAM ALERT! STRIPE IS FRAUDULENT!\n\nStripe allowed me to create an accoun…",
"createdUtc": 1786569458,
"edited": false,
"engagement": {
"comments": 0,
"likes": 0
},
"id": "7493415427058929664",
"pinned": false,
"url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7477791277128765440?commentU…"
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.items[].commentary | Text of the comment. Long comments may be shortened in this view. |
data.items[].actor.name | Display name of the person or page that wrote the comment. |
data.items[].actor.linkedinUrl | LinkedIn profile URL of the commenter. |
data.items[].actor.position | Headline or job title text of the commenter. Some commenters have no position. |
data.items[].actor.id / data.items[].actor.type | Internal LinkedIn ID of the commenter and the kind of actor, such as profile. |
data.items[].actor.image | URL of the commenter's profile photo. |
data.items[].createdUtc | Time the comment was posted, as a Unix timestamp in seconds. |
data.items[].engagement.likes / data.items[].engagement.comments | Number of likes on the comment and number of replies to it. |
data.items[].id | ID of the comment. |
data.items[].url | Link to the post that opens at this comment. |
data.items[].edited / data.items[].pinned | Whether the comment was edited and whether it is pinned. |
url.limit to cap the number of comments (1 to 100, default 100). Use postedLimit to keep only recent comments, for example 24h or week.id is a long numeric string. Keep it as a string.Billed at the actual cost of each call, about $0.0029 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/post-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ",
"limit": 10
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
urlstringआवश्यकFull URL of the LinkedIn post to list comments for.
limitintegerMaximum number of comments to return.
डिफ़ॉल्ट: 100
postedLimitstringOnly return comments posted within this window (default any).
संभावित मान: any, 24h, week, month, 3months, 6months, year
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
LinkedIn Post Commentsयह API LinkedIn | $0.0029 प्रति कॉल से | 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/post-comments पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.0029 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: url (string)। वैकल्पिक: limit (integer) और postedLimit (any, 24h, week, month, 3months, 6months, year में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। LinkedIn Post Comments SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से LinkedIn API access के लिए आवेदन करने की आवश्यकता नहीं है।