Retrieve person experience
The Linked API allows you to retrieve a person's work experience from their LinkedIn profile programmatically. Below is an example of how to retrieve this information using a GET
request.
Endpoint
GET /v1/people
Parameters
url
(required, string): The LinkedIn profile URL of the person to retrieve experience from.include
(optional, string): Set toexperience
to retrieve only the person's work experience.
Example
curl -X GET "https://api.linkedapi.io/v1/people?include=experience" \
-H "Content-Type: application/json" \
-H "x-api-token: your-api-token-here" \
-H "account-token: your-account-token-here" \
-d '{
"url": "https://www.linkedin.com/in/johndoe/"
}'
Response
{
"data": {
"experience": [
{
"position": "Software Engineer",
"company": "Google",
"location": "San Francisco, CA",
"startDate": "2020-05-01",
"endDate": null,
"description": "Working on the core team developing scalable solutions for cloud infrastructure."
},
{
"position": "Junior Developer",
"company": "Tech Innovations",
"location": "Los Angeles, CA",
"startDate": "2018-06-01",
"endDate": "2020-04-30",
"description": "Developed new features for the company's flagship product, focusing on performance optimization."
}
]
},
"success": true
}
Errors
400 Bad Request
: Invalid or missing parameters.401 Unauthorized
: Missing or invalid authorization token.404 Not Found
: Profile or experience not found.