Search LinkedIn leads
harvestapi.linkedin.leads.searchSearch LinkedIn profile leads by filters with advanced inclusion and exclusion criteria
- Price
- $0.1/callPelo preço do provedor
- Success rate
- 100%Last 30 days · 19.755 calls
- Latency p50
- 3.7 sp95 15 s
- Last verified
- 10 de set. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.leads.search?page=1¤tCompanies=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2FgooglePreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
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.
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
page | inteiro | Opcional | Page number for pagination (clamped at 100) | 1 |
geoIds | string | Opcional | Filter by LinkedIn Geo ID. Comma-separated. Overrides location param. Use /linkedin/geo-id-search to find IDs | |
search | string | Opcional | Search query. Fuzzy search, supports LinkedIn's search operators | |
schools | string | Opcional | Filter by school IDs or URLs. Comma-separated (max 50) | |
lastNames | string | Opcional | Filter by last names. Comma-separated (max 70) | |
locations | string | Opcional | Filter by location text. Comma-separated (max 70) | |
firstNames | string | Opcional | Filter by first names. Comma-separated (max 70) | |
functionIds | string | Opcional | Filter by job function IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#functionids | |
industryIds | string | Opcional | 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 | string | Opcional | Geo IDs to exclude from search. Comma-separated (max 70) | |
pastCompanies | string | Opcional | Filter by past company IDs or URLs. Comma-separated (max 50) | |
pastJobTitles | string | Opcional | Filter by past job titles. Comma-separated (max 70) | |
excludeSchools | string | Opcional | Schools to exclude. Comma-separated (max 50) | |
companyHeadcount | string | Opcional | Filter by company headcount. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#companyheadcount | |
currentCompanies | string | Opcional | Filter by current company IDs or URLs. Comma-separated (max 50) | https://www.linkedin.com/company/google |
currentJobTitles | string | Opcional | Filter by current job titles. Comma-separated (max 70) | |
excludeLocations | string | Opcional | Locations to exclude from search. Comma-separated (max 70) | |
postedOnLinkedin | booleano | Opcional | Filter leads who posted on LinkedIn in the last 30 days | |
profileLanguages | string | Opcional | Filter by profile languages. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#profilelanguages | |
seniorityLevelIds | string | Opcional | Filter by seniority level IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#senioritylevelids | |
excludeFunctionIds | string | Opcional | Function IDs to exclude. Comma-separated (max 30) | |
excludeIndustryIds | string | Opcional | Industry IDs to exclude. Comma-separated (max 70) | |
recentlyChangedJobs | booleano | Opcional | Filter leads who recently changed jobs in the last 90 days. | |
excludePastCompanies | string | Opcional | Past companies to exclude. Comma-separated (max 50) | |
excludePastJobTitles | string | Opcional | Past job titles to exclude. Comma-separated (max 70) | |
yearsOfExperienceIds | string | Opcional | Filter by years of experience IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsofexperienceids | |
excludeCurrentCompanies | string | Opcional | Current companies to exclude. Comma-separated (max 50) | |
excludeCurrentJobTitles | string | Opcional | Current job titles to exclude. Comma-separated (max 70) | |
excludeSeniorityLevelIds | string | Opcional | Seniority level IDs to exclude. Comma-separated (max 20) | |
yearsAtCurrentCompanyIds | string | Opcional | Filter by years at current company IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsatcurrentcompanyids | |
companyHeadquarterLocations | string | Opcional | Filter by company headquarter location text. Comma-separated (max 70) | |
excludeCompanyHeadquarterLocations | string | Opcional | Company headquarter locations to exclude from search. Comma-separated (max 70) | |
- Parâmetros de consulta
pageinteiroOpcionalPage number for pagination (clamped at 100)
Exemplo:
1geoIdsstringOpcionalFilter by LinkedIn Geo ID. Comma-separated. Overrides location param. Use /linkedin/geo-id-search to find IDs
searchstringOpcionalSearch query. Fuzzy search, supports LinkedIn's search operators
schoolsstringOpcionalFilter by school IDs or URLs. Comma-separated (max 50)
lastNamesstringOpcionalFilter by last names. Comma-separated (max 70)
locationsstringOpcionalFilter by location text. Comma-separated (max 70)
firstNamesstringOpcionalFilter by first names. Comma-separated (max 70)
functionIdsstringOpcionalFilter by job function IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#functionids
industryIdsstringOpcionalFilter 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
excludeGeoIdsstringOpcionalGeo IDs to exclude from search. Comma-separated (max 70)
pastCompaniesstringOpcionalFilter by past company IDs or URLs. Comma-separated (max 50)
pastJobTitlesstringOpcionalFilter by past job titles. Comma-separated (max 70)
excludeSchoolsstringOpcionalSchools to exclude. Comma-separated (max 50)
companyHeadcountstringOpcionalFilter by company headcount. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#companyheadcount
currentCompaniesstringOpcionalFilter by current company IDs or URLs. Comma-separated (max 50)
Exemplo:
https://www.linkedin.com/company/googlecurrentJobTitlesstringOpcionalFilter by current job titles. Comma-separated (max 70)
excludeLocationsstringOpcionalLocations to exclude from search. Comma-separated (max 70)
postedOnLinkedinbooleanoOpcionalFilter leads who posted on LinkedIn in the last 30 days
profileLanguagesstringOpcionalFilter by profile languages. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#profilelanguages
seniorityLevelIdsstringOpcionalFilter by seniority level IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#senioritylevelids
excludeFunctionIdsstringOpcionalFunction IDs to exclude. Comma-separated (max 30)
excludeIndustryIdsstringOpcionalIndustry IDs to exclude. Comma-separated (max 70)
recentlyChangedJobsbooleanoOpcionalFilter leads who recently changed jobs in the last 90 days.
excludePastCompaniesstringOpcionalPast companies to exclude. Comma-separated (max 50)
excludePastJobTitlesstringOpcionalPast job titles to exclude. Comma-separated (max 70)
yearsOfExperienceIdsstringOpcionalFilter by years of experience IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsofexperienceids
excludeCurrentCompaniesstringOpcionalCurrent companies to exclude. Comma-separated (max 50)
excludeCurrentJobTitlesstringOpcionalCurrent job titles to exclude. Comma-separated (max 70)
excludeSeniorityLevelIdsstringOpcionalSeniority level IDs to exclude. Comma-separated (max 20)
yearsAtCurrentCompanyIdsstringOpcionalFilter by years at current company IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsatcurrentcompanyids
companyHeadquarterLocationsstringOpcionalFilter by company headquarter location text. Comma-separated (max 70)
excludeCompanyHeadquarterLocationsstringOpcionalCompany headquarter locations to exclude from search. Comma-separated (max 70)
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.1/call, incluindo a taxa de serviço.