Google LinkedIn API
Using this API, you get the employee data of a particular company operating in any part of the world registered on LinkedIn in JSON format.
Here is the list of default parameters for this API.
Parameters | Description |
---|---|
api_key
required | This is your API key. |
company
required | Type: String
The company you want to search for, to get employees' data. |
domain | Type: String
If you need employees' emails, please provide the company domain name you are entering. |
country | Type: String
Default: "us"
Name of the country. The name should be in ISO 3166 Alpha-2 format.
This parameter will help to get the data of the company employees of a particular company. |
num | Type: Number(Integer)
The number of results you want to get. |
cURL
Node JS
Python
Java
Ruby
PHP
cURL "https://api.serpdog.io/linkedin?&api_key=APIKEY&company=Apple&country=us"
const axios = require('axios');
axios.get('https://api.serpdog.io/linkedin?&api_key=APIKEY&company=Apple&country=us')
.then(response => {
console.log(response.data);
})
.catch(error => {
console.log(error);
});
import requests
payload = {'api_key': 'APIKEY', 'company': 'Apple', 'country': 'us'}
resp = requests.get('https://api.serpdog.io/linkedin', params=payload)
print (resp.text)
try {
String url = "https://api.serpdog.io/linkedin?&api_key=APIKEY&company=Apple&country=us";
URL urlForGetRequest = new URL(url);
String readLine = null;
HttpURLConnection conection = (HttpURLConnection) urlForGetRequest.openConnection();
conection.setRequestMethod("GET");
int responseCode = conection.getResponseCode();
if (responseCode == HttpURLConnection.HTTP_OK) {
BufferedReader in = new BufferedReader(new InputStreamReader(conection.getInputStream()));
StringBuffer response = new StringBuffer();
while ((readLine = in.readLine()) != null) {
response.append(readLine);
}
in.close();
System.out.println(response.toString());
} else {
throw new Exception("Error in API Call");
}
} catch (Exception ex) {
ex.printStackTrace();
}
require 'net/http'
require 'json'
params = {
:api_key => "APIKEY",
:company => "Apple",
:country => "us"
}
uri = URI('https://api.serpdog.com/linkedin')
uri.query = URI.encode_www_form(params)
website_content = Net::HTTP.get(uri)
print(website_content)
<?php
$url = "https://api.serpdog.com/linkedin?api_key=APIKEY&company=Apple&country=us";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
$response = curl_exec($ch);
curl_close($ch);
print_r($response);
{
"employees_data": [
{
"title": "Jane Horvath - Chief Privacy Officer - Apple",
"about": "Chief Privacy Officer at Apple · Activity · Experience · Education · Honors & Awards · More activity by Jane · People also viewed · Looking for career advice?",
"link": "https://www.linkedin.com/in/janechorvath"
},
{
"title": "Kristina Raspe - Vice President, Global Real Estate & Facilities",
"about": "Kristina Raspe. Vice President, Global Real Estate and Facilities at Apple. AppleUSC Dollinger Master of Real Estate Development.",
"link": "https://www.linkedin.com/in/kristinaraspe"
},
{
"title": "Priya Balasubramaniam - Vice President Operations - Apple",
"about": "Priya Balasubramaniam. Vice President at Apple Inc. AppleMichigan State University. Cupertino, California, United States500+ connections.",
"link": "https://www.linkedin.com/in/priya-balasubramaniam-1544a74"
},
{
"title": "Brian S. Naumann - Vice President - Apple",
"about": "Lead the Product Service business for Apple. Responsible for repair operations and associated supply chain, managing the Authorized Service Provider network ...",
"link": "https://www.linkedin.com/in/briansnaumann"
},
{
"title": "Matt Fischer - Vice President, Worldwide App Store - Apple",
"about": "Responsible for global App Store business for Apple, including the App Store for iPhone, App Store for iPad, App Store for Apple Watch, App Store for Apple ...",
"link": "https://www.linkedin.com/in/mattfischer"
},
{
"title": "Jim Apple - Engineering Manager - Facebook",
"about": "View Jim Apple's profile on LinkedIn, the world's largest professional community. Jim has 7 jobs listed on their profile. See the complete profile on ...",
"link": "https://www.linkedin.com/in/jbapple"
},
{
"title": "Farrel Farhoudi - VP, WW AppleCare - Apple",
"about": "View Farrel Farhoudi's profile on LinkedIn, the world's largest professional community. Farrel has 1 job listed on their profile. See the complete profile ...",
"link": "https://www.linkedin.com/in/farrelfarhoudi"
},
{
"title": "Evan Doll - Senior Director, Health Software Engineering - Apple",
"about": "View Evan Doll's profile on LinkedIn, the world's largest professional community. Evan has 6 jobs listed on their profile. See the complete profile on ...",
"link": "https://www.linkedin.com/in/evandoll"
},
{
"title": "Parag Shah - Director, Worldwide Business Planning - Apple",
"about": "Director, Worldwide Business Planning at Apple. AppleThe University of Chicago - Booth School of Business. San Francisco Bay Area500+ connections.",
"link": "https://www.linkedin.com/in/shahp15"
}
]
}
Last modified 6mo ago