Scrape a LinkedIn Sales Navigator search
curl --request POST \
--url https://api.leadsforge.ai/public/v1/salesnav/jobs \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"salesnavUrl": "https://www.linkedin.com/sales/search/people?keywords=cto",
"enrichEmail": true,
"enrichFirstN": 50,
"enrichPhone": false,
"limit": 500,
"webhookURL": "https://example.com/webhooks/salesnav"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
salesnavUrl: 'https://www.linkedin.com/sales/search/people?keywords=cto',
enrichEmail: true,
enrichFirstN: 50,
enrichPhone: false,
limit: 500,
webhookURL: 'https://example.com/webhooks/salesnav'
})
};
fetch('https://api.leadsforge.ai/public/v1/salesnav/jobs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
salesnavUrl: 'https://www.linkedin.com/sales/search/people?keywords=cto',
enrichEmail: true,
enrichFirstN: 50,
enrichPhone: false,
limit: 500,
webhookURL: 'https://example.com/webhooks/salesnav'
})
};
fetch('https://api.leadsforge.ai/public/v1/salesnav/jobs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.leadsforge.ai/public/v1/salesnav/jobs';
const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
salesnavUrl: 'https://www.linkedin.com/sales/search/people?keywords=cto',
enrichEmail: true,
enrichFirstN: 50,
enrichPhone: false,
limit: 500,
webhookURL: 'https://example.com/webhooks/salesnav'
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.leadsforge.ai/public/v1/salesnav/jobs"
payload = {
"salesnavUrl": "https://www.linkedin.com/sales/search/people?keywords=cto",
"enrichEmail": True,
"enrichFirstN": 50,
"enrichPhone": False,
"limit": 500,
"webhookURL": "https://example.com/webhooks/salesnav"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.leadsforge.ai/public/v1/salesnav/jobs"
payload := strings.NewReader("{\n \"salesnavUrl\": \"https://www.linkedin.com/sales/search/people?keywords=cto\",\n \"enrichEmail\": true,\n \"enrichFirstN\": 50,\n \"enrichPhone\": false,\n \"limit\": 500,\n \"webhookURL\": \"https://example.com/webhooks/salesnav\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
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))
}HttpResponse<String> response = Unirest.post("https://api.leadsforge.ai/public/v1/salesnav/jobs")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"salesnavUrl\": \"https://www.linkedin.com/sales/search/people?keywords=cto\",\n \"enrichEmail\": true,\n \"enrichFirstN\": 50,\n \"enrichPhone\": false,\n \"limit\": 500,\n \"webhookURL\": \"https://example.com/webhooks/salesnav\"\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.leadsforge.ai/public/v1/salesnav/jobs");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
request.AddJsonBody("{\n \"salesnavUrl\": \"https://www.linkedin.com/sales/search/people?keywords=cto\",\n \"enrichEmail\": true,\n \"enrichFirstN\": 50,\n \"enrichPhone\": false,\n \"limit\": 500,\n \"webhookURL\": \"https://example.com/webhooks/salesnav\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leadsforge.ai/public/v1/salesnav/jobs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'salesnavUrl' => 'https://www.linkedin.com/sales/search/people?keywords=cto',
'enrichEmail' => true,
'enrichFirstN' => 50,
'enrichPhone' => false,
'limit' => 500,
'webhookURL' => 'https://example.com/webhooks/salesnav'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-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;
}require 'uri'
require 'net/http'
url = URI("https://api.leadsforge.ai/public/v1/salesnav/jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"salesnavUrl\": \"https://www.linkedin.com/sales/search/people?keywords=cto\",\n \"enrichEmail\": true,\n \"enrichFirstN\": 50,\n \"enrichPhone\": false,\n \"limit\": 500,\n \"webhookURL\": \"https://example.com/webhooks/salesnav\"\n}"
response = http.request(request)
puts response.read_body{
"completedAt": "2026-10-06T12:05:00Z",
"contactsAdded": 1214,
"createdAt": "2026-10-06T12:00:00Z",
"creditsUsed": 2226,
"emailsFound": 312,
"enrichEmail": true,
"enrichFirstN": 50,
"enrichPhone": false,
"error": "<string>",
"jobID": "a1b2c3d4-0000-0000-0000-000000000000",
"limit": 500,
"listID": "list_abc123",
"phonesFound": 0,
"salesnavUrl": "https://www.linkedin.com/sales/search/people?keywords=cto",
"scraped": 487,
"skipped": 26,
"status": "pending",
"statusURL": "/public/v1/salesnav/jobs/a1b2c3d4",
"tags": [
"<string>"
],
"updatedAt": "2026-10-06T12:01:00Z",
"webhookURL": "https://example.com/webhooks/salesnav"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}salesnav
Scrape a LinkedIn Sales Navigator search
Starts an async Sales Navigator people-search scrape, 1 credit per scraped lead. limit is optional; without it a Sales Navigator search scrapes every match and a classic people search scrapes up to 2500. Set enrichFirstN with enrichEmail/enrichPhone to also enrich the first N scraped leads. Supports idempotency via Idempotency-Key header (a job with the same key for this account returns the existing job). Supports webhook notifications via webhookURL (POST JSON on completion/failure). Webhook payload: jobID (string), status (completed|failed), listID (string), scraped (int).
POST
/
salesnav
/
jobs
Scrape a LinkedIn Sales Navigator search
curl --request POST \
--url https://api.leadsforge.ai/public/v1/salesnav/jobs \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"salesnavUrl": "https://www.linkedin.com/sales/search/people?keywords=cto",
"enrichEmail": true,
"enrichFirstN": 50,
"enrichPhone": false,
"limit": 500,
"webhookURL": "https://example.com/webhooks/salesnav"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
salesnavUrl: 'https://www.linkedin.com/sales/search/people?keywords=cto',
enrichEmail: true,
enrichFirstN: 50,
enrichPhone: false,
limit: 500,
webhookURL: 'https://example.com/webhooks/salesnav'
})
};
fetch('https://api.leadsforge.ai/public/v1/salesnav/jobs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
salesnavUrl: 'https://www.linkedin.com/sales/search/people?keywords=cto',
enrichEmail: true,
enrichFirstN: 50,
enrichPhone: false,
limit: 500,
webhookURL: 'https://example.com/webhooks/salesnav'
})
};
fetch('https://api.leadsforge.ai/public/v1/salesnav/jobs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.leadsforge.ai/public/v1/salesnav/jobs';
const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
salesnavUrl: 'https://www.linkedin.com/sales/search/people?keywords=cto',
enrichEmail: true,
enrichFirstN: 50,
enrichPhone: false,
limit: 500,
webhookURL: 'https://example.com/webhooks/salesnav'
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.leadsforge.ai/public/v1/salesnav/jobs"
payload = {
"salesnavUrl": "https://www.linkedin.com/sales/search/people?keywords=cto",
"enrichEmail": True,
"enrichFirstN": 50,
"enrichPhone": False,
"limit": 500,
"webhookURL": "https://example.com/webhooks/salesnav"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.leadsforge.ai/public/v1/salesnav/jobs"
payload := strings.NewReader("{\n \"salesnavUrl\": \"https://www.linkedin.com/sales/search/people?keywords=cto\",\n \"enrichEmail\": true,\n \"enrichFirstN\": 50,\n \"enrichPhone\": false,\n \"limit\": 500,\n \"webhookURL\": \"https://example.com/webhooks/salesnav\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
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))
}HttpResponse<String> response = Unirest.post("https://api.leadsforge.ai/public/v1/salesnav/jobs")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"salesnavUrl\": \"https://www.linkedin.com/sales/search/people?keywords=cto\",\n \"enrichEmail\": true,\n \"enrichFirstN\": 50,\n \"enrichPhone\": false,\n \"limit\": 500,\n \"webhookURL\": \"https://example.com/webhooks/salesnav\"\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.leadsforge.ai/public/v1/salesnav/jobs");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
request.AddJsonBody("{\n \"salesnavUrl\": \"https://www.linkedin.com/sales/search/people?keywords=cto\",\n \"enrichEmail\": true,\n \"enrichFirstN\": 50,\n \"enrichPhone\": false,\n \"limit\": 500,\n \"webhookURL\": \"https://example.com/webhooks/salesnav\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leadsforge.ai/public/v1/salesnav/jobs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'salesnavUrl' => 'https://www.linkedin.com/sales/search/people?keywords=cto',
'enrichEmail' => true,
'enrichFirstN' => 50,
'enrichPhone' => false,
'limit' => 500,
'webhookURL' => 'https://example.com/webhooks/salesnav'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-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;
}require 'uri'
require 'net/http'
url = URI("https://api.leadsforge.ai/public/v1/salesnav/jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"salesnavUrl\": \"https://www.linkedin.com/sales/search/people?keywords=cto\",\n \"enrichEmail\": true,\n \"enrichFirstN\": 50,\n \"enrichPhone\": false,\n \"limit\": 500,\n \"webhookURL\": \"https://example.com/webhooks/salesnav\"\n}"
response = http.request(request)
puts response.read_body{
"completedAt": "2026-10-06T12:05:00Z",
"contactsAdded": 1214,
"createdAt": "2026-10-06T12:00:00Z",
"creditsUsed": 2226,
"emailsFound": 312,
"enrichEmail": true,
"enrichFirstN": 50,
"enrichPhone": false,
"error": "<string>",
"jobID": "a1b2c3d4-0000-0000-0000-000000000000",
"limit": 500,
"listID": "list_abc123",
"phonesFound": 0,
"salesnavUrl": "https://www.linkedin.com/sales/search/people?keywords=cto",
"scraped": 487,
"skipped": 26,
"status": "pending",
"statusURL": "/public/v1/salesnav/jobs/a1b2c3d4",
"tags": [
"<string>"
],
"updatedAt": "2026-10-06T12:01:00Z",
"webhookURL": "https://example.com/webhooks/salesnav"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}Authorizations
Headers
Body
application/json
Scrape request
Scrape request
Response
Job created
Was this page helpful?
