LinkedIn API
LinkedIn 主页反应 API
列出某个 LinkedIn 会员做出过反应的帖子:反应、时间戳,以及所反应的完整帖子及其作者和互动数据。
POST/v1/run/linkedin.profile_reactions
可用率
100.00%
30d · 3 次调用
请求数
3
30d
响应时间
2.6s
中位数 · 30d
试一试
发出你的第一个请求
示例响应
免费运行只返回前 3 条结果。为密钥充值即可获得完整响应。
{
"data": {
"items": [
{
"action": "example",
"actor": {
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"linkedinUrl": "https://example.com/page"
},
"createdUtc": 12.5,
"id": "a1b2c3d4",
"post": {
"author": {
"headline": "Example title",
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"name": "Example title",
"profileUrl": "https://example.com/page",
"publicIdentifier": "a1b2c3d4",
"type": "general",
"universalName": "Example title"
},
"engagement": {
"breakdown": [
null
],
"comments": 12500,
"reactions": 42,
"reposts": 248
},
"id": "a1b2c3d4",
"postedUtc": 248,
"repostId": "a1b2c3d4",
"text": "A short example description of this item.",
"url": "https://example.com/page"
},
"url": "https://example.com/page"
}
]
},
"found": true,
"reason": "not_found"
}响应类型定义
interface LinkedinProfileReactionsResponse {
data: {
items: {
action: string;
actor?: {
id?: string;
image?: string;
linkedinUrl?: string;
};
createdUtc?: number;
id: string;
post?: {
author?: {
headline?: string;
id?: string;
image?: string;
name?: string;
profileUrl?: string;
publicIdentifier?: string;
type?: string;
universalName?: string;
};
engagement?: {
breakdown?: {
count: number;
type: string;
}[];
comments?: number;
reactions?: number;
reposts?: number;
};
id?: string;
postedUtc?: number;
repostId?: string;
text?: string;
url?: string;
};
url?: string;
}[];
} | null;
found: boolean;
reason?: "not_found";
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
请求、响应与价格
最近验证于 2026-09-29 · 可用率和延迟按 30d 统计POST /v1/run/linkedin.profile_reactions
curl -X POST https://api.getanyapi.com/v1/run/linkedin.profile_reactions \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":10,"url":"https://www.linkedin.com/in/williamhgates"}'| 字段 | 类型 | 示例值 |
|---|---|---|
| 请求体 | ||
| url | string | "https://www.linkedin.com/in/williamhgates"要列出其反应的 LinkedIn 会员主页完整 URL,例如 https://www.linkedin.com/in/williamhgates。 |
| limit | integer | 10最多返回的反应数。一个上游页面包含 100 条。 |
| 响应 | ||
| data | object | The profile reactions result, or null when not found. |
| data.items | object[] | Posts the member has reacted to, newest first. One record per reaction, carrying both the reaction itself and the post it was made on. Populated whenever the provider has data for the entity. |
| data.items[].action | string | LinkedIn's own display sentence for the reaction, for example "Bill Gates likes this" or "Ali Abdaal liked Tobi Odutola's comment on this". It is the only place the reaction kind appears on this endpoint, it names the member and sometimes a third party, and it distinguishes a reaction on the post from a reaction on a comment. It is free English text, not an enum: parse it only if you accept that LinkedIn may reword it. Populated whenever the provider has data for the entity. |
| data.items[].actor | object | The member who reacted - the profile that was asked about. Populated whenever the provider has data for the entity. |
| data.items[].actor.id | string | LinkedIn member identifier of the reactor. |
| data.items[].actor.image | string | Profile picture URL of the reactor. |
| data.items[].actor.linkedinUrl | string | Canonical LinkedIn profile URL of the reactor. Populated whenever the provider has data for the entity. |
| data.items[].createdUtc | number | 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. |
| data.items[].id | string | LinkedIn activity identifier of the reaction event itself. This is not the identifier of the post that was reacted to - that is post.id. Populated whenever the provider has data for the entity. |
| data.items[].post | object | The post the member reacted to. Populated whenever the provider has data for the entity. |
| data.items[].post.author | object | Public author identity attached to the post. Populated whenever the provider has data for the entity. |
| data.items[].post.author.headline | string | Public headline for a person, or the follower summary for a company. Populated whenever the provider has data for the entity. |
| data.items[].post.author.id | string | LinkedIn identifier for the author. |
| data.items[].post.author.image | string | Public profile or company image URL for the author. |
| data.items[].post.author.name | string | Display name of the author. Populated whenever the provider has data for the entity. |
| data.items[].post.author.profileUrl | string | Canonical LinkedIn profile or company URL for the author. Populated whenever the provider has data for the entity. |
| data.items[].post.author.publicIdentifier | string | LinkedIn public identifier (vanity slug) for the author, for example "williamhgates". Absent for company authors, which carry universalName instead. |
| data.items[].post.author.type | string | Author kind, such as profile or company. |
| data.items[].post.author.universalName | string | Universal LinkedIn name used for company authors, when present. |
| data.items[].post.engagement | object | Public engagement totals attached to the post. Populated whenever the provider has data for the entity. |
| data.items[].post.engagement.breakdown | object[] | Reaction counts on the post grouped by LinkedIn reaction type. |
| data.items[].post.engagement.breakdown[].count | integer | Number of reactions of this type. |
| data.items[].post.engagement.breakdown[].type | string | LinkedIn reaction type. |
| data.items[].post.engagement.comments | integer | Total comment count. |
| data.items[].post.engagement.reactions | integer | Total reaction count. |
| data.items[].post.engagement.reposts | integer | Total repost or share count. |
| data.items[].post.id | string | LinkedIn activity identifier of the post that was reacted to. Populated whenever the provider has data for the entity. |
| data.items[].post.postedUtc | number | UTC epoch timestamp in seconds (Unix time) the post was published. Multiply by 1000 for a JS Date in milliseconds. |
| data.items[].post.repostId | string | Unique identifier of the post this one reshares, when it is a reshare. |
| data.items[].post.text | string | Text content of the post. Empty string when the post carries no commentary of its own, such as a bare reshare or an image-only post. Populated whenever the provider has data for the entity. |
| data.items[].post.url | string | Canonical LinkedIn URL of the post. Populated whenever the provider has data for the entity. |
| data.items[].url | string | Canonical LinkedIn feed URL of the reaction event. Use post.url for the post itself. Populated whenever the provider has data for the entity. |
| found | boolean | Whether reactions were found for the profile. |
| 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. |
| 价格 | ||
| 每次请求价格 | USD | US$0.005 |
| 价格(/千次请求) | USD | US$5.00 |
常见问题
关于 LinkedIn 主页反应 API
AnyAPI 的 LinkedIn 主页反应 API 只需一次 POST 请求 /v1/run/linkedin.profile_reactions,就以统一格式的 JSON 返回 LinkedIn 数据。列出某个 LinkedIn 会员做出过反应的帖子:反应、时间戳,以及所反应的完整帖子及其作者和互动数据。无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千次请求 US$5 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 LinkedIn 主页反应 API 调用中有 100.0% 成功,响应时间中位数为 2.6 秒,共测量 3 次调用。
费用:每千次请求 US$5 起,以美元计价,无需订阅,也没有每月最低消费。你只需为一个美元钱包充值,每次调用从中扣费。部分由钱包付费的失败请求会产生处理费用,我们按成本原价转嫁,不加价;错误响应会显示收取的金额。
列出某个 LinkedIn 会员做出过反应的帖子:反应、时间戳,以及所反应的完整帖子及其作者和互动数据。响应是统一格式的 JSON,外层结构与每个 AnyAPI 接口相同,所以解析另一个接口只需换一个 URL,别的都不用改。
过去 30 天,通过 AnyAPI 发起的 LinkedIn 主页反应 API 调用中有 100.0% 成功,响应时间中位数为 2.6 秒,共测量 3 次调用。这些是 AnyAPI 对经过网关的流量的自有测量,持续重新计算,并非公开承诺的服务等级目标。
更多接口
LinkedIn 的其他接口
主页/千次请求 US$2.90 起公司/千次请求 US$1.10 起公司帖子/千次请求 US$5.00 起帖子/千次请求 US$0.50 起帖子搜索/千次请求 US$1.20 起广告/千次请求 US$1.20 起广告列表/千条结果 US$1.58 起广告搜索/千次请求 US$1.20 起文章/千次请求 US$5.69 起公司员工/千次请求 US$6.00 起公司帖子(精简版)/千次请求 US$1.20 起公司(精简版)/千次请求 US$1.00 起邮箱/千次请求 US$11.00 起职位/千次请求 US$1.50 起职位/千条结果 US$1.14 起职位(精简版)/千次请求 US$0.50 起帖子评论/千次请求 US$5.00 起帖子反应/千次请求 US$2.90 起帖子转录文本/千次请求 US$1.20 起主页评论/千次请求 US$5.00 起主页帖子(完整版)/千次请求 US$5.00 起主页帖子(精简版)/千次请求 US$5.00 起主页(精简版)/千次请求 US$0.80 起搜索公司/千次请求 US$5.00 起搜索帖子(完整版)/千次请求 US$4.00 起搜索主页/千条结果 US$7.92 起搜索主页(含邮箱)/千条结果 US$12.92 起搜索主页(精简版)/千次请求 US$36.00 起