Search LinkedIn leads
harvestapi.linkedin.leads.searchSearch LinkedIn profile leads by filters with advanced inclusion and exclusion criteria
- Price
- $0.1/callAu prix du fournisseur
- 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
Paramètres
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.
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
page | entier | Facultatif | Page number for pagination (clamped at 100) | 1 |
geoIds | chaîne | Facultatif | Filter by LinkedIn Geo ID. Comma-separated. Overrides location param. Use /linkedin/geo-id-search to find IDs | |
search | chaîne | Facultatif | Search query. Fuzzy search, supports LinkedIn's search operators | |
schools | chaîne | Facultatif | Filter by school IDs or URLs. Comma-separated (max 50) | |
lastNames | chaîne | Facultatif | Filter by last names. Comma-separated (max 70) | |
locations | chaîne | Facultatif | Filter by location text. Comma-separated (max 70) | |
firstNames | chaîne | Facultatif | Filter by first names. Comma-separated (max 70) | |
functionIds | chaîne | Facultatif | Filter by job function IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#functionids | |
industryIds | chaîne | Facultatif | 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 | chaîne | Facultatif | Geo IDs to exclude from search. Comma-separated (max 70) | |
pastCompanies | chaîne | Facultatif | Filter by past company IDs or URLs. Comma-separated (max 50) | |
pastJobTitles | chaîne | Facultatif | Filter by past job titles. Comma-separated (max 70) | |
excludeSchools | chaîne | Facultatif | Schools to exclude. Comma-separated (max 50) | |
companyHeadcount | chaîne | Facultatif | Filter by company headcount. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#companyheadcount | |
currentCompanies | chaîne | Facultatif | Filter by current company IDs or URLs. Comma-separated (max 50) | https://www.linkedin.com/company/google |
currentJobTitles | chaîne | Facultatif | Filter by current job titles. Comma-separated (max 70) | |
excludeLocations | chaîne | Facultatif | Locations to exclude from search. Comma-separated (max 70) | |
postedOnLinkedin | booléen | Facultatif | Filter leads who posted on LinkedIn in the last 30 days | |
profileLanguages | chaîne | Facultatif | Filter by profile languages. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#profilelanguages | |
seniorityLevelIds | chaîne | Facultatif | Filter by seniority level IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#senioritylevelids | |
excludeFunctionIds | chaîne | Facultatif | Function IDs to exclude. Comma-separated (max 30) | |
excludeIndustryIds | chaîne | Facultatif | Industry IDs to exclude. Comma-separated (max 70) | |
recentlyChangedJobs | booléen | Facultatif | Filter leads who recently changed jobs in the last 90 days. | |
excludePastCompanies | chaîne | Facultatif | Past companies to exclude. Comma-separated (max 50) | |
excludePastJobTitles | chaîne | Facultatif | Past job titles to exclude. Comma-separated (max 70) | |
yearsOfExperienceIds | chaîne | Facultatif | Filter by years of experience IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsofexperienceids | |
excludeCurrentCompanies | chaîne | Facultatif | Current companies to exclude. Comma-separated (max 50) | |
excludeCurrentJobTitles | chaîne | Facultatif | Current job titles to exclude. Comma-separated (max 70) | |
excludeSeniorityLevelIds | chaîne | Facultatif | Seniority level IDs to exclude. Comma-separated (max 20) | |
yearsAtCurrentCompanyIds | chaîne | Facultatif | Filter by years at current company IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsatcurrentcompanyids | |
companyHeadquarterLocations | chaîne | Facultatif | Filter by company headquarter location text. Comma-separated (max 70) | |
excludeCompanyHeadquarterLocations | chaîne | Facultatif | Company headquarter locations to exclude from search. Comma-separated (max 70) | |
- Paramètres de requête
pageentierFacultatifPage number for pagination (clamped at 100)
Exemple :
1geoIdschaîneFacultatifFilter by LinkedIn Geo ID. Comma-separated. Overrides location param. Use /linkedin/geo-id-search to find IDs
searchchaîneFacultatifSearch query. Fuzzy search, supports LinkedIn's search operators
schoolschaîneFacultatifFilter by school IDs or URLs. Comma-separated (max 50)
lastNameschaîneFacultatifFilter by last names. Comma-separated (max 70)
locationschaîneFacultatifFilter by location text. Comma-separated (max 70)
firstNameschaîneFacultatifFilter by first names. Comma-separated (max 70)
functionIdschaîneFacultatifFilter by job function IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#functionids
industryIdschaîneFacultatifFilter 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
excludeGeoIdschaîneFacultatifGeo IDs to exclude from search. Comma-separated (max 70)
pastCompanieschaîneFacultatifFilter by past company IDs or URLs. Comma-separated (max 50)
pastJobTitleschaîneFacultatifFilter by past job titles. Comma-separated (max 70)
excludeSchoolschaîneFacultatifSchools to exclude. Comma-separated (max 50)
companyHeadcountchaîneFacultatifFilter by company headcount. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#companyheadcount
currentCompanieschaîneFacultatifFilter by current company IDs or URLs. Comma-separated (max 50)
Exemple :
https://www.linkedin.com/company/googlecurrentJobTitleschaîneFacultatifFilter by current job titles. Comma-separated (max 70)
excludeLocationschaîneFacultatifLocations to exclude from search. Comma-separated (max 70)
postedOnLinkedinbooléenFacultatifFilter leads who posted on LinkedIn in the last 30 days
profileLanguageschaîneFacultatifFilter by profile languages. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#profilelanguages
seniorityLevelIdschaîneFacultatifFilter by seniority level IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#senioritylevelids
excludeFunctionIdschaîneFacultatifFunction IDs to exclude. Comma-separated (max 30)
excludeIndustryIdschaîneFacultatifIndustry IDs to exclude. Comma-separated (max 70)
recentlyChangedJobsbooléenFacultatifFilter leads who recently changed jobs in the last 90 days.
excludePastCompanieschaîneFacultatifPast companies to exclude. Comma-separated (max 50)
excludePastJobTitleschaîneFacultatifPast job titles to exclude. Comma-separated (max 70)
yearsOfExperienceIdschaîneFacultatifFilter by years of experience IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsofexperienceids
excludeCurrentCompanieschaîneFacultatifCurrent companies to exclude. Comma-separated (max 50)
excludeCurrentJobTitleschaîneFacultatifCurrent job titles to exclude. Comma-separated (max 70)
excludeSeniorityLevelIdschaîneFacultatifSeniority level IDs to exclude. Comma-separated (max 20)
yearsAtCurrentCompanyIdschaîneFacultatifFilter by years at current company IDs. Comma-separated. https://github.com/HarvestAPI/harvestapi-sdk/blob/main/packages/scraper/README.md#yearsatcurrentcompanyids
companyHeadquarterLocationschaîneFacultatifFilter by company headquarter location text. Comma-separated (max 70)
excludeCompanyHeadquarterLocationschaîneFacultatifCompany headquarter locations to exclude from search. Comma-separated (max 70)
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la 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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.1/call, frais de service inclus.