urlstringbắt buộc
Full LinkedIn company page URL.
https://api.sandbase.ai/v1/api/linkedin/company-posts-thinPost text and link only. No engagement counts, author details, media, or reaction breakdown - for those use linkedin.company_posts.
Đầ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 a list of recent posts from a LinkedIn company page. Each post has an ID, text, creation time and link. The API needs the full company page URL in url.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/company-posts-thin" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.linkedin.com/company/stripe"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Full LinkedIn company page URL. |
page | integer | No | Page number for pagination. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"items": [
{
"createdUtc": 1793573382,
"id": "7522792013872685056",
"text": "Toto Wolff of the Mercedes-AMG PETRONAS Formula One Team shares how bringing an …",
"url": "https://www.linkedin.com/posts/stripe_how-toto-wolff-built-the-most-valuable-tea…"
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
found | true when the company page returned data. A lookup that finds nothing returns false. |
data.items[] | One entry per post on the requested page. |
data.items[].id | The post ID as a string of digits. The same number appears at the end of the post url. |
data.items[].text | The post text. Long posts appear cut off in the sample, so treat this as a preview of the post body. |
data.items[].url | The link to the post on LinkedIn. |
data.items[].createdUtc | The post creation time as a Unix timestamp in seconds, in UTC. |
url value from the company page address in your browser, for example https://www.linkedin.com/company/stripe.page (starting at 1) to move through more posts.Billed at the actual cost of each call, about $0.0012 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/company-posts-thin" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.linkedin.com/company/stripe"
}'Đặ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ộcFull LinkedIn company page URL.
pageintegerPage number for pagination.
Đâ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 | Từ $0.0012 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/company-posts-thin 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.0012 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: page (integer). 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 Company Posts (basic) 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.