Get a company’s LinkedIn posts
harvestapi.linkedin.company.postsGet LinkedIn company posts by company URL, ID, or universal name.
- 价格
- $0.004/call按供应商原价
- 成功率
- 99.9%近 30 天 · 46,543 次
- 延迟 p50
- 2.2 秒p95 5.6 秒
- 最后验证
- 2026年9月10日实测可用
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.company.posts?page=1&companyUniversalName=google预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
Use only the declared query parameters, once each, without a request body. Results are provider-native: inspect element/elements and body status/error; HTTP 200 alone does not prove a hit. Empty results can still be charged.
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
page | 整数 | 可选 | Page number for pagination | 1 |
company | 字符串 | 可选 | Filter posts by this company URL | |
companyId | 字符串 | 可选 | Filter posts by company ID. It's faster to search by ID | |
postedLimit | 字符串 | 可选 | Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. Since LinkedIn doesn't offer a way to filter by date, the filtering will be done on our side, due to that the pagination might have incorrect values, because pagination is returned by LinkedIn without applying the postedLimit filter | |
paginationToken | 字符串 | 可选 | Required if it was returned by the previous page. Otherwise the page will always be 1 (on LinkedIn side). Doesn't apply for all queries, usually profile posts return this token | |
scrapePostedLimit | 字符串 | 可选 | Post-Filter posts by maximum posted date. Supported values: '1h', '24h', 'week','month', '3months', '6months', 'year'. This parameter will be applied after receiving results from LinkedIn, the filtering will be done on our side | |
companyUniversalName | 字符串 | 可选 | Filter posts by company universal name (last part in the URL) | google |
- 查询参数
page整数可选Page number for pagination
示例:
1company字符串可选Filter posts by this company URL
companyId字符串可选Filter posts by company ID. It's faster to search by ID
postedLimit字符串可选Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. Since LinkedIn doesn't offer a way to filter by date, the filtering will be done on our side, due to that the pagination might have incorrect values, because pagination is returned by LinkedIn without applying the postedLimit filter
paginationToken字符串可选Required if it was returned by the previous page. Otherwise the page will always be 1 (on LinkedIn side). Doesn't apply for all queries, usually profile posts return this token
scrapePostedLimit字符串可选Post-Filter posts by maximum posted date. Supported values: '1h', '24h', 'week','month', '3months', '6months', 'year'. This parameter will be applied after receiving results from LinkedIn, the filtering will be done on our side
companyUniversalName字符串可选Filter posts by company universal name (last part in the URL)
示例:
google
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X GET 'https://toolswitch.dev/v1/tools/harvestapi.linkedin.company.posts?page=1&companyUniversalName=google' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/harvestapi.linkedin.company.posts?page=1&companyUniversalName=google",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/harvestapi.linkedin.company.posts?page=1&companyUniversalName=google", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.004/call 计费,已含服务费。