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"}'
字段类型示例值
请求体
querystring"recruiter"LinkedIn 主页搜索查询:职位、姓名或关键词(例如 'Marketing Manager')。
currentCompanyIdstring按当前雇主筛选,使用 LinkedIn 数字公司 ID。多个值用逗号分隔。
cursorstring来自上一次响应 nextCursor 的不透明分页游标。第一页时省略;每页 10 个主页。
firstNamestring按名字筛选(例如 Jane)。
followerOfUrnstring只返回关注该会员的人员,需提供该会员的 LinkedIn URN。
industryIdstring按行业筛选,使用 LinkedIn 行业 ID。
lastNamestring按姓氏筛选(例如 Okafor)。
locationIdstring按地点筛选,使用 LinkedIn 地理编码 ID。
pastCompanyIdstring按过往雇主筛选,使用 LinkedIn 数字公司 ID。
profileLanguagestring按主页撰写所用的语言筛选(两字母 ISO 代码,例如 en)。
schoolIdstring按学校筛选,使用 LinkedIn 学校 ID。
serviceCategoryIdstring按服务类别筛选,使用数字服务类别 ID。
titlestring按职位名称或头衔筛选(例如 Head of Talent)。
响应
dataobjectThe results wrapper, or null when nothing was found.
data.itemsobject[]Matched profile records (basic fields only). Populated whenever the provider has data for the entity.
data.items[].handlestringPublic profile identifier (the vanity slug in the URL). Populated whenever the provider has data for the entity.
data.items[].headlinestringProfile headline (the tagline under the name). Populated whenever the provider has data for the entity.
data.items[].idstringLinkedIn member URN id for the profile.
data.items[].imagestringProfile picture URL.
data.items[].locationstringMember's location as a single string (city, region, country).
data.items[].namestringMember's display name.
data.items[].premiumbooleanWhether the member has LinkedIn Premium.
data.items[].urlstringCanonical LinkedIn vanity profile URL. Populated whenever the provider has data for the entity.
data.items[].verifiedbooleanWhether LinkedIn has verified the member's identity.
data.nextCursorstringOpaque cursor for the next page of profiles, or null/empty when there are no more. Pass it back as cursor to continue.
foundbooleanTrue 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.
价格
每次请求价格USDUS$0.036
价格(/千次请求)USDUS$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 对经过网关的流量的自有测量,持续重新计算,并非公开承诺的服务等级目标。