Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

LinkedIn Comment Reactions

API 文件
https://api.sandbase.ai/v1/api/linkedin/comment-reactions

List who reacted to a comment on a LinkedIn post - reactor name, profile URL, job title, and reaction type, 100 per page.

價格
自 $0.0026 起美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填

Playground

輸入
LinkedIn comment URL, as returned in the url field of linkedin.post_comments or copied with "Copy link to comment" (a /feed/update/... link carrying commentUrn and dashCommentUrn). A post URL without dashCommentUrn, or a reply's URL (carrying replyUrn), is refused as invalid input, with no charge.
Which page of up to 100 reactions to return, starting at 1 (default 1). Each page is billed as one request; totalPages in the response says how many there are. 最小值:1。
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

LinkedIn Comment Reactions API

Returns the people who reacted to a single LinkedIn comment. Each row has the reactor's name, profile URL, job title, and reaction type. It needs a LinkedIn comment URL and returns 100 reactions per page.

Use cases

  • Build a list of people who engaged with a high-performing comment for outreach or lead research.
  • Filter reactors by job title to see which roles respond to a comment.
  • Count reaction types such as LIKE and EMPATHY to measure how a comment landed.
  • Export all reactors across pages to track engagement on a competitor's or customer's comment.

Request

curl -X POST "https://api.sandbase.ai/v1/api/linkedin/comment-reactions" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.linkedin.com/feed/update/urn:li:activity:7510715600319467520?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7510715600319467520%2C7510768837462745088%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287510768837462745088%2Curn%3Ali%3Aactivity%3A7510715600319467520%29"}'

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

Parameters

NameTypeRequiredDescription
urlstringYesLinkedIn comment URL, as returned in the url field of linkedin.post_comments or copied with "Copy link to comment" (a /feed/update/... link carrying commentUrn and dashCommentUrn). A post URL without dashCommentUrn, or a
pageintegerNoWhich page of up to 100 reactions to return, starting at 1 (default 1). Each page is billed as one request; totalPages in the response says how many there are.

Example response

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

{
  "data": {
    "items": [
      {
        "actor": {
          "id": "ACoAAABuyR8B_XgmyiciUgrKJ4bFT4xocdOiFxA",
          "image": "https://media.licdn.com/dms/image/v2/C5603AQExZU_iRhfBDw/profile-displayphoto-sh…",
          "linkedinUrl": "https://www.linkedin.com/in/ACoAAABuyR8B_XgmyiciUgrKJ4bFT4xocdOiFxA",
          "name": "Gretchen Tuccy, PHR, SHRM-CP",
          "position": "Manager, HR Systems & Operations at DCS Corp"
        },
        "commentUrn": "urn:li:comment:(activity:7510715600319467520,7510768837462745088)",
        "id": "urn:li:fsd_reaction:(urn:li:fsd_profile:ACoAAABuyR8B_XgmyiciUgrKJ4bFT4xocdOiFxA,…",
        "reactionType": "LIKE"
      }
    ],
    "page": 1,
    "totalPages": 5,
    "totalResults": 490
  },
  "found": true
}

Response fields

FieldMeaning
data.items[].actor.nameDisplay name of the person who reacted.
data.items[].actor.positionHeadline or job title text shown on the reactor's profile, such as a role and company.
data.items[].actor.linkedinUrlURL of the reactor's LinkedIn profile.
data.items[].actor.idLinkedIn profile ID of the reactor. It is also the last part of linkedinUrl.
data.items[].actor.imageURL of the reactor's profile photo.
data.items[].reactionTypeType of reaction, for example LIKE or EMPATHY.
data.items[].commentUrnURN of the comment that was reacted to. It is the same on every row.
data.items[].idUnique ID of the reaction, built from the reactor's profile URN and the comment URN.
data.page / data.totalPagesThe page returned and the total number of pages available.
data.totalResultsTotal number of reactions on the comment across all pages.

Notes

  • Get the comment URL from the url field of LinkedIn Post Comments, or use "Copy link to comment" on LinkedIn. The URL must carry commentUrn and dashCommentUrn.
  • A post URL without dashCommentUrn, or a reply URL carrying replyUrn, is refused as invalid input.
  • Set page to 2, 3, and so on to read further pages. Stop at data.totalPages.
  • To see reactions on the post itself, call LinkedIn Post Reactions.

Pricing

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

探索更多

相關 APIs

所有 APIs
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

問題

常見問題

我要如何使用 LinkedIn Comment Reactions API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/linkedin/comment-reactions。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

LinkedIn Comment Reactions API 的費用是多少?

每次起 $0.0026,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

LinkedIn Comment Reactions API 接受哪些參數?

必要:url (string)。 選填:page (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

LinkedIn Comment Reactions API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 LinkedIn 開發者帳號或 API 金鑰嗎?

不需要。LinkedIn Comment Reactions 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 LinkedIn API 存取權。