Search LinkedIn leads
harvestapi.linkedin.leads.searchSearch LinkedIn profile leads by filters with advanced inclusion and exclusion criteria
- Price
- $0.1/callAl precio del proveedor
- Success rate
- 100 %Last 30 days · 19.755 calls
- Latency p50
- 3.7 sp95 15 s
- Last verified
- 10 sept 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 | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
page | entero | Opcional | Page number for pagination (clamped at 100) | 1 |
geoIds | cadena | Opcional | Filter by LinkedIn Geo ID. Comma-separated. Overrides location param. Use /linkedin/geo-id-search to find IDs | |
search | cadena | Opcional | Search query. Fuzzy search, supports LinkedIn's search operators | |
schools | cadena | Opcional | Filter by school IDs or URLs. Comma-separated (max 50) | |
lastNames | cadena | Opcional | Filter by last names. Comma-separated (max 70) | |
locations | cadena | Opcional | Filter by location text. Comma-separated (max 70) | |
firstNames | cadena | Opcional | Filter by first names. Comma-separated (max 70) | |
functionIds | cadena | Opcional | Filter by job function IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#functionids | |
industryIds | cadena | 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 | cadena | Opcional | Geo IDs to exclude from search. Comma-separated (max 70) | |
pastCompanies | cadena | Opcional | Filter by past company IDs or URLs. Comma-separated (max 50) | |
pastJobTitles | cadena | Opcional | Filter by past job titles. Comma-separated (max 70) | |
excludeSchools | cadena | Opcional | Schools to exclude. Comma-separated (max 50) | |
companyHeadcount | cadena | Opcional | Filter by company headcount. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#companyheadcount | |
currentCompanies | cadena | Opcional | Filter by current company IDs or URLs. Comma-separated (max 50) | https://www.linkedin.com/company/google |
currentJobTitles | cadena | Opcional | Filter by current job titles. Comma-separated (max 70) | |
excludeLocations | cadena | 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 | cadena | Opcional | Filter by profile languages. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#profilelanguages | |
seniorityLevelIds | cadena | Opcional | Filter by seniority level IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#senioritylevelids | |
excludeFunctionIds | cadena | Opcional | Function IDs to exclude. Comma-separated (max 30) | |
excludeIndustryIds | cadena | Opcional | Industry IDs to exclude. Comma-separated (max 70) | |
recentlyChangedJobs | booleano | Opcional | Filter leads who recently changed jobs in the last 90 days. | |
excludePastCompanies | cadena | Opcional | Past companies to exclude. Comma-separated (max 50) | |
excludePastJobTitles | cadena | Opcional | Past job titles to exclude. Comma-separated (max 70) | |
yearsOfExperienceIds | cadena | Opcional | Filter by years of experience IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsofexperienceids | |
excludeCurrentCompanies | cadena | Opcional | Current companies to exclude. Comma-separated (max 50) | |
excludeCurrentJobTitles | cadena | Opcional | Current job titles to exclude. Comma-separated (max 70) | |
excludeSeniorityLevelIds | cadena | Opcional | Seniority level IDs to exclude. Comma-separated (max 20) | |
yearsAtCurrentCompanyIds | cadena | Opcional | Filter by years at current company IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsatcurrentcompanyids | |
companyHeadquarterLocations | cadena | Opcional | Filter by company headquarter location text. Comma-separated (max 70) | |
excludeCompanyHeadquarterLocations | cadena | Opcional | Company headquarter locations to exclude from search. Comma-separated (max 70) | |
- Parámetros de consulta
pageenteroOpcionalPage number for pagination (clamped at 100)
Ejemplo:
1geoIdscadenaOpcionalFilter by LinkedIn Geo ID. Comma-separated. Overrides location param. Use /linkedin/geo-id-search to find IDs
searchcadenaOpcionalSearch query. Fuzzy search, supports LinkedIn's search operators
schoolscadenaOpcionalFilter by school IDs or URLs. Comma-separated (max 50)
lastNamescadenaOpcionalFilter by last names. Comma-separated (max 70)
locationscadenaOpcionalFilter by location text. Comma-separated (max 70)
firstNamescadenaOpcionalFilter by first names. Comma-separated (max 70)
functionIdscadenaOpcionalFilter by job function IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#functionids
industryIdscadenaOpcionalFilter 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
excludeGeoIdscadenaOpcionalGeo IDs to exclude from search. Comma-separated (max 70)
pastCompaniescadenaOpcionalFilter by past company IDs or URLs. Comma-separated (max 50)
pastJobTitlescadenaOpcionalFilter by past job titles. Comma-separated (max 70)
excludeSchoolscadenaOpcionalSchools to exclude. Comma-separated (max 50)
companyHeadcountcadenaOpcionalFilter by company headcount. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#companyheadcount
currentCompaniescadenaOpcionalFilter by current company IDs or URLs. Comma-separated (max 50)
Ejemplo:
https://www.linkedin.com/company/googlecurrentJobTitlescadenaOpcionalFilter by current job titles. Comma-separated (max 70)
excludeLocationscadenaOpcionalLocations to exclude from search. Comma-separated (max 70)
postedOnLinkedinbooleanoOpcionalFilter leads who posted on LinkedIn in the last 30 days
profileLanguagescadenaOpcionalFilter by profile languages. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#profilelanguages
seniorityLevelIdscadenaOpcionalFilter by seniority level IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#senioritylevelids
excludeFunctionIdscadenaOpcionalFunction IDs to exclude. Comma-separated (max 30)
excludeIndustryIdscadenaOpcionalIndustry IDs to exclude. Comma-separated (max 70)
recentlyChangedJobsbooleanoOpcionalFilter leads who recently changed jobs in the last 90 days.
excludePastCompaniescadenaOpcionalPast companies to exclude. Comma-separated (max 50)
excludePastJobTitlescadenaOpcionalPast job titles to exclude. Comma-separated (max 70)
yearsOfExperienceIdscadenaOpcionalFilter by years of experience IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsofexperienceids
excludeCurrentCompaniescadenaOpcionalCurrent companies to exclude. Comma-separated (max 50)
excludeCurrentJobTitlescadenaOpcionalCurrent job titles to exclude. Comma-separated (max 70)
excludeSeniorityLevelIdscadenaOpcionalSeniority level IDs to exclude. Comma-separated (max 20)
yearsAtCurrentCompanyIdscadenaOpcionalFilter by years at current company IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsatcurrentcompanyids
companyHeadquarterLocationscadenaOpcionalFilter by company headquarter location text. Comma-separated (max 70)
excludeCompanyHeadquarterLocationscadenaOpcionalCompany headquarter locations to exclude from search. Comma-separated (max 70)
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.1/call, incluida la tarifa de servicio.