curl --request POST \
--url 'https://live-fetch.p.rapidapi.com/search-employees' \
--header 'x-rapidapi-host: live-fetch.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'Content-Type: application/json' \
--data '{"current_company_ids": [162479, 1053], "title_keywords": ["Director", "Operation"], "functions": ["Accounting", "Administrative"], "geo_codes": [103644278, 102299470], "geo_codes_exclude": [105080838, 102257491], "title_keywords_exclude": ["Sales"], "past_company_ids": [1009], "keywords": "system", "limit": 25}'
import requests
url = "https://live-fetch.p.rapidapi.com/search-employees"
payload = {
"current_company_ids": [162479, 1053],
"title_keywords": ["Director", "Operation"],
"functions": ["Accounting", "Administrative"],
"geo_codes": [103644278, 102299470],
"geo_codes_exclude": [105080838, 102257491],
"title_keywords_exclude": ["Sales"],
"past_company_ids": [1009],
"keywords": "system",
"limit": 25
}
headers = {
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY",
"x-rapidapi-host": "live-fetch.p.rapidapi.com",
"Content-Type": "application/json"
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
const url = 'https://live-fetch.p.rapidapi.com/search-employees';
const options = {
method: 'POST',
headers: {
'x-rapidapi-key': 'YOUR_RAPIDAPI_KEY',
'x-rapidapi-host': 'live-fetch.p.rapidapi.com',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"current_company_ids": [162479, 1053],
"title_keywords": ["Director", "Operation"],
"functions": ["Accounting", "Administrative"],
"geo_codes": [103644278, 102299470],
"geo_codes_exclude": [105080838, 102257491],
"title_keywords_exclude": ["Sales"],
"past_company_ids": [1009],
"keywords": "system",
"limit": 25
})
};
try {
const response = await fetch(url, options);
const result = await response.json();
console.log(result);
} catch (error) {
console.error(error);
}
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://live-fetch.p.rapidapi.com/search-employees",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => '{"current_company_ids": [162479, 1053], "title_keywords": ["Director", "Operation"], "functions": ["Accounting", "Administrative"], "geo_codes": [103644278, 102299470], "geo_codes_exclude": [105080838, 102257491], "title_keywords_exclude": ["Sales"], "past_company_ids": [1009], "keywords": "system", "limit": 25}',
CURLOPT_HTTPHEADER => [
"x-rapidapi-host: live-fetch.p.rapidapi.com",
"x-rapidapi-key: YOUR_RAPIDAPI_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
payload := strings.NewReader(`{"current_company_ids": [162479, 1053], "title_keywords": ["Director", "Operation"], "functions": ["Accounting", "Administrative"], "geo_codes": [103644278, 102299470], "geo_codes_exclude": [105080838, 102257491], "title_keywords_exclude": ["Sales"], "past_company_ids": [1009], "keywords": "system", "limit": 25}`)
req, _ := http.NewRequest("POST", "https://live-fetch.p.rapidapi.com/search-employees", payload)
req.Header.Add("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
req.Header.Add("x-rapidapi-host", "live-fetch.p.rapidapi.com")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://live-fetch.p.rapidapi.com/search-employees"))
.header("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
.header("x-rapidapi-host", "live-fetch.p.rapidapi.com")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("{\"current_company_ids\": [162479, 1053], \"title_keywords\": [\"Director\", \"Operation\"], \"functions\": [\"Accounting\", \"Administrative\"], \"geo_codes\": [103644278, 102299470], \"geo_codes_exclude\": [105080838, 102257491], \"title_keywords_exclude\": [\"Sales\"], \"past_company_ids\": [1009], \"keywords\": \"system\", \"limit\": 25}"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"message": "Use this request_id to check your search with 'Check Search Status' endpoint",
"request_id": "0bb8360c779317e5f6fc1722a8bd26a1"
}{
"data": null,
"message": "Bad request: Invalid payload."
}{
"data": null,
"message": "System error. You will not be charged for this request. We will fix it soon!"
}Search Leads
-
Find and scrape lead details with advanced filters. Accepts either filters or a Sales Navigator search URL.
-
10 credits per search request.
curl --request POST \
--url 'https://live-fetch.p.rapidapi.com/search-employees' \
--header 'x-rapidapi-host: live-fetch.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'Content-Type: application/json' \
--data '{"current_company_ids": [162479, 1053], "title_keywords": ["Director", "Operation"], "functions": ["Accounting", "Administrative"], "geo_codes": [103644278, 102299470], "geo_codes_exclude": [105080838, 102257491], "title_keywords_exclude": ["Sales"], "past_company_ids": [1009], "keywords": "system", "limit": 25}'
import requests
url = "https://live-fetch.p.rapidapi.com/search-employees"
payload = {
"current_company_ids": [162479, 1053],
"title_keywords": ["Director", "Operation"],
"functions": ["Accounting", "Administrative"],
"geo_codes": [103644278, 102299470],
"geo_codes_exclude": [105080838, 102257491],
"title_keywords_exclude": ["Sales"],
"past_company_ids": [1009],
"keywords": "system",
"limit": 25
}
headers = {
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY",
"x-rapidapi-host": "live-fetch.p.rapidapi.com",
"Content-Type": "application/json"
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
const url = 'https://live-fetch.p.rapidapi.com/search-employees';
const options = {
method: 'POST',
headers: {
'x-rapidapi-key': 'YOUR_RAPIDAPI_KEY',
'x-rapidapi-host': 'live-fetch.p.rapidapi.com',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"current_company_ids": [162479, 1053],
"title_keywords": ["Director", "Operation"],
"functions": ["Accounting", "Administrative"],
"geo_codes": [103644278, 102299470],
"geo_codes_exclude": [105080838, 102257491],
"title_keywords_exclude": ["Sales"],
"past_company_ids": [1009],
"keywords": "system",
"limit": 25
})
};
try {
const response = await fetch(url, options);
const result = await response.json();
console.log(result);
} catch (error) {
console.error(error);
}
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://live-fetch.p.rapidapi.com/search-employees",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => '{"current_company_ids": [162479, 1053], "title_keywords": ["Director", "Operation"], "functions": ["Accounting", "Administrative"], "geo_codes": [103644278, 102299470], "geo_codes_exclude": [105080838, 102257491], "title_keywords_exclude": ["Sales"], "past_company_ids": [1009], "keywords": "system", "limit": 25}',
CURLOPT_HTTPHEADER => [
"x-rapidapi-host: live-fetch.p.rapidapi.com",
"x-rapidapi-key: YOUR_RAPIDAPI_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
payload := strings.NewReader(`{"current_company_ids": [162479, 1053], "title_keywords": ["Director", "Operation"], "functions": ["Accounting", "Administrative"], "geo_codes": [103644278, 102299470], "geo_codes_exclude": [105080838, 102257491], "title_keywords_exclude": ["Sales"], "past_company_ids": [1009], "keywords": "system", "limit": 25}`)
req, _ := http.NewRequest("POST", "https://live-fetch.p.rapidapi.com/search-employees", payload)
req.Header.Add("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
req.Header.Add("x-rapidapi-host", "live-fetch.p.rapidapi.com")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://live-fetch.p.rapidapi.com/search-employees"))
.header("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
.header("x-rapidapi-host", "live-fetch.p.rapidapi.com")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("{\"current_company_ids\": [162479, 1053], \"title_keywords\": [\"Director\", \"Operation\"], \"functions\": [\"Accounting\", \"Administrative\"], \"geo_codes\": [103644278, 102299470], \"geo_codes_exclude\": [105080838, 102257491], \"title_keywords_exclude\": [\"Sales\"], \"past_company_ids\": [1009], \"keywords\": \"system\", \"limit\": 25}"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"message": "Use this request_id to check your search with 'Check Search Status' endpoint",
"request_id": "0bb8360c779317e5f6fc1722a8bd26a1"
}{
"data": null,
"message": "Bad request: Invalid payload."
}{
"data": null,
"message": "System error. You will not be charged for this request. We will fix it soon!"
}Streamline your Sales Navigator lead searches effortlessly without connecting your own account or cookies.
🛠 How the Process Works
Step 1️⃣: Initiate Search
- Launch your search with specific criteria via this endpoint.
- This endpoint returns a
request_id, allowing you to track progress through the Check Search Status endpoint. - This step costs minimum 10 credits, even if the search returns 0 results (Excluding cases where the filters you provided are invalid).
Step 2️⃣: Monitor Search Progress
- Use the Check Search Status endpoint to track your search.
- This action is free of charge.
Step 3️⃣: Retrieve Results
- Once the search is complete, access the results via the Get Search Results endpoint.
- Retrieving each result incurs 1 credits. For example, fetching 1000 results will consume 1000 credits (not include 10 credits at step 1).
curl --request POST \
--url 'https://live-fetch.p.rapidapi.com/search-employees' \
--header 'x-rapidapi-host: live-fetch.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'Content-Type: application/json' \
--data '{"current_company_ids": [162479, 1053], "title_keywords": ["Director", "Operation"], "functions": ["Accounting", "Administrative"], "geo_codes": [103644278, 102299470], "geo_codes_exclude": [105080838, 102257491], "title_keywords_exclude": ["Sales"], "past_company_ids": [1009], "keywords": "system", "limit": 25}'
import requests
url = "https://live-fetch.p.rapidapi.com/search-employees"
payload = {
"current_company_ids": [162479, 1053],
"title_keywords": ["Director", "Operation"],
"functions": ["Accounting", "Administrative"],
"geo_codes": [103644278, 102299470],
"geo_codes_exclude": [105080838, 102257491],
"title_keywords_exclude": ["Sales"],
"past_company_ids": [1009],
"keywords": "system",
"limit": 25
}
headers = {
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY",
"x-rapidapi-host": "live-fetch.p.rapidapi.com",
"Content-Type": "application/json"
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
const url = 'https://live-fetch.p.rapidapi.com/search-employees';
const options = {
method: 'POST',
headers: {
'x-rapidapi-key': 'YOUR_RAPIDAPI_KEY',
'x-rapidapi-host': 'live-fetch.p.rapidapi.com',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"current_company_ids": [162479, 1053],
"title_keywords": ["Director", "Operation"],
"functions": ["Accounting", "Administrative"],
"geo_codes": [103644278, 102299470],
"geo_codes_exclude": [105080838, 102257491],
"title_keywords_exclude": ["Sales"],
"past_company_ids": [1009],
"keywords": "system",
"limit": 25
})
};
try {
const response = await fetch(url, options);
const result = await response.json();
console.log(result);
} catch (error) {
console.error(error);
}
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://live-fetch.p.rapidapi.com/search-employees",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => '{"current_company_ids": [162479, 1053], "title_keywords": ["Director", "Operation"], "functions": ["Accounting", "Administrative"], "geo_codes": [103644278, 102299470], "geo_codes_exclude": [105080838, 102257491], "title_keywords_exclude": ["Sales"], "past_company_ids": [1009], "keywords": "system", "limit": 25}',
CURLOPT_HTTPHEADER => [
"x-rapidapi-host: live-fetch.p.rapidapi.com",
"x-rapidapi-key: YOUR_RAPIDAPI_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
payload := strings.NewReader(`{"current_company_ids": [162479, 1053], "title_keywords": ["Director", "Operation"], "functions": ["Accounting", "Administrative"], "geo_codes": [103644278, 102299470], "geo_codes_exclude": [105080838, 102257491], "title_keywords_exclude": ["Sales"], "past_company_ids": [1009], "keywords": "system", "limit": 25}`)
req, _ := http.NewRequest("POST", "https://live-fetch.p.rapidapi.com/search-employees", payload)
req.Header.Add("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
req.Header.Add("x-rapidapi-host", "live-fetch.p.rapidapi.com")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://live-fetch.p.rapidapi.com/search-employees"))
.header("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
.header("x-rapidapi-host", "live-fetch.p.rapidapi.com")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("{\"current_company_ids\": [162479, 1053], \"title_keywords\": [\"Director\", \"Operation\"], \"functions\": [\"Accounting\", \"Administrative\"], \"geo_codes\": [103644278, 102299470], \"geo_codes_exclude\": [105080838, 102257491], \"title_keywords_exclude\": [\"Sales\"], \"past_company_ids\": [1009], \"keywords\": \"system\", \"limit\": 25}"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
Body
This is the highest-priority filter, used when you already have Sales Navigator search URLs. When you use this filter, all other filters will be ignored except for the limit filter.
"https://www.linkedin.com/sales/search/people?query=(recentSearchParam%3A(doLogHistory%3Atrue)%2Cfilters%3AList((type%3ACURRENT_COMPANY%2Cvalues%3AList((id%3Aurn%253Ali%253Aorganization%253A18890478%2Ctext%3AFTMO%2CselectionType%3AINCLUDED%2Cparent%3A(id%3A0))))))&sessionId=P1DbKqCXT7CvuwbJNjT8dw%3D%3D&viewAllFilters=true"
To filter by current company. Learn how to find a company_id. Maximum: 10 elements.
[162479, 1053]
Accounting, Administrative, Arts and Design, Business Development, Community and Social Services, Consulting, Education, Engineering, Entrepreneurship, Finance, Healthcare Services, Human Resources, Information Technology, Legal, Marketing, Media and Communication, Military and Protective Services, Operations, Product Management, Program and Project Management, Purchasing, Quality Assurance, Real Estate, Research, Sales, Customer Success and Support ["Accounting", "Administrative"]
To filter by location. Learn how to find a geo_code. Maximum: 20 elements.
[103644278, 102299470]
To exclude some locations. Learn how to find a geo_code/location_id. Maximum: 20 elements.
[]
Accounting, Administrative, Arts and Design, Business Development, Community and Social Services, Consulting, Education, Engineering, Entrepreneurship, Finance, Healthcare Services, Human Resources, Information Technology, Legal, Marketing, Media and Communication, Military and Protective Services, Operations, Product Management, Program and Project Management, Purchasing, Quality Assurance, Real Estate, Research, Sales, Customer Success and Support []
To exclude some locations. Learn how to find a geo_code. Maximum: 20 elements.
[105080838, 102257491]
