Search LinkedIn leads
harvestapi.linkedin.leads.searchSearch LinkedIn profile leads by filters with advanced inclusion and exclusion criteria
- 价格
- $0.1/call按供应商原价
- 成功率
- 100%近 30 天 · 19,755 次
- 延迟 p50
- 3.7 秒p95 15 秒
- 最后验证
- 2026年9月10日实测可用
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.leads.search?page=1¤tCompanies=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fgoogle预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
Use only the declared query parameters, once each, without a request body. Results are provider-native: inspect element/elements and body status/error; HTTP 200 alone does not prove a hit. Empty results can still be charged. Returns 25 rows per page in live tests; page is capped at 100. Private account/session and Sales Navigator URL overrides are outside this tool.
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
page | 整数 | 可选 | Page number for pagination (clamped at 100) | 1 |
geoIds | 字符串 | 可选 | Filter by LinkedIn Geo ID. Comma-separated. Overrides location param. Use /linkedin/geo-id-search to find IDs | |
search | 字符串 | 可选 | Search query. Fuzzy search, supports LinkedIn's search operators | |
schools | 字符串 | 可选 | Filter by school IDs or URLs. Comma-separated (max 50) | |
lastNames | 字符串 | 可选 | Filter by last names. Comma-separated (max 70) | |
locations | 字符串 | 可选 | Filter by location text. Comma-separated (max 70) | |
firstNames | 字符串 | 可选 | Filter by first names. Comma-separated (max 70) | |
functionIds | 字符串 | 可选 | Filter by job function IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#functionids | |
industryIds | 字符串 | 可选 | Filter by industry IDs. Comma-separated (max 70). Full list: https://github.com/HarvestAPI/linkedin-industry-codes-v2/blob/main/linkedin_industry_code_v2_all_eng_with_header.csv | |
excludeGeoIds | 字符串 | 可选 | Geo IDs to exclude from search. Comma-separated (max 70) | |
pastCompanies | 字符串 | 可选 | Filter by past company IDs or URLs. Comma-separated (max 50) | |
pastJobTitles | 字符串 | 可选 | Filter by past job titles. Comma-separated (max 70) | |
excludeSchools | 字符串 | 可选 | Schools to exclude. Comma-separated (max 50) | |
companyHeadcount | 字符串 | 可选 | Filter by company headcount. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#companyheadcount | |
currentCompanies | 字符串 | 可选 | Filter by current company IDs or URLs. Comma-separated (max 50) | https://www.linkedin.com/company/google |
currentJobTitles | 字符串 | 可选 | Filter by current job titles. Comma-separated (max 70) | |
excludeLocations | 字符串 | 可选 | Locations to exclude from search. Comma-separated (max 70) | |
postedOnLinkedin | 布尔 | 可选 | Filter leads who posted on LinkedIn in the last 30 days | |
profileLanguages | 字符串 | 可选 | Filter by profile languages. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#profilelanguages | |
seniorityLevelIds | 字符串 | 可选 | Filter by seniority level IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#senioritylevelids | |
excludeFunctionIds | 字符串 | 可选 | Function IDs to exclude. Comma-separated (max 30) | |
excludeIndustryIds | 字符串 | 可选 | Industry IDs to exclude. Comma-separated (max 70) | |
recentlyChangedJobs | 布尔 | 可选 | Filter leads who recently changed jobs in the last 90 days. | |
excludePastCompanies | 字符串 | 可选 | Past companies to exclude. Comma-separated (max 50) | |
excludePastJobTitles | 字符串 | 可选 | Past job titles to exclude. Comma-separated (max 70) | |
yearsOfExperienceIds | 字符串 | 可选 | Filter by years of experience IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsofexperienceids | |
excludeCurrentCompanies | 字符串 | 可选 | Current companies to exclude. Comma-separated (max 50) | |
excludeCurrentJobTitles | 字符串 | 可选 | Current job titles to exclude. Comma-separated (max 70) | |
excludeSeniorityLevelIds | 字符串 | 可选 | Seniority level IDs to exclude. Comma-separated (max 20) | |
yearsAtCurrentCompanyIds | 字符串 | 可选 | Filter by years at current company IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsatcurrentcompanyids | |
companyHeadquarterLocations | 字符串 | 可选 | Filter by company headquarter location text. Comma-separated (max 70) | |
excludeCompanyHeadquarterLocations | 字符串 | 可选 | Company headquarter locations to exclude from search. Comma-separated (max 70) | |
- 查询参数
page整数可选Page number for pagination (clamped at 100)
示例:
1geoIds字符串可选Filter by LinkedIn Geo ID. Comma-separated. Overrides location param. Use /linkedin/geo-id-search to find IDs
search字符串可选Search query. Fuzzy search, supports LinkedIn's search operators
schools字符串可选Filter by school IDs or URLs. Comma-separated (max 50)
lastNames字符串可选Filter by last names. Comma-separated (max 70)
locations字符串可选Filter by location text. Comma-separated (max 70)
firstNames字符串可选Filter by first names. Comma-separated (max 70)
functionIds字符串可选Filter by job function IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#functionids
industryIds字符串可选Filter by industry IDs. Comma-separated (max 70). Full list: https://github.com/HarvestAPI/linkedin-industry-codes-v2/blob/main/linkedin_industry_code_v2_all_eng_with_header.csv
excludeGeoIds字符串可选Geo IDs to exclude from search. Comma-separated (max 70)
pastCompanies字符串可选Filter by past company IDs or URLs. Comma-separated (max 50)
pastJobTitles字符串可选Filter by past job titles. Comma-separated (max 70)
excludeSchools字符串可选Schools to exclude. Comma-separated (max 50)
companyHeadcount字符串可选Filter by company headcount. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#companyheadcount
currentCompanies字符串可选Filter by current company IDs or URLs. Comma-separated (max 50)
示例:
https://www.linkedin.com/company/googlecurrentJobTitles字符串可选Filter by current job titles. Comma-separated (max 70)
excludeLocations字符串可选Locations to exclude from search. Comma-separated (max 70)
postedOnLinkedin布尔可选Filter leads who posted on LinkedIn in the last 30 days
profileLanguages字符串可选Filter by profile languages. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#profilelanguages
seniorityLevelIds字符串可选Filter by seniority level IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#senioritylevelids
excludeFunctionIds字符串可选Function IDs to exclude. Comma-separated (max 30)
excludeIndustryIds字符串可选Industry IDs to exclude. Comma-separated (max 70)
recentlyChangedJobs布尔可选Filter leads who recently changed jobs in the last 90 days.
excludePastCompanies字符串可选Past companies to exclude. Comma-separated (max 50)
excludePastJobTitles字符串可选Past job titles to exclude. Comma-separated (max 70)
yearsOfExperienceIds字符串可选Filter by years of experience IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsofexperienceids
excludeCurrentCompanies字符串可选Current companies to exclude. Comma-separated (max 50)
excludeCurrentJobTitles字符串可选Current job titles to exclude. Comma-separated (max 70)
excludeSeniorityLevelIds字符串可选Seniority level IDs to exclude. Comma-separated (max 20)
yearsAtCurrentCompanyIds字符串可选Filter by years at current company IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsatcurrentcompanyids
companyHeadquarterLocations字符串可选Filter by company headquarter location text. Comma-separated (max 70)
excludeCompanyHeadquarterLocations字符串可选Company headquarter locations to exclude from search. Comma-separated (max 70)
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X GET 'https://toolswitch.dev/v1/tools/harvestapi.linkedin.leads.search?page=1¤tCompanies=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fgoogle' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/harvestapi.linkedin.leads.search?page=1¤tCompanies=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fgoogle",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/harvestapi.linkedin.leads.search?page=1¤tCompanies=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fgoogle", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.1/call 计费,已含服务费。