curl --request POST \
--url 'https://live-fetch.p.rapidapi.com/find-custom-headcount' \
--header 'x-rapidapi-host: live-fetch.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'Content-Type: application/json' \
--data '{"linkedin_url": "https://www.linkedin.com/company/amazon", "keywords": "", "where_they_live": [103644278, 102713980], "where_they_studied": [2584, 3084], "what_they_do": [18, 8], "what_they_are_skilled_at": [1346, 147], "what_they_studied": [100189], "include_subsidiaries": "false"}'
import requests
url = "https://live-fetch.p.rapidapi.com/find-custom-headcount"
payload = {
"linkedin_url": "https://www.linkedin.com/company/amazon",
"keywords": "",
"where_they_live": [103644278, 102713980],
"where_they_studied": [2584, 3084],
"what_they_do": [18, 8],
"what_they_are_skilled_at": [1346, 147],
"what_they_studied": [100189],
"include_subsidiaries": "false"
}
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/find-custom-headcount';
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({
"linkedin_url": "https://www.linkedin.com/company/amazon",
"keywords": "",
"where_they_live": [103644278, 102713980],
"where_they_studied": [2584, 3084],
"what_they_do": [18, 8],
"what_they_are_skilled_at": [1346, 147],
"what_they_studied": [100189],
"include_subsidiaries": "false"
})
};
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/find-custom-headcount",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => '{"linkedin_url": "https://www.linkedin.com/company/amazon", "keywords": "", "where_they_live": [103644278, 102713980], "where_they_studied": [2584, 3084], "what_they_do": [18, 8], "what_they_are_skilled_at": [1346, 147], "what_they_studied": [100189], "include_subsidiaries": "false"}',
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(`{"linkedin_url": "https://www.linkedin.com/company/amazon", "keywords": "", "where_they_live": [103644278, 102713980], "where_they_studied": [2584, 3084], "what_they_do": [18, 8], "what_they_are_skilled_at": [1346, 147], "what_they_studied": [100189], "include_subsidiaries": "false"}`)
req, _ := http.NewRequest("POST", "https://live-fetch.p.rapidapi.com/find-custom-headcount", 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/find-custom-headcount"))
.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("{\"linkedin_url\": \"https://www.linkedin.com/company/amazon\", \"keywords\": \"\", \"where_they_live\": [103644278, 102713980], \"where_they_studied\": [2584, 3084], \"what_they_do\": [18, 8], \"what_they_are_skilled_at\": [1346, 147], \"what_they_studied\": [100189], \"include_subsidiaries\": \"false\"}"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"message": "ok",
"data": {
"headcount": 2146
}
}{
"data": null,
"message": "Invalid linkedin_url"
}{
"data": null,
"message": "The url was not found on Linkedin."
}{
"data": null,
"message": "System error. You will not be charged for this request. We will fix it soon!"
}Other Endpoints
Find Custom Headcount
-
Discover the count of employees within a specific company who meet designated criteria.
-
1 credit per call.
POST
/
find-custom-headcount
curl --request POST \
--url 'https://live-fetch.p.rapidapi.com/find-custom-headcount' \
--header 'x-rapidapi-host: live-fetch.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'Content-Type: application/json' \
--data '{"linkedin_url": "https://www.linkedin.com/company/amazon", "keywords": "", "where_they_live": [103644278, 102713980], "where_they_studied": [2584, 3084], "what_they_do": [18, 8], "what_they_are_skilled_at": [1346, 147], "what_they_studied": [100189], "include_subsidiaries": "false"}'
import requests
url = "https://live-fetch.p.rapidapi.com/find-custom-headcount"
payload = {
"linkedin_url": "https://www.linkedin.com/company/amazon",
"keywords": "",
"where_they_live": [103644278, 102713980],
"where_they_studied": [2584, 3084],
"what_they_do": [18, 8],
"what_they_are_skilled_at": [1346, 147],
"what_they_studied": [100189],
"include_subsidiaries": "false"
}
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/find-custom-headcount';
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({
"linkedin_url": "https://www.linkedin.com/company/amazon",
"keywords": "",
"where_they_live": [103644278, 102713980],
"where_they_studied": [2584, 3084],
"what_they_do": [18, 8],
"what_they_are_skilled_at": [1346, 147],
"what_they_studied": [100189],
"include_subsidiaries": "false"
})
};
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/find-custom-headcount",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => '{"linkedin_url": "https://www.linkedin.com/company/amazon", "keywords": "", "where_they_live": [103644278, 102713980], "where_they_studied": [2584, 3084], "what_they_do": [18, 8], "what_they_are_skilled_at": [1346, 147], "what_they_studied": [100189], "include_subsidiaries": "false"}',
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(`{"linkedin_url": "https://www.linkedin.com/company/amazon", "keywords": "", "where_they_live": [103644278, 102713980], "where_they_studied": [2584, 3084], "what_they_do": [18, 8], "what_they_are_skilled_at": [1346, 147], "what_they_studied": [100189], "include_subsidiaries": "false"}`)
req, _ := http.NewRequest("POST", "https://live-fetch.p.rapidapi.com/find-custom-headcount", 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/find-custom-headcount"))
.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("{\"linkedin_url\": \"https://www.linkedin.com/company/amazon\", \"keywords\": \"\", \"where_they_live\": [103644278, 102713980], \"where_they_studied\": [2584, 3084], \"what_they_do\": [18, 8], \"what_they_are_skilled_at\": [1346, 147], \"what_they_studied\": [100189], \"include_subsidiaries\": \"false\"}"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"message": "ok",
"data": {
"headcount": 2146
}
}{
"data": null,
"message": "Invalid linkedin_url"
}{
"data": null,
"message": "The url was not found on Linkedin."
}{
"data": null,
"message": "System error. You will not be charged for this request. We will fix it soon!"
}curl --request POST \
--url 'https://live-fetch.p.rapidapi.com/find-custom-headcount' \
--header 'x-rapidapi-host: live-fetch.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'Content-Type: application/json' \
--data '{"linkedin_url": "https://www.linkedin.com/company/amazon", "keywords": "", "where_they_live": [103644278, 102713980], "where_they_studied": [2584, 3084], "what_they_do": [18, 8], "what_they_are_skilled_at": [1346, 147], "what_they_studied": [100189], "include_subsidiaries": "false"}'
import requests
url = "https://live-fetch.p.rapidapi.com/find-custom-headcount"
payload = {
"linkedin_url": "https://www.linkedin.com/company/amazon",
"keywords": "",
"where_they_live": [103644278, 102713980],
"where_they_studied": [2584, 3084],
"what_they_do": [18, 8],
"what_they_are_skilled_at": [1346, 147],
"what_they_studied": [100189],
"include_subsidiaries": "false"
}
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/find-custom-headcount';
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({
"linkedin_url": "https://www.linkedin.com/company/amazon",
"keywords": "",
"where_they_live": [103644278, 102713980],
"where_they_studied": [2584, 3084],
"what_they_do": [18, 8],
"what_they_are_skilled_at": [1346, 147],
"what_they_studied": [100189],
"include_subsidiaries": "false"
})
};
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/find-custom-headcount",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => '{"linkedin_url": "https://www.linkedin.com/company/amazon", "keywords": "", "where_they_live": [103644278, 102713980], "where_they_studied": [2584, 3084], "what_they_do": [18, 8], "what_they_are_skilled_at": [1346, 147], "what_they_studied": [100189], "include_subsidiaries": "false"}',
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(`{"linkedin_url": "https://www.linkedin.com/company/amazon", "keywords": "", "where_they_live": [103644278, 102713980], "where_they_studied": [2584, 3084], "what_they_do": [18, 8], "what_they_are_skilled_at": [1346, 147], "what_they_studied": [100189], "include_subsidiaries": "false"}`)
req, _ := http.NewRequest("POST", "https://live-fetch.p.rapidapi.com/find-custom-headcount", 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/find-custom-headcount"))
.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("{\"linkedin_url\": \"https://www.linkedin.com/company/amazon\", \"keywords\": \"\", \"where_they_live\": [103644278, 102713980], \"where_they_studied\": [2584, 3084], \"what_they_do\": [18, 8], \"what_they_are_skilled_at\": [1346, 147], \"what_they_studied\": [100189], \"include_subsidiaries\": \"false\"}"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
Body
application/json
