LinkedIn Profile
Get Profile
LinkedIn Profile
Get Profile
Get the LinkedIn profile of the user. Required at least one of the query parameters
GET
/
linkedin
/
profile
curl --request GET \
--url https://api.harvest-api.com/linkedin/profile \
--header 'X-API-Key: <api-key>'
{
"element": {
"id": "<string>",
"publicIdentifier": "<string>",
"lastName": "<string>",
"firstName": "<string>",
"headline": "<string>",
"about": "<string>",
"linkedinUrl": "<string>",
"photo": "<string>",
"registeredAt": "2023-11-07T05:31:56Z",
"topSkills": "<string>",
"connectionsCount": 123,
"followerCount": 123,
"openToWork": true,
"hiring": true,
"location": {
"preferredGeoPlace": "<string>",
"countryCode": "<string>",
"postalCode": "<string>",
"country": "<string>",
"countryFull": "<string>"
},
"currentPosition": [
{
"companyName": "<string>"
}
],
"experience": [
{
"companyName": "<string>",
"duration": "<string>",
"position": "<string>",
"location": "<string>",
"companyLink": "<string>",
"description": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"employmentType": "<string>"
}
],
"education": [
{
"title": "<string>",
"link": "<string>",
"degree": "<string>",
"startDate": "<string>",
"endDate": "<string>"
}
],
"certificates": [
{
"title": "<string>",
"issuedAt": "<string>",
"issuedBy": "<string>",
"issuedByLink": "<string>"
}
],
"receivedRecommendations": [
{
"givenBy": "<string>",
"givenAt": "<string>",
"givenByLink": "<string>",
"description": "<string>"
}
],
"skills": [
{
"name": "<string>"
}
],
"languages": [
{
"language": "<string>",
"proficiency": "<string>"
}
],
"projects": [
{
"title": "<string>",
"description": "<string>"
}
],
"publications": [
{
"title": "<string>",
"publishedAt": "<string>",
"description": "<string>",
"link": "<string>"
}
],
"featured": {
"images": [
"<string>"
],
"link": "<string>",
"title": "<string>",
"subtitle": "<string>"
},
"verified": true
},
"status": "<string>",
"error": "<string>",
"query": {
"url": "<string>",
"publicIdentifier": "<string>",
"profileId": "<string>"
}
}
const params = new URLSearchParams({
url: 'https://www.linkedin.com/in/williamhgates', // by URL
// publicIdentifier: 'williamhgates', // by publicIdentifier alternatively
});
fetch(`https://api.harvest-api.com/linkedin/profile?${params.toString()}`, {
headers: { 'X-API-Key': '<api-key>' },
})
.then((response) => response.json())
.then((data) => console.log(data));
Authorizations
Query Parameters
URL of the LinkedIn profile (optional)
Public identifier of the LinkedIn profile (optional)
ID of the LinkedIn profile (optional)
Response
200
application/json
Profile response
curl --request GET \
--url https://api.harvest-api.com/linkedin/profile \
--header 'X-API-Key: <api-key>'
{
"element": {
"id": "<string>",
"publicIdentifier": "<string>",
"lastName": "<string>",
"firstName": "<string>",
"headline": "<string>",
"about": "<string>",
"linkedinUrl": "<string>",
"photo": "<string>",
"registeredAt": "2023-11-07T05:31:56Z",
"topSkills": "<string>",
"connectionsCount": 123,
"followerCount": 123,
"openToWork": true,
"hiring": true,
"location": {
"preferredGeoPlace": "<string>",
"countryCode": "<string>",
"postalCode": "<string>",
"country": "<string>",
"countryFull": "<string>"
},
"currentPosition": [
{
"companyName": "<string>"
}
],
"experience": [
{
"companyName": "<string>",
"duration": "<string>",
"position": "<string>",
"location": "<string>",
"companyLink": "<string>",
"description": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"employmentType": "<string>"
}
],
"education": [
{
"title": "<string>",
"link": "<string>",
"degree": "<string>",
"startDate": "<string>",
"endDate": "<string>"
}
],
"certificates": [
{
"title": "<string>",
"issuedAt": "<string>",
"issuedBy": "<string>",
"issuedByLink": "<string>"
}
],
"receivedRecommendations": [
{
"givenBy": "<string>",
"givenAt": "<string>",
"givenByLink": "<string>",
"description": "<string>"
}
],
"skills": [
{
"name": "<string>"
}
],
"languages": [
{
"language": "<string>",
"proficiency": "<string>"
}
],
"projects": [
{
"title": "<string>",
"description": "<string>"
}
],
"publications": [
{
"title": "<string>",
"publishedAt": "<string>",
"description": "<string>",
"link": "<string>"
}
],
"featured": {
"images": [
"<string>"
],
"link": "<string>",
"title": "<string>",
"subtitle": "<string>"
},
"verified": true
},
"status": "<string>",
"error": "<string>",
"query": {
"url": "<string>",
"publicIdentifier": "<string>",
"profileId": "<string>"
}
}