Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

LinkedIn Comment Reactions

Tài liệu 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.

Giá
Từ $0.0026USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
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. Tối thiểu: 1.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
LinkedInTừ $0.0026 mỗi lần gọiJSON
LinkedInTừ $0.0012 mỗi lần gọiJSON
LinkedInTừ $0.0331 mỗi lần gọiJSON
LinkedInTừ $0.0012 mỗi lần gọiJSON
LinkedInTừ $0.00569 mỗi lần gọiJSON
LinkedInTừ $0.0026 mỗi lần gọiJSON

Hướng dẫn:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API LinkedIn Comment Reactions?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/linkedin/comment-reactions với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API LinkedIn Comment Reactions có giá bao nhiêu?

Từ $0.0026 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API LinkedIn Comment Reactions chấp nhận những tham số nào?

Bắt buộc: url (string). Tùy chọn: page (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API LinkedIn Comment Reactions trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của LinkedIn không?

Không. LinkedIn Comment Reactions chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của LinkedIn.