/linkedin/sn_search/users
curl --request POST \
--url https://api.anysite.io/api/linkedin/sn_search/users \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 1250,
"timeout": 300,
"keywords": "",
"first_names": [
"<string>"
],
"last_names": [
"<string>"
],
"current_titles": [
"<string>"
],
"location": [
{
"type": "<string>",
"value": "<string>"
}
],
"education": [
{
"type": "<string>",
"value": "<string>"
}
],
"languages": [],
"past_titles": [
"<string>"
],
"functions": [],
"levels": [],
"years_in_the_current_company": [],
"years_in_the_current_position": [],
"company_sizes": [],
"company_types": [],
"company_locations": [
{
"type": "<string>",
"value": "<string>"
}
],
"current_companies": [
{
"type": "<string>",
"value": "<string>"
}
],
"past_companies": [
{
"type": "<string>",
"value": "<string>"
}
],
"industry": [
{
"type": "<string>",
"value": "<string>"
}
],
"is_posted_on_linkedin": true,
"company_keyword": "",
"past_company_keyword": ""
}
'import requests
url = "https://api.anysite.io/api/linkedin/sn_search/users"
payload = {
"count": 1250,
"timeout": 300,
"keywords": "",
"first_names": ["<string>"],
"last_names": ["<string>"],
"current_titles": ["<string>"],
"location": [
{
"type": "<string>",
"value": "<string>"
}
],
"education": [
{
"type": "<string>",
"value": "<string>"
}
],
"languages": [],
"past_titles": ["<string>"],
"functions": [],
"levels": [],
"years_in_the_current_company": [],
"years_in_the_current_position": [],
"company_sizes": [],
"company_types": [],
"company_locations": [
{
"type": "<string>",
"value": "<string>"
}
],
"current_companies": [
{
"type": "<string>",
"value": "<string>"
}
],
"past_companies": [
{
"type": "<string>",
"value": "<string>"
}
],
"industry": [
{
"type": "<string>",
"value": "<string>"
}
],
"is_posted_on_linkedin": True,
"company_keyword": "",
"past_company_keyword": ""
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 1250,
timeout: 300,
keywords: '',
first_names: ['<string>'],
last_names: ['<string>'],
current_titles: ['<string>'],
location: [{type: '<string>', value: '<string>'}],
education: [{type: '<string>', value: '<string>'}],
languages: [],
past_titles: ['<string>'],
functions: [],
levels: [],
years_in_the_current_company: [],
years_in_the_current_position: [],
company_sizes: [],
company_types: [],
company_locations: [{type: '<string>', value: '<string>'}],
current_companies: [{type: '<string>', value: '<string>'}],
past_companies: [{type: '<string>', value: '<string>'}],
industry: [{type: '<string>', value: '<string>'}],
is_posted_on_linkedin: true,
company_keyword: '',
past_company_keyword: ''
})
};
fetch('https://api.anysite.io/api/linkedin/sn_search/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/linkedin/sn_search/users",
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([
'count' => 1250,
'timeout' => 300,
'keywords' => '',
'first_names' => [
'<string>'
],
'last_names' => [
'<string>'
],
'current_titles' => [
'<string>'
],
'location' => [
[
'type' => '<string>',
'value' => '<string>'
]
],
'education' => [
[
'type' => '<string>',
'value' => '<string>'
]
],
'languages' => [
],
'past_titles' => [
'<string>'
],
'functions' => [
],
'levels' => [
],
'years_in_the_current_company' => [
],
'years_in_the_current_position' => [
],
'company_sizes' => [
],
'company_types' => [
],
'company_locations' => [
[
'type' => '<string>',
'value' => '<string>'
]
],
'current_companies' => [
[
'type' => '<string>',
'value' => '<string>'
]
],
'past_companies' => [
[
'type' => '<string>',
'value' => '<string>'
]
],
'industry' => [
[
'type' => '<string>',
'value' => '<string>'
]
],
'is_posted_on_linkedin' => true,
'company_keyword' => '',
'past_company_keyword' => ''
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/linkedin/sn_search/users"
payload := strings.NewReader("{\n \"count\": 1250,\n \"timeout\": 300,\n \"keywords\": \"\",\n \"first_names\": [\n \"<string>\"\n ],\n \"last_names\": [\n \"<string>\"\n ],\n \"current_titles\": [\n \"<string>\"\n ],\n \"location\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"education\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"languages\": [],\n \"past_titles\": [\n \"<string>\"\n ],\n \"functions\": [],\n \"levels\": [],\n \"years_in_the_current_company\": [],\n \"years_in_the_current_position\": [],\n \"company_sizes\": [],\n \"company_types\": [],\n \"company_locations\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"current_companies\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"past_companies\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"industry\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"is_posted_on_linkedin\": true,\n \"company_keyword\": \"\",\n \"past_company_keyword\": \"\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<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.anysite.io/api/linkedin/sn_search/users")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 1250,\n \"timeout\": 300,\n \"keywords\": \"\",\n \"first_names\": [\n \"<string>\"\n ],\n \"last_names\": [\n \"<string>\"\n ],\n \"current_titles\": [\n \"<string>\"\n ],\n \"location\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"education\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"languages\": [],\n \"past_titles\": [\n \"<string>\"\n ],\n \"functions\": [],\n \"levels\": [],\n \"years_in_the_current_company\": [],\n \"years_in_the_current_position\": [],\n \"company_sizes\": [],\n \"company_types\": [],\n \"company_locations\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"current_companies\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"past_companies\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"industry\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"is_posted_on_linkedin\": true,\n \"company_keyword\": \"\",\n \"past_company_keyword\": \"\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/linkedin/sn_search/users")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 1250,\n \"timeout\": 300,\n \"keywords\": \"\",\n \"first_names\": [\n \"<string>\"\n ],\n \"last_names\": [\n \"<string>\"\n ],\n \"current_titles\": [\n \"<string>\"\n ],\n \"location\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"education\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"languages\": [],\n \"past_titles\": [\n \"<string>\"\n ],\n \"functions\": [],\n \"levels\": [],\n \"years_in_the_current_company\": [],\n \"years_in_the_current_position\": [],\n \"company_sizes\": [],\n \"company_types\": [],\n \"company_locations\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"current_companies\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"past_companies\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"industry\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"is_posted_on_linkedin\": true,\n \"company_keyword\": \"\",\n \"past_company_keyword\": \"\"\n}"
response = http.request(request)
puts response.read_body[
{
"internal_id": {
"value": "<string>"
},
"urn": {
"value": "<string>"
},
"name": "<string>",
"url": "<string>",
"@type": "LinkedinSalesNavigatorSearchUsersUser",
"image": "<string>",
"headline": "<string>",
"location": "<string>",
"is_premium": false,
"current_companies": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}LinkedIn Social Search
/linkedin/sn_search/users
Linkedin Sales Navigator Search Users
Price: 150 credits per 100 results
POST
/
api
/
linkedin
/
sn_search
/
users
/linkedin/sn_search/users
curl --request POST \
--url https://api.anysite.io/api/linkedin/sn_search/users \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 1250,
"timeout": 300,
"keywords": "",
"first_names": [
"<string>"
],
"last_names": [
"<string>"
],
"current_titles": [
"<string>"
],
"location": [
{
"type": "<string>",
"value": "<string>"
}
],
"education": [
{
"type": "<string>",
"value": "<string>"
}
],
"languages": [],
"past_titles": [
"<string>"
],
"functions": [],
"levels": [],
"years_in_the_current_company": [],
"years_in_the_current_position": [],
"company_sizes": [],
"company_types": [],
"company_locations": [
{
"type": "<string>",
"value": "<string>"
}
],
"current_companies": [
{
"type": "<string>",
"value": "<string>"
}
],
"past_companies": [
{
"type": "<string>",
"value": "<string>"
}
],
"industry": [
{
"type": "<string>",
"value": "<string>"
}
],
"is_posted_on_linkedin": true,
"company_keyword": "",
"past_company_keyword": ""
}
'import requests
url = "https://api.anysite.io/api/linkedin/sn_search/users"
payload = {
"count": 1250,
"timeout": 300,
"keywords": "",
"first_names": ["<string>"],
"last_names": ["<string>"],
"current_titles": ["<string>"],
"location": [
{
"type": "<string>",
"value": "<string>"
}
],
"education": [
{
"type": "<string>",
"value": "<string>"
}
],
"languages": [],
"past_titles": ["<string>"],
"functions": [],
"levels": [],
"years_in_the_current_company": [],
"years_in_the_current_position": [],
"company_sizes": [],
"company_types": [],
"company_locations": [
{
"type": "<string>",
"value": "<string>"
}
],
"current_companies": [
{
"type": "<string>",
"value": "<string>"
}
],
"past_companies": [
{
"type": "<string>",
"value": "<string>"
}
],
"industry": [
{
"type": "<string>",
"value": "<string>"
}
],
"is_posted_on_linkedin": True,
"company_keyword": "",
"past_company_keyword": ""
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 1250,
timeout: 300,
keywords: '',
first_names: ['<string>'],
last_names: ['<string>'],
current_titles: ['<string>'],
location: [{type: '<string>', value: '<string>'}],
education: [{type: '<string>', value: '<string>'}],
languages: [],
past_titles: ['<string>'],
functions: [],
levels: [],
years_in_the_current_company: [],
years_in_the_current_position: [],
company_sizes: [],
company_types: [],
company_locations: [{type: '<string>', value: '<string>'}],
current_companies: [{type: '<string>', value: '<string>'}],
past_companies: [{type: '<string>', value: '<string>'}],
industry: [{type: '<string>', value: '<string>'}],
is_posted_on_linkedin: true,
company_keyword: '',
past_company_keyword: ''
})
};
fetch('https://api.anysite.io/api/linkedin/sn_search/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/linkedin/sn_search/users",
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([
'count' => 1250,
'timeout' => 300,
'keywords' => '',
'first_names' => [
'<string>'
],
'last_names' => [
'<string>'
],
'current_titles' => [
'<string>'
],
'location' => [
[
'type' => '<string>',
'value' => '<string>'
]
],
'education' => [
[
'type' => '<string>',
'value' => '<string>'
]
],
'languages' => [
],
'past_titles' => [
'<string>'
],
'functions' => [
],
'levels' => [
],
'years_in_the_current_company' => [
],
'years_in_the_current_position' => [
],
'company_sizes' => [
],
'company_types' => [
],
'company_locations' => [
[
'type' => '<string>',
'value' => '<string>'
]
],
'current_companies' => [
[
'type' => '<string>',
'value' => '<string>'
]
],
'past_companies' => [
[
'type' => '<string>',
'value' => '<string>'
]
],
'industry' => [
[
'type' => '<string>',
'value' => '<string>'
]
],
'is_posted_on_linkedin' => true,
'company_keyword' => '',
'past_company_keyword' => ''
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/linkedin/sn_search/users"
payload := strings.NewReader("{\n \"count\": 1250,\n \"timeout\": 300,\n \"keywords\": \"\",\n \"first_names\": [\n \"<string>\"\n ],\n \"last_names\": [\n \"<string>\"\n ],\n \"current_titles\": [\n \"<string>\"\n ],\n \"location\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"education\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"languages\": [],\n \"past_titles\": [\n \"<string>\"\n ],\n \"functions\": [],\n \"levels\": [],\n \"years_in_the_current_company\": [],\n \"years_in_the_current_position\": [],\n \"company_sizes\": [],\n \"company_types\": [],\n \"company_locations\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"current_companies\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"past_companies\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"industry\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"is_posted_on_linkedin\": true,\n \"company_keyword\": \"\",\n \"past_company_keyword\": \"\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<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.anysite.io/api/linkedin/sn_search/users")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 1250,\n \"timeout\": 300,\n \"keywords\": \"\",\n \"first_names\": [\n \"<string>\"\n ],\n \"last_names\": [\n \"<string>\"\n ],\n \"current_titles\": [\n \"<string>\"\n ],\n \"location\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"education\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"languages\": [],\n \"past_titles\": [\n \"<string>\"\n ],\n \"functions\": [],\n \"levels\": [],\n \"years_in_the_current_company\": [],\n \"years_in_the_current_position\": [],\n \"company_sizes\": [],\n \"company_types\": [],\n \"company_locations\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"current_companies\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"past_companies\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"industry\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"is_posted_on_linkedin\": true,\n \"company_keyword\": \"\",\n \"past_company_keyword\": \"\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/linkedin/sn_search/users")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 1250,\n \"timeout\": 300,\n \"keywords\": \"\",\n \"first_names\": [\n \"<string>\"\n ],\n \"last_names\": [\n \"<string>\"\n ],\n \"current_titles\": [\n \"<string>\"\n ],\n \"location\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"education\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"languages\": [],\n \"past_titles\": [\n \"<string>\"\n ],\n \"functions\": [],\n \"levels\": [],\n \"years_in_the_current_company\": [],\n \"years_in_the_current_position\": [],\n \"company_sizes\": [],\n \"company_types\": [],\n \"company_locations\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"current_companies\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"past_companies\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"industry\": [\n {\n \"type\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"is_posted_on_linkedin\": true,\n \"company_keyword\": \"\",\n \"past_company_keyword\": \"\"\n}"
response = http.request(request)
puts response.read_body[
{
"internal_id": {
"value": "<string>"
},
"urn": {
"value": "<string>"
},
"name": "<string>",
"url": "<string>",
"@type": "LinkedinSalesNavigatorSearchUsersUser",
"image": "<string>",
"headline": "<string>",
"location": "<string>",
"is_premium": false,
"current_companies": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Required range:
1 <= x <= 2500Required range:
20 <= x <= 1500Show child attributes
Show child attributes
Show child attributes
Show child attributes
Available options:
Arabic, English, Spanish, Portuguese, Chinese, French, Italian, Russian, German, Dutch, Turkish, Tagalog, Polish, Korean, Japanese, Malay, Norwegian, Danish, Romanian, Swedish, Bahasa Indonesia, Czech Available options:
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, Research, Real Estate, Sales, Customer Success and Support Available options:
Entry, Director, Owner, CXO, Vice President, Experienced Manager, Entry Manager, Strategic, Senior, Trainy Available options:
0-1, 1-2, 3-5, 6-10, 10+ Available options:
0-1, 1-2, 3-5, 6-10, 10+ Available options:
Self-employed, 1-10, 11-50, 51-200, 201-500, 501-1,000, 1,001-5,000, 5,001-10,000, 10,001+ Available options:
Public Company, Privately Held, Non Profit, Educational Institution, Partnership, Self Employed, Self Owned, Government Agency Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I