urnstringจำเป็น
Post activity urn (the numeric part of .../urn:li:activity:<urn>/).
https://api.sandbase.ai/v1/api/linkedin/web-v2/post-commentsReturns comments for a specific LinkedIn post using its activity URN. Supports filtering by share URN, sorting by relevance or recency, and paginating through results.
[
{
"data": {
"data": [
{
"annotation": null,
"commenter": {
"headline": "💎 WellBeing Workplace Advocate | Business Connector | Linkedin Top 300 Global Excellence Leader 2025|",
"image_url": "https://media.licdn.com/dms/image/v2/C5603AQFey0FYTUHnrA/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1551406391787?e=1792022400&v=beta&t=If0lCjEt7M0h82e1uy1PK-ZqfTkk1nJ_xn2kDfTjqc8",
"linkedin_url": "https://www.linkedin.com/in/reenastrehle",
"name": "Reena Strehle",
"urn": "ACoAACJeMFYBk9sz2-MbXT-m3d7aNnXFHofzpkI"
},
"created_at": 1732663452583,
"created_datetime": "2024-11-26 23:24:12",
"permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267317249823170561%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267317249823170561%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
"pinned": false,
"replies": [],
"text": "Clarity should be a non-negotiable in communication!\n\nA little slip-up can become big quite fast, Anthony J James.",
"thread_urn": null
},
{
"annotation": null,
"commenter": {
"headline": "Neuroscientist & Behavioural Economist | Forbes Women Australia | Helping businesses remove buyer resistance using Consumer Psychology | International Speaker & Podcast Host",
"image_url": "https://media.licdn.com/dms/image/v2/D5603AQEt8h4IB9Prmg/profile-displayphoto-scale_100_100/B56ZqPxijQI0Ac-/0/1763348721935?e=1792022400&v=beta&t=Fw9K-18XBgSKsR0TNuj68Llu1-IXh20-cYFpkQ8QG2I",
"linkedin_url": "https://www.linkedin.com/in/leanne-elich",
"name": "Dr Leanne Elich PhD. GAICD. M.npn. F.npn",
"urn": "ACoAAAL_ujEBd3Lz-RNNjbpu7XZTRbV9byHsng0"
},
"created_at": 1732777378817,
"created_datetime": "2024-11-28 07:02:58",
"permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267795091077894144%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267795091077894144%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
"pinned": false,
"replies": [],
"text": "Classic indecision, Anthony J James! But hey, sometimes it's all about taking the time to get it right.",
"thread_urn": null
},
{
"annotation": null,
"commenter": {
"headline": "Direct and Indirect Procurement | Functional Data Analyst | WSQ ACLP certified trainer",
"image_url": "https://media.licdn.com/dms/image/v2/D5603AQEiERY7Nu8jcg/profile-displayphoto-scale_400_400/B56ZsvmXbxKAAk-/0/1766030146823?e=1792022400&v=beta&t=4GUzdNRTc1Ajp4eZ6w7rdqR_W_fPVnkAPblJ1gSochY",
"linkedin_url": "https://www.linkedin.com/in/ssgoh",
"name": "Goh Swee Siong",
"urn": "ACoAAADnyUIBn1S7927C1UWPZibcZinFb4Eq8Vg"
},
"created_at": 1732656234066,
"created_datetime": "2024-11-26 21:23:54",
"permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267286973164187649%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267286973164187649%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
"pinned": false,
"replies": [],
"text": "This happened all the time in high performance culture nowadays. Nothing new. As the doer, we need to seek clarification and pin down to do or not to do even at the expense of irking the manager.",
"thread_urn": null
},
"… 7 more items in the full response"
],
"pagination_token": "1781644326-1790691008279-2fbc4cb7bf4db3d1a3d147b06782b922",
"total": 10
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Retrieve comments for a LinkedIn post by providing the target activity identifier in urn. You can sort by recency or relevance and navigate multi-page discussions.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/web-v2/post-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urn": "<urn>"}'
| Name | Type | Required | Description |
|---|---|---|---|
urn | string | Yes | Post activity urn (the numeric part of .../urn:li:activity:<urn>/). |
page | string | No | Page number, starting at 1. |
sort_by | string | No | Most relevant (default) or Most recent. |
share_urn | string | No | Optional share urn for shared posts. |
pagination_token | string | No | Token returned by the previous response. |
urn.sort_by include Most relevant (default) and Most recent.page starting at 1 or by passing pagination_token from previous responses.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/web-v2/post-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"urn": "7267273010393358336"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
urnstringจำเป็นPost activity urn (the numeric part of .../urn:li:activity:<urn>/).
pageanyPage number, starting at 1.
pagination_tokenanyToken returned by the previous response.
share_urnanyOptional share urn for shared posts.
sort_byanyMost relevant (default) or Most recent.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"data": [
{
"annotation": null,
"commenter": {
"headline": "💎 WellBeing Workplace Advocate | Business Connector | Linkedin Top 300 Global Excellence Leader 2025|",
"image_url": "https://media.licdn.com/dms/image/v2/C5603AQFey0FYTUHnrA/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1551406391787?e=1792022400&v=beta&t=If0lCjEt7M0h82e1uy1PK-ZqfTkk1nJ_xn2kDfTjqc8",
"linkedin_url": "https://www.linkedin.com/in/reenastrehle",
"name": "Reena Strehle",
"urn": "ACoAACJeMFYBk9sz2-MbXT-m3d7aNnXFHofzpkI"
},
"created_at": 1732663452583,
"created_datetime": "2024-11-26 23:24:12",
"permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267317249823170561%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267317249823170561%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
"pinned": false,
"replies": [],
"text": "Clarity should be a non-negotiable in communication!\n\nA little slip-up can become big quite fast, Anthony J James.",
"thread_urn": null
},
{
"annotation": null,
"commenter": {
"headline": "Neuroscientist & Behavioural Economist | Forbes Women Australia | Helping businesses remove buyer resistance using Consumer Psychology | International Speaker & Podcast Host",
"image_url": "https://media.licdn.com/dms/image/v2/D5603AQEt8h4IB9Prmg/profile-displayphoto-scale_100_100/B56ZqPxijQI0Ac-/0/1763348721935?e=1792022400&v=beta&t=Fw9K-18XBgSKsR0TNuj68Llu1-IXh20-cYFpkQ8QG2I",
"linkedin_url": "https://www.linkedin.com/in/leanne-elich",
"name": "Dr Leanne Elich PhD. GAICD. M.npn. F.npn",
"urn": "ACoAAAL_ujEBd3Lz-RNNjbpu7XZTRbV9byHsng0"
},
"created_at": 1732777378817,
"created_datetime": "2024-11-28 07:02:58",
"permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267795091077894144%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267795091077894144%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
"pinned": false,
"replies": [],
"text": "Classic indecision, Anthony J James! But hey, sometimes it's all about taking the time to get it right.",
"thread_urn": null
},
{
"annotation": null,
"commenter": {
"headline": "Direct and Indirect Procurement | Functional Data Analyst | WSQ ACLP certified trainer",
"image_url": "https://media.licdn.com/dms/image/v2/D5603AQEiERY7Nu8jcg/profile-displayphoto-scale_400_400/B56ZsvmXbxKAAk-/0/1766030146823?e=1792022400&v=beta&t=4GUzdNRTc1Ajp4eZ6w7rdqR_W_fPVnkAPblJ1gSochY",
"linkedin_url": "https://www.linkedin.com/in/ssgoh",
"name": "Goh Swee Siong",
"urn": "ACoAAADnyUIBn1S7927C1UWPZibcZinFb4Eq8Vg"
},
"created_at": 1732656234066,
"created_datetime": "2024-11-26 21:23:54",
"permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267286973164187649%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267286973164187649%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
"pinned": false,
"replies": [],
"text": "This happened all the time in high performance culture nowadays. Nothing new. As the doer, we need to seek clarification and pin down to do or not to do even at the expense of irking the manager.",
"thread_urn": null
},
"… 7 more items in the full response"
],
"pagination_token": "1781644326-1790691008279-2fbc4cb7bf4db3d1a3d147b06782b922",
"total": 10
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
LinkedIn Post CommentsAPI นี้ LinkedIn | $0.05 ต่อการเรียก | JSON |
LinkedIn | $0.05 ต่อการเรียก | JSON |
LinkedIn | $0.008 ต่อการเรียก | JSON |
LinkedIn | $0.05 ต่อการเรียก | JSON |
LinkedIn | $0.008 ต่อการเรียก | JSON |
LinkedIn | $0.05 ต่อการเรียก | JSON |
คู่มือ:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/linkedin/web-v2/post-comments โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.05 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: urn (string). ตัวเลือก: page (any), pagination_token (any), share_urn (any) และ sort_by (any). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)
ไม่จำเป็น LinkedIn Post Comments ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง LinkedIn API แยกต่างหาก