LinkedIn 帖子搜索 API
按关键词搜索公开的 LinkedIn 帖子,支持游标分页:正文、链接和发布日期。结果来自搜索引擎匹配,使用英文关键词效果最好。
US$1.20/千次请求,按请求付费,无需订阅。
Here’s a simple guide to the 4 categories of AI agents you should know…
Jul 25, 2025
{"url": "https://www.linkedin.com/posts/aagupta_ai-agents-activity-7354600338621906944-RvXR","text": "Here’s a simple guide to the 4 categories of AI agents you should know…","publishedAt": "2025-07-25T19:56:02.566Z","authorName": string,"authorUrl": string,"avatarUrl": string,"commentCount": integer,"createdUtc": number,... 还有 2 个字段}
价格与服务商
LinkedIn 帖子搜索 API 价格:一个 API,4 个可互换的服务商
最便宜的服务商优先响应。如果它失败,下一个会在同一次调用中接手。
试一试
一个请求获取 LinkedIn 帖子搜索
这个示例展示了 14 个字段中的 5 个。查看全部字段
{
"found": true,
"data": {
"posts": [
{
"url": "https://www.linkedin.com/posts/aagupta_ai-agents-activity-7354600338621906944-RvXR",
"text": "Here’s a simple guide to the 4 categories of AI agents you should know…",
"publishedAt": "2025-07-25T19:56:02.566Z"
}
]
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- querystring
ai agents
帖子搜索查询。
- cursorstring
上一次响应返回的分页游标。
- datePostedenum
按时间远近筛选。可选值:last-hour、last-day、last-week、last-month、last-year。
- requireCursorboolean
已弃用。此搜索的每个数据源都会返回 nextCursor,所以它不会改变价格,也不会改变由哪个数据源处理;它仍被接受,以便已在发送它的调用方继续正常工作。
响应
JSON,每个字段一个示例值。
The search result, or null when not found.
- nextCursorstring
Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.
Posts matching the search query. Populated whenever the provider has data for the entity.
- authorNamestring
Display name of the post's author. Empty when the upstream omits it.
- authorUrlstring
Canonical profile URL of the post's author, with tracking query params stripped. Empty when the upstream omits it.
- avatarUrlstring
URL of the post author's profile avatar image.
- commentCountinteger
Total number of comments on the post.
- createdUtcnumber
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
- idstring
The post's LinkedIn activity ID, as a string. Populated whenever the provider has data for the entity.
- reactionCountinteger
Total number of reactions on the post.
- textstring
Here’s a simple guide to the 4 categories of AI agents you should know…
Text content of the post. Populated whenever the provider has data for the entity.
- urlstring
https://www.linkedin.com/posts/aagupta_ai-agents-activity-7354600338621906944-RvXR
Canonical URL of the post. Populated whenever the provider has data for the entity.
- foundboolean
true
Whether matching posts were found.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
常见问题
关于 LinkedIn 帖子搜索 API
AnyAPI 的 LinkedIn 帖子搜索 API 只需一次 POST 请求 /v1/run/linkedin.search_posts,就以统一格式的 JSON 返回 LinkedIn 数据。按关键词搜索公开的 LinkedIn 帖子,支持游标分页:正文、链接和发布日期。结果来自搜索引擎匹配,使用英文关键词效果最好。AnyAPI 会在 4 个数据源之间路由每个请求,某个数据源失败时自动切换。费用:每千次请求 US$1.20 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 LinkedIn 帖子搜索 API 调用中有 99.9% 成功,响应时间中位数为 5.8 秒,共测量 270,015 次调用。