LinkedIn API
LinkedIn 搜索主页(精简版) API
低价人员搜索:姓名/用户名、头衔、自定义(VANITY)主页 URL、地点。不含完整主页或邮箱;如需每个结果的完整主页请用 linkedin.search_profiles,附加邮箱请用 linkedin.search_profiles_email。
POST/v1/run/linkedin.search_profiles_thin
可用率
96.30%
30d · 162 次调用
请求数
162
30d · 按周,近 12 周
响应时间
1.5s
中位数 · 30d
调用方式
发出你的第一个请求
import os, requests res = requests.post( "https://api.getanyapi.com/v1/run/linkedin.search_profiles_thin", headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"}, json={ "query": "" }, ) print(res.json())
示例响应
{
"data": {
"items": [
{
"handle": "alex_rivera",
"headline": "Example title",
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"location": "example",
"name": "Example title",
"premium": true,
"url": "https://example.com/page",
"verified": true
}
],
"nextCursor": "example"
},
"found": true,
"reason": "not_found"
}响应类型定义
interface LinkedinSearchProfilesThinResponse {
data: {
items: {
handle?: string;
headline?: string;
id?: string;
image?: string;
location?: string;
name?: string;
premium?: boolean;
url: string;
verified?: boolean;
}[];
nextCursor?: string | null;
} | null;
found: boolean;
reason?: "not_found";
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
请求、响应与价格
最近验证于 2026-09-29 · 可用率和延迟按 30d 统计POST /v1/run/linkedin.search_profiles_thin
curl -X POST https://api.getanyapi.com/v1/run/linkedin.search_profiles_thin \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"recruiter"}'| 字段 | 类型 | 示例值 |
|---|---|---|
| 请求体 | ||
| query | string | "recruiter"LinkedIn 主页搜索查询:职位、姓名或关键词(例如 'Marketing Manager')。 |
| currentCompanyId | string | 按当前雇主筛选,使用 LinkedIn 数字公司 ID。多个值用逗号分隔。 |
| cursor | string | 来自上一次响应 nextCursor 的不透明分页游标。第一页时省略;每页 10 个主页。 |
| firstName | string | 按名字筛选(例如 Jane)。 |
| followerOfUrn | string | 只返回关注该会员的人员,需提供该会员的 LinkedIn URN。 |
| industryId | string | 按行业筛选,使用 LinkedIn 行业 ID。 |
| lastName | string | 按姓氏筛选(例如 Okafor)。 |
| locationId | string | 按地点筛选,使用 LinkedIn 地理编码 ID。 |
| pastCompanyId | string | 按过往雇主筛选,使用 LinkedIn 数字公司 ID。 |
| profileLanguage | string | 按主页撰写所用的语言筛选(两字母 ISO 代码,例如 en)。 |
| schoolId | string | 按学校筛选,使用 LinkedIn 学校 ID。 |
| serviceCategoryId | string | 按服务类别筛选,使用数字服务类别 ID。 |
| title | string | 按职位名称或头衔筛选(例如 Head of Talent)。 |
| 响应 | ||
| data | object | The results wrapper, or null when nothing was found. |
| data.items | object[] | Matched profile records (basic fields only). Populated whenever the provider has data for the entity. |
| data.items[].handle | string | Public profile identifier (the vanity slug in the URL). Populated whenever the provider has data for the entity. |
| data.items[].headline | string | Profile headline (the tagline under the name). Populated whenever the provider has data for the entity. |
| data.items[].id | string | LinkedIn member URN id for the profile. |
| data.items[].image | string | Profile picture URL. |
| data.items[].location | string | Member's location as a single string (city, region, country). |
| data.items[].name | string | Member's display name. |
| data.items[].premium | boolean | Whether the member has LinkedIn Premium. |
| data.items[].url | string | Canonical LinkedIn vanity profile URL. Populated whenever the provider has data for the entity. |
| data.items[].verified | boolean | Whether LinkedIn has verified the member's identity. |
| data.nextCursor | string | Opaque cursor for the next page of profiles, or null/empty when there are no more. Pass it back as cursor to continue. |
| found | boolean | True when at least one profile was returned. |
| 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.036 |
| 价格(/千次请求) | USD | US$36.00 |
常见问题
关于 LinkedIn 搜索主页(精简版) API
AnyAPI 的 LinkedIn 搜索主页(精简版) API 只需一次 POST 请求 /v1/run/linkedin.search_profiles_thin,就以统一格式的 JSON 返回 LinkedIn 数据。低价人员搜索:姓名/用户名、头衔、自定义(VANITY)主页 URL、地点。不含完整主页或邮箱;如需每个结果的完整主页请用 linkedin.search_profiles,附加邮箱请用 linkedin.search_profiles_email。无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千次请求 US$36 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 LinkedIn 搜索主页(精简版) API 调用中有 96.3% 成功,响应时间中位数为 1.5 秒,共测量 162 次调用。
费用:每千次请求 US$36 起,以美元计价,无需订阅,也没有每月最低消费。你只需为一个美元钱包充值,每次调用从中扣费。部分由钱包付费的失败请求会产生处理费用,我们按成本原价转嫁,不加价;错误响应会显示收取的金额。
低价人员搜索:姓名/用户名、头衔、自定义(VANITY)主页 URL、地点。不含完整主页或邮箱;如需每个结果的完整主页请用 linkedin.search_profiles,附加邮箱请用 linkedin.search_profiles_email。响应是统一格式的 JSON,外层结构与每个 AnyAPI 接口相同,所以解析另一个接口只需换一个 URL,别的都不用改。
过去 30 天,通过 AnyAPI 发起的 LinkedIn 搜索主页(精简版) API 调用中有 96.3% 成功,响应时间中位数为 1.5 秒,共测量 162 次调用。这些是 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$5.00 起主页(精简版)/千次请求 US$0.80 起搜索公司/千次请求 US$5.00 起搜索帖子(完整版)/千次请求 US$4.00 起搜索主页/千条结果 US$7.92 起搜索主页(含邮箱)/千条结果 US$12.92 起