LinkedIn API

LinkedIn 搜索主页(含邮箱) API

人员搜索,每个结果同时返回完整主页和经过验证的工作邮箱。按关键词搜索 LinkedIn 主页,可选按地点和职位名称筛选;每个匹配结果都返回完整的主页记录(姓名、头衔、地点、当前职位、工作经历、教育经历和技能,以及主页 URL、用户名和 id),并附带一个 emails 数组,包含找到的工作邮箱及其可送达性。邮箱查找尽力而为,并且需要主页提供可解析的公司域名,因此在宽泛搜索中,许多匹配结果返回空的 emails 数组,但仍按邮箱费率扣费。如果你已经有姓名和公司域名,email.find、email_finding.icypeas 和 email_finding.dropleads 能以更低价格直接查找邮箱,linkedin.email 可为单个已知主页 URL 补全邮箱。如需不含邮箱的完整主页,请用 linkedin.search_profiles;如需只返回姓名/头衔/URL 的更便宜搜索,请用 linkedin.search_profiles_thin。

POST/v1/run/linkedin.search_profiles_email
可用率
88.73%
30d · 71 次调用
请求数
71
30d · 按周,近 12 周
响应时间
13.1s
中位数 · 30d

调用方式

发出你的第一个请求

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/linkedin.search_profiles_email",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={
        "query": ""
    },
)
print(res.json())
打开于
获取免费密钥
示例响应
{
  "data": {
    "items": [
      {
        "about": "A short example description of this item.",
        "city": "San Francisco",
        "connectionsCount": 12500,
        "country": "US",
        "countryCode": "US",
        "coverImage": "https://example.com/image.jpg",
        "creator": true,
        "currentPosition": [
          {}
        ],
        "education": [
          {}
        ],
        "emails": [
          {}
        ],
        "experience": [
          {}
        ],
        "firstName": "Alex",
        "followerCount": 12500,
        "handle": "alex_rivera",
        "headline": "Example title",
        "hiring": true,
        "id": "a1b2c3d4",
        "image": "https://example.com/image.jpg",
        "influencer": true,
        "lastName": "Rivera",
        "location": "example",
        "openToWork": true,
        "premium": true,
        "skills": [
          null
        ],
        "state": "CA",
        "url": "https://example.com/page",
        "verified": true
      }
    ]
  },
  "found": true,
  "reason": "not_found"
}
响应类型定义
interface LinkedinSearchProfilesEmailResponse {
  data: {
    items: {
      about?: string;
      city?: string;
      connectionsCount?: number;
      country?: string;
      countryCode?: string;
      coverImage?: string;
      creator?: boolean;
      currentPosition?: {
      }[];
      education?: {
      }[];
      emails?: {
      }[];
      experience?: {
      }[];
      firstName?: string;
      followerCount?: number | null;
      handle?: string;
      headline?: string;
      hiring?: boolean;
      id: string;
      image?: string;
      influencer?: boolean;
      lastName?: string;
      location?: string;
      openToWork?: boolean;
      premium?: boolean;
      skills?: any[];
      state?: string;
      url: string;
      verified?: boolean;
    }[];
  } | null;
  found: boolean;
  reason?: "not_found";
}

完整的参数与响应参考:这个接口的每个字段、类型和示例。

参考

请求、响应与价格

最近验证于 2026-09-29 · 可用率和延迟按 30d 统计
POST /v1/run/linkedin.search_profiles_email
curl -X POST https://api.getanyapi.com/v1/run/linkedin.search_profiles_email \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"companyHeadcount":["B"],"limit":5,"query":"founder"}'
字段类型示例值
请求体
querystring"founder"LinkedIn 主页搜索查询:职位、姓名或关键词(例如 'Marketing Manager')。
companyHeadcountarray["B"]按当前公司规模(员工人数)筛选。代码:A=自雇,B=1-10,C=11-50,D=51-200,E=201-500,F=501-1,000,G=1,001-5,000,H=5,001-10,000,I=10,001+。
companyHeadquarterLocationsarray按此人当前公司总部所在地筛选,填写地名(例如 ['United States'])。
currentCompaniesarray筛选当前在其中任一公司工作的人员,填写公司名称(例如 ['Google','Meta'])。多个名称会扩大匹配范围(OR)。
excludeCompanyHeadquarterLocationsarray排除当前公司总部位于其中任一地点的人员。
excludeCurrentCompaniesarray排除当前在其中任一公司工作的人员,填写公司名称。
excludeCurrentJobTitlesarray排除当前职位名称匹配其中任一项的人员。
excludeFunctionIdsarray排除这些职能(代码同 functionIds)。
excludeLocationsarray排除位于其中任一地点的人员,填写地名。
excludePastCompaniesarray排除曾在其中任一公司工作过的人员,填写公司名称。
excludePastJobTitlesarray排除曾担任其中任一职位的人员。
excludeSchoolsarray排除就读过其中任一学校的人员,填写学校名称。
excludeSeniorityLevelIdsarray排除这些职级(代码同 seniorityLevelIds)。
firstNamesarray筛选名字匹配其中任一项的人员。
functionIdsarray按职能筛选。代码:1=会计,2=行政,3=艺术与设计,4=业务拓展,5=社区与社会服务,6=咨询,7=教育,8=工程,9=创业,10=财务,11=医疗服务,12=人力资源,13=信息技术,14=法务,15=市场营销,16=媒体与传播,17=军事与安保服务,18=运营,19=产品管理,20=项目与计划管理,21=采购,22=质量保证,23=房地产,24=研究,25=销售,26=客户成功与支持。
jobTitlestring可选的当前职位名称筛选(例如 'Software Engineer')。
lastNamesarray筛选姓氏匹配其中任一项的人员。
limitinteger5最多返回的完整主页数(含邮箱,1-25,默认 10)。按返回的主页数扣费,所以上限越低,费用越少。
locationstring可选的地点筛选(例如 'San Francisco')。
pastCompaniesarray筛选曾在其中任一公司工作过的人员,填写公司名称。
pastJobTitlesarray按此人曾担任的职位筛选(例如 ['Product Manager'])。
profileLanguagesarray按主页的主要语言筛选。
recentlyChangedJobsboolean为 true 时,只返回最近换过工作的人员(强烈的销售/招聘信号)。
recentlyPostedOnLinkedInboolean为 true 时,只返回最近在 LinkedIn 上发过帖子的人员(活跃度信号)。
schoolsarray筛选就读过其中任一学校的人员,填写学校名称。
seniorityLevelIdsarray按职级筛选。代码:100=培训中,110=入门级,120=资深,130=战略级,200=初级经理,210=资深经理,220=总监,300=副总裁,310=CXO,320=所有者/合伙人。
yearsAtCurrentCompanyIdsarray按在当前公司的任职时长筛选。代码:1=不到 1 年,2=1 到 2 年,3=3 到 5 年,4=6 到 10 年,5=超过 10 年。
yearsOfExperienceIdsarray按总工作年限筛选。代码:1=不到 1 年,2=1 到 2 年,3=3 到 5 年,4=6 到 10 年,5=超过 10 年。
响应
dataobjectThe results wrapper, or null when nothing was found.
data.itemsobject[]Matched profile records, each with a discovered work email. Populated whenever the provider has data for the entity.
data.items[].aboutstringProfile about / summary text. Populated whenever the provider has data for the entity.
data.items[].citystringCity of the member.
data.items[].connectionsCountintegerNumber of connections on the profile.
data.items[].countrystringCountry of the member.
data.items[].countryCodestringTwo-letter country code of the member.
data.items[].coverImagestringProfile cover (banner) image URL. The query string is a signed token, so keep the URL intact.
data.items[].creatorbooleanWhether the member is in LinkedIn creator mode.
data.items[].currentPositionobject[]Current role(s). Each entry is an open object with the position title, company, dates, and location; shape can vary by profile.
data.items[].educationobject[]Education history. Each entry is an open object with school, degree, and field of study; shape can vary by profile.
data.items[].emailsobject[]Discovered work email(s) for the member. Each entry is an open object with the email address plus deliverability signals (deliverable, disposable, catchAllDomain, validEmailServer, qualityScore, status); may be empty when no email could be verified. Populated whenever the provider has data for the entity.
data.items[].experienceobject[]Full work history. Each entry is an open object with the position title, company, dates, and location; shape can vary by profile. Populated whenever the provider has data for the entity.
data.items[].firstNamestringMember's first name. Populated whenever the provider has data for the entity.
data.items[].followerCountintegerNumber of followers of the profile; null when the source does not report it.
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[].hiringbooleanWhether the member shows the Hiring badge.
data.items[].idstringLinkedIn member URN id for the profile.
data.items[].imagestringProfile picture URL. Populated whenever the provider has data for the entity.
data.items[].influencerbooleanWhether LinkedIn marks the member as an influencer.
data.items[].lastNamestringMember's last name. Populated whenever the provider has data for the entity.
data.items[].locationstringMember's location as a single string (city, region, country). Populated whenever the provider has data for the entity.
data.items[].openToWorkbooleanWhether the member has the Open to Work flag set.
data.items[].premiumbooleanWhether the member has a LinkedIn Premium subscription.
data.items[].skillsany[]Listed skills, as free-form strings when present.
data.items[].statestringState or region of the member.
data.items[].urlstringCanonical LinkedIn profile URL. Populated whenever the provider has data for the entity.
data.items[].verifiedbooleanWhether LinkedIn has verified the member's identity.
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.336
价格(/千条结果)USDUS$12.92

常见问题

关于 LinkedIn 搜索主页(含邮箱) API

AnyAPI 的 LinkedIn 搜索主页(含邮箱) API 只需一次 POST 请求 /v1/run/linkedin.search_profiles_email,就以统一格式的 JSON 返回 LinkedIn 数据。人员搜索,每个结果同时返回完整主页和经过验证的工作邮箱。按关键词搜索 LinkedIn 主页,可选按地点和职位名称筛选;每个匹配结果都返回完整的主页记录(姓名、头衔、地点、当前职位、工作经历、教育经历和技能,以及主页 URL、用户名和 id),并附带一个 emails 数组,包含找到的工作邮箱及其可送达性。邮箱查找尽力而为,并且需要主页提供可解析的公司域名,因此在宽泛搜索中,许多匹配结果返回空的 emails 数组,但仍按邮箱费率扣费。如果你已经有姓名和公司域名,email.find、email_finding.icypeas 和 email_finding.dropleads 能以更低价格直接查找邮箱,linkedin.email 可为单个已知主页 URL 补全邮箱。如需不含邮箱的完整主页,请用 linkedin.search_profiles;如需只返回姓名/头衔/URL 的更便宜搜索,请用 linkedin.search_profiles_thin。无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千条结果 US$12.92,单次请求最多 US$0.336,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 LinkedIn 搜索主页(含邮箱) API 调用中有 88.7% 成功,响应时间中位数为 13.1 秒,共测量 71 次调用。

费用:每千条结果 US$12.92,单次请求最多 US$0.336,以美元计价,无需订阅,也没有每月最低消费。你只需为一个美元钱包充值,每次调用从中扣费。部分由钱包付费的失败请求会产生处理费用,我们按成本原价转嫁,不加价;错误响应会显示收取的金额。

人员搜索,每个结果同时返回完整主页和经过验证的工作邮箱。按关键词搜索 LinkedIn 主页,可选按地点和职位名称筛选;每个匹配结果都返回完整的主页记录(姓名、头衔、地点、当前职位、工作经历、教育经历和技能,以及主页 URL、用户名和 id),并附带一个 emails 数组,包含找到的工作邮箱及其可送达性。邮箱查找尽力而为,并且需要主页提供可解析的公司域名,因此在宽泛搜索中,许多匹配结果返回空的 emails 数组,但仍按邮箱费率扣费。如果你已经有姓名和公司域名,email.find、email_finding.icypeas 和 email_finding.dropleads 能以更低价格直接查找邮箱,linkedin.email 可为单个已知主页 URL 补全邮箱。如需不含邮箱的完整主页,请用 linkedin.search_profiles;如需只返回姓名/头衔/URL 的更便宜搜索,请用 linkedin.search_profiles_thin。响应是统一格式的 JSON,外层结构与每个 AnyAPI 接口相同,所以解析另一个接口只需换一个 URL,别的都不用改。

过去 30 天,通过 AnyAPI 发起的 LinkedIn 搜索主页(含邮箱) API 调用中有 88.7% 成功,响应时间中位数为 13.1 秒,共测量 71 次调用。这些是 AnyAPI 对经过网关的流量的自有测量,持续重新计算,并非公开承诺的服务等级目标。