LinkedIn Post Comments

https://api.sandbase.ai/v1/api/linkedin/web-v2/post-comments

Returns comments for a specific LinkedIn post using its activity URN. Supports filtering by share URN, sorting by relevance or recency, and paginating through results.

Price
$0.01USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 4 optional
Production route

Try the model

Playground

Open playground
Input
Page number, starting at 1.
Token returned by the previous response.
Optional share urn for shared posts.
Most relevant (default) or Most recent.
Post activity urn (the numeric part of .../urn:li:activity:<urn>/).
OutputExample
Responseoutputs · 12.1 KB · 180 lines
[
  {
    "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
        },
        {
          "annotation": null,
          "commenter": {
            "headline": "LinkedIn for Business Coach | I Help Coaches & B2B Professionals Generate Qualified Leads & Clients on LinkedIn within 7 Days Using Strategic Conversion Conversations ✅ 330+ Recommendations 👉 Find Out More DM ‘COACH’ 👈",
            "image_url": "https://media.licdn.com/dms/image/v2/D4E03AQHV9a_S6MZ78g/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1670469073919?e=1792022400&v=beta&t=1QOzWWMzF0Q0dSth3TDDfVp4ryeP0bhhDqqODp4OTD4",
            "linkedin_url": "https://www.linkedin.com/in/derickmildred",
            "name": "Derick Mildred",
            "urn": "ACoAAAAS6BsBglQNMEueykIsc3sKcszsxmMNlEk"
          },
          "created_at": 1732755894176,
          "created_datetime": "2024-11-28 01:04:54",
          "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267704977962205184%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267704977962205184%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
          "pinned": false,
          "replies": [],
          "text": "Hi Anthony J James It's a reminder of the constant balancing act we face in decision-making. It's fascinating how these choices shape our paths. 😎 😎 ",
          "thread_urn": null
        },
        {
          "annotation": null,
          "commenter": {
            "headline": "Aspiring Property Manager/ Real Estate Agent",
            "image_url": "https://media.licdn.com/dms/image/v2/D5603AQEJqtVUnnxbnw/profile-displayphoto-shrink_100_100/B56ZNp39shGkAU-/0/1732648099135?e=1792022400&v=beta&t=8gq8qaGK7nxxLmk7-zUmw51xVACLTmp-H_B0I1ODedg",
            "linkedin_url": "https://www.linkedin.com/in/manzanarespropmgmt",
            "name": "Monate Manzanares",
            "urn": "ACoAAAVRCsEBuy-uzvc61779lB-qNXG8crFwka8"
          },
          "created_at": 1732655923782,
          "created_datetime": "2024-11-26 21:18:43",
          "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267285671738765313%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267285671738765313%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
          "pinned": false,
          "replies": [],
          "text": "Love this",
          "thread_urn": null
        },
        {
          "annotation": null,
          "commenter": {
            "headline": "Sociologist//SDGs Advocate//Financial Advisor & Planner//Researcher//Realtor//Educationist//Sales//Digital Marketing//Humanitarian//Hospitality//Volunteer & Positive Change Agent..",
            "image_url": "https://media.licdn.com/dms/image/v2/D4E03AQHRnbHUVkdzrw/profile-displayphoto-shrink_400_400/B4EZSgBCPQGYAg-/0/1737851415290?e=1792022400&v=beta&t=IQvGZyQQtR_tv8bmpropOyBL0x6stg-OOMpEmY1OjBo",
            "linkedin_url": "https://www.linkedin.com/in/john-emmanuel-72220774",
            "name": "JoHn EmmanuEl",
            "urn": "ACoAAA-xS0oBF3Yu651R6w26kmSzH_Q5L35uTgo"
          },
          "created_at": 1732652963885,
          "created_datetime": "2024-11-26 20:29:23",
          "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267273257030926336%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267273257030926336%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
          "pinned": false,
          "replies": [],
          "text": "Very Apt... 😎👌🙌👍",
          "thread_urn": null
        },
        {
          "annotation": null,
          "commenter": {
            "headline": "TRANSLATOR/DATA ENTRY AT DIGITAL COACH.IT",
            "image_url": "https://media.licdn.com/dms/image/v2/D5635AQFyVzrVgQL2aw/profile-framedphoto-shrink_800_800/profile-framedphoto-shrink_800_800/0/1736500277895?e=1791298800&v=beta&t=cenxzRQuT_dy0ChGxY8npyIBHH42QKGueHFZh6VhfZs",
            "linkedin_url": "https://www.linkedin.com/in/md-monowarul-hoque-33444b324",
            "name": "Md Monowarul Hoque",
            "urn": "ACoAAFHvgBgBT9AvS87FIA1cCBori9vbZ36Baok"
          },
          "created_at": 1732809192123,
          "created_datetime": "2024-11-28 15:53:12",
          "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267928525754556416%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267928525754556416%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
          "pinned": false,
          "replies": [],
          "text": "https://kwork.com/manage_kworks",
          "thread_urn": null
        },
        {
          "annotation": null,
          "commenter": {
            "headline": "--",
            "image_url": "https://media.licdn.com/dms/image/v2/C5603AQF47oO7yApInA/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1627583406821?e=1792022400&v=beta&t=sMfI8kb0D9Q66clWGpVGILm5GDAP_xMbNOUq-5brT5I",
            "linkedin_url": "https://www.linkedin.com/in/abhishek-yadav-1b9b26218",
            "name": "Abhishek Yadav",
            "urn": "ACoAADb7z50BJmviL2rXY8cC2nFbNFseZUKQ75U"
          },
          "created_at": 1733167003542,
          "created_datetime": "2024-12-02 19:16:43",
          "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7269429295620476928%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287269429295620476928%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
          "pinned": false,
          "replies": [],
          "text": "I will do",
          "thread_urn": null
        },
        {
          "annotation": null,
          "commenter": {
            "headline": "\"Trust must be repeated again and again because the error is constantly preached around.\" J.W. von Goethe",
            "image_url": "https://media.licdn.com/dms/image/v2/C5603AQFV0X4RAvtPYw/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1642000333845?e=1792022400&v=beta&t=QXf75JTdvxNaRu09BZWl8P4LxItAkEmm8yVmmXxR0hI",
            "linkedin_url": "https://www.linkedin.com/in/dr-corina-ross-8a928419",
            "name": "Dr. Corina Ross",
            "urn": "ACoAAAPHEAEBYwqtDnmtfItB-2BcQa9tnJHVfJs"
          },
          "created_at": 1733046436128,
          "created_datetime": "2024-12-01 09:47:16",
          "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7268923599233732608%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287268923599233732608%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
          "pinned": false,
          "replies": [],
          "text": "The choice between short-term and big, immediate but risky advantages and long-term and small sure advantages had always been questioned. In economics, the government has traditionally chosen the second choice, while private business is based on the first one. And the head can be \"off\", indifferently of choice :).",
          "thread_urn": null
        },
        {
          "annotation": null,
          "commenter": {
            "headline": "emekli şirketinde serbest emekli",
            "image_url": "https://media.licdn.com/dms/image/v2/D4D03AQHxKEVq5zy-UA/profile-displayphoto-scale_100_100/B4DZscMpghH0Ac-/0/1765704638488?e=1792022400&v=beta&t=sHpr2_bIvRgZP5tP2E1XMSSM5HQdDGQC7-QE1YdVMa4",
            "linkedin_url": "https://www.linkedin.com/in/erdin-buluryar-4b750b136",
            "name": "ERDİN BULURYAR",
            "urn": "ACoAACEt6QsBIPm3mjyJwKuleM6VGGdTp6eQioM"
          },
          "created_at": 1732819322288,
          "created_datetime": "2024-11-28 18:42:02",
          "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267971014746120193%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267971014746120193%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
          "pinned": false,
          "replies": [],
          "text": "Ana düşünce strateji olmalıdır 😀",
          "thread_urn": null
        }
      ],
      "pagination_token": "1781644326-1790691008279-2fbc4cb7bf4db3d1a3d147b06782b922",
      "total": 10
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.01 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

urn
string · required
page
any · optional
pagination_token
any · optional
share_urn
any · optional
sort_by
any · optional

Access

Provider
LinkedIn
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/linkedin/web-v2/post-comments
Authentication
Bearer API key

API README

LinkedIn Post Comments API

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.

Use cases

  • Review audience feedback and replies on specific LinkedIn posts.
  • Monitor post discussions sorted by either recency or relevance.
  • Ingest comment threads across multiple pages using pagination tokens.

Request

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>"}'

Parameters

NameTypeRequiredDescription
urnstringYesPost activity urn (the numeric part of .../urn:li:activity:<urn>/).
pagestringNoPage number, starting at 1.
sort_bystringNoMost relevant (default) or Most recent.
share_urnstringNoOptional share urn for shared posts.
pagination_tokenstringNoToken returned by the previous response.

Notes

  • Provide the numeric portion of urn:li:activity:<urn> in urn.
  • Sort options for sort_by include Most relevant (default) and Most recent.
  • Pagination is handled via page starting at 1 or by passing pagination_token from previous responses.

Related APIs

  • LinkedIn Company Posts: Returns posts from a LinkedIn organization page using the company URL.
  • LinkedIn Company Profile: Returns LinkedIn company profile details, including affiliated organizations, using a direct company page URL.
  • LinkedIn Job Details: Returns detailed information for a specific LinkedIn job posting via its URL.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/linkedin/web-v2/post-comments
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/linkedin/web-v2/post-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "urn": "7267273010393358336"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
LinkedIn$0.01 per callJSONJul 31, 2026
LinkedIn$0.01 per callJSONJul 31, 2026
LinkedIn$0.0015 per callJSONJul 31, 2026
LinkedIn$0.04 per callJSONJul 31, 2026
LinkedIn$0.0015 per callJSONJul 31, 2026
LinkedIn$0.01 per callJSONJul 31, 2026

Questions

FAQ

How do I use the LinkedIn Post Comments API?

Send a POST request to https://api.sandbase.ai/v1/api/linkedin/web-v2/post-comments with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the LinkedIn Post Comments API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the LinkedIn Post Comments API accept?

Required: urn (string). Optional: page (any), pagination_token (any), share_urn (any) and sort_by (any). The Parameters table and the Playground on this page list every field.

What does the LinkedIn Post Comments API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a LinkedIn developer account or API key?

No. LinkedIn Post Comments runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for LinkedIn API access separately.