urlstringbắt buộc
URL of the LinkedIn post to list reactions for (a /posts/...-activity-... or /feed/update/urn:li:activity:... link).
https://api.sandbase.ai/v1/api/linkedin/post-reactionsList who reacted to a LinkedIn post - reactor name, profile URL, job title, and reaction type. Lead-gen grade.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns the people who reacted to a public LinkedIn post. Each row has the reactor's name, profile URL, headline and reaction type. It needs the post URL as input.
LIKE on a campaign post to compare posts.curl -X POST "https://api.sandbase.ai/v1/api/linkedin/post-reactions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.linkedin.com/posts/satyanadella_today-were-bringing-skills-to-copilot-for-activity-7475945433668694017--kvG", "limit": 5}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | URL of the LinkedIn post to list reactions for (a /posts/...-activity-... or /feed/update/urn:li:activity:... link). |
limit | integer | No | Maximum number of reactions to return (1-100, default 100). |
requireFields | array | No | Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example postId, and it is served only by a source that returns every one of |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"items": [
{
"actor": {
"id": "ACoAAD4aAo0BsZ10crKCys0Pp0kbBjhn26OpGaA",
"linkedinUrl": "https://www.linkedin.com/in/soundernarayanasamy/",
"name": "Sounder Narayana Samy K",
"pictureUrl": "https://media.licdn.com/dms/image/v2/D5603AQFqIDeCdph7Mg/profile-displayphoto-cr…",
"position": "UI/UX Designer | Product Designer | E-commerce & AI SaaS | Figma to React/Next.j…"
},
"postId": null,
"reactionType": "LIKE"
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.items[].actor.name | Display name of the person who reacted. |
data.items[].actor.linkedinUrl | Link to the reactor's LinkedIn profile. |
data.items[].actor.position | Headline text from the reactor's profile. It often holds the job title plus other self-written text. |
data.items[].actor.id | LinkedIn member ID of the reactor, in the ACoAA... format. |
data.items[].actor.pictureUrl | Link to the reactor's profile photo. It is an empty string when there is no photo. |
data.items[].reactionType | Type of reaction the person left, for example LIKE. |
data.items[].postId | ID of the post. It can be null in the response. |
found | true when the post was found. |
url from the post's share link. It can be a /posts/...-activity-... link or a /feed/update/urn:li:activity:... link.limit between 1 and 100. The default is 100.postId was null in this response. Pass requireFields: ["postId"] to be served only by a source that returns it. This can raise the price.Billed at the actual cost of each call, about $0.0029 for the request above. Failed calls are not charged.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/post-reactions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.linkedin.com/posts/satyanadella_today-were-bringing-skills-to-copilot-for-activity-7475945433668694017--kvG",
"limit": 5
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
urlstringbắt buộcURL of the LinkedIn post to list reactions for (a /posts/...-activity-... or /feed/update/urn:li:activity:... link).
limitintegerMaximum number of reactions to return (1-100, default 100).
requireFieldsarrayOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `postId`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
LinkedIn Post ReactionsAPI này LinkedIn | Từ $0.0029 mỗi lần gọi | JSON |
LinkedIn | Từ $0.0012 mỗi lần gọi | JSON |
LinkedIn | Từ $0.0331 mỗi lần gọi | JSON |
LinkedIn | Từ $0.0012 mỗi lần gọi | JSON |
LinkedIn | Từ $0.00569 mỗi lần gọi | JSON |
LinkedIn | Từ $0.0026 mỗi lần gọi | JSON |
Hướng dẫn:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/linkedin/post-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.
Từ $0.0029 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ý.
Bắt buộc: url (string). Tùy chọn: limit (integer) và requireFields (array). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
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.
Không. LinkedIn Post 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.