urlstring必填
Company URL.
https://api.sandbase.ai/v1/api/linkedin/web-v2/company-postsReturns posts from a LinkedIn organization page using the company URL. Supports ordering by top or recent posts and offset or token pagination.
您的输出将显示在这里
完成输入,然后点击运行。
The LinkedIn company profile and posts API example separates the two requests and their historical observations. Start with the required company URL; do not infer a pagination token path from another provider's API.
Optional input types are unspecified here and pending product confirmation; the published parameter schema remains authoritative. The exact token extraction path and the behavior when offset and token are sent together also need confirmation before a continuation example. The first-request example sends only url; no sorting or continuation request is demonstrated here.
Retrieve posts from a company's profile by supplying the organization url. Adjust feed ordering with sort_by and manage multi-page results using start or pagination_token.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/web-v2/company-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.linkedin.com/company/microsoft/"}'
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Company URL. |
start | unspecified (pending confirmation) | No | Pagination offset — 0 for page 1, 50 for page 2, and so on. |
sort_by | unspecified (pending confirmation) | No | top or recent. |
pagination_token | unspecified (pending confirmation) | No | Token from the paging object of the previous response. |
sort_by to top or recent to adjust output order.start in increments of 50 or by passing the pagination_token returned in the previous response.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/web-v2/company-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.linkedin.com/company/microsoft/"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
urlstring必填Company URL.
pagination_tokenanyToken from the `paging` object of the previous response.
sort_byanytop or recent.
startanyPagination offset — 0 for page 1, 50 for page 2, and so on.
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
LinkedIn | $0.05 每次调用 | JSON |
LinkedIn | $0.008 每次调用 | JSON |
LinkedIn | $0.05 每次调用 | JSON |
LinkedIn | $0.05 每次调用 | JSON |
LinkedIn | $0.008 每次调用 | JSON |
LinkedIn | $0.05 每次调用 | JSON |
指南:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
问题
向 https://api.sandbase.ai/v1/api/linkedin/web-v2/company-posts 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.05,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:url (string)。 可选:pagination_token (any), sort_by (any) 和 start (any)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。
不需要。LinkedIn Company Posts 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 LinkedIn API 访问权限。
请在必填的 url 字段中发送完整的 LinkedIn 公司主页 URL,并包含 https://。首个请求示例只使用这一字段。当前 README 描述的 sort_by 值是 top 和 recent;recent 是排序选项,不是新鲜度保证。在添加排序或分页前,请查看 endpoint 参考以确认当前可选输入类型。
这里没有建立完整历史或固定每页大小的保证。README 说明了从 0、50 开始及之后的起始偏移,或者使用上一条响应中的 pagination_token 继续分页。这些偏移并不能证明每一页都包含 50 条帖子。在发布续页示例之前,必须确认精确的 token 提取路径,以及 offset 和 token 同时传入时的行为。