curl --request GET \
--url 'https://api.keyapi.ai/v1/linkedin/get_user_profile?username=jack&include_follower_and_connection=false&include_experiences=false&include_skills=false&include_certifications=false&include_publications=false&include_educations=false&include_volunteers=false&include_honors=false&include_interests=false&include_bio=false' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"code": 0,
"message": "success",
"data": {
"id": "615825428",
"urn": "ACoAACS0wBQB9GfGRgyQfsFTHlx2ZBohtGXPlQ8",
"public_identifier": "jack",
"first_name": "Jack",
"last_name": "Rogers",
"full_name": "Jack Rogers",
"headline": "Problem Solver, Developer, Human - Managing Director at D3VL",
"is_premium": false,
"is_open_to_work": false,
"is_hiring": false,
"is_memorialized": false,
"is_influencer": false,
"is_top_voice": false,
"is_creator": false,
"birth": {
"day": null,
"month": null,
"year": null
},
"pronoun": null,
"created": 1509141319065,
"created_date": "2017-10-27T21:55:19.065Z",
"location": {
"country": "United Kingdom",
"country_code": "GB",
"city": "East Cowes, England, United Kingdom",
"postal_code": null
},
"cover": [
{
"width": 574,
"height": 143,
"url": "https://media.licdn.com/dms/image/v2/D4E16AQEXgh9-ad4Spg/profile-displaybackgroundimage-shrink_200_800/profile-displaybackgroundimage-shrink_200_800/0/1675532069775?e=1775088000&v=beta&t=k2n03RIe5zrnxSXpInOTsIOdj2i_07HetwmxxM3mGYU",
"expires_at": 1775088000000
},
{
"width": 574,
"height": 143,
"url": "https://media.licdn.com/dms/image/v2/D4E16AQEXgh9-ad4Spg/profile-displaybackgroundimage-shrink_350_1400/profile-displaybackgroundimage-shrink_350_1400/0/1675532069775?e=1775088000&v=beta&t=WwnACp2L_r9pN0DPz2huPum6w3dr_S8YHN2FQOwit8s",
"expires_at": 1775088000000
}
],
"website": {},
"supported_locales": [
{
"country": "US",
"language": "en"
}
],
"primary_locale": {
"country": "US",
"language": "en"
}
},
"requestId": "40db0be5-da77-4613-9052-fde8877ec937"
}Get LinkedIn user profile information
curl --request GET \
--url 'https://api.keyapi.ai/v1/linkedin/get_user_profile?username=jack&include_follower_and_connection=false&include_experiences=false&include_skills=false&include_certifications=false&include_publications=false&include_educations=false&include_volunteers=false&include_honors=false&include_interests=false&include_bio=false' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"code": 0,
"message": "success",
"data": {
"id": "615825428",
"urn": "ACoAACS0wBQB9GfGRgyQfsFTHlx2ZBohtGXPlQ8",
"public_identifier": "jack",
"first_name": "Jack",
"last_name": "Rogers",
"full_name": "Jack Rogers",
"headline": "Problem Solver, Developer, Human - Managing Director at D3VL",
"is_premium": false,
"is_open_to_work": false,
"is_hiring": false,
"is_memorialized": false,
"is_influencer": false,
"is_top_voice": false,
"is_creator": false,
"birth": {
"day": null,
"month": null,
"year": null
},
"pronoun": null,
"created": 1509141319065,
"created_date": "2017-10-27T21:55:19.065Z",
"location": {
"country": "United Kingdom",
"country_code": "GB",
"city": "East Cowes, England, United Kingdom",
"postal_code": null
},
"cover": [
{
"width": 574,
"height": 143,
"url": "https://media.licdn.com/dms/image/v2/D4E16AQEXgh9-ad4Spg/profile-displaybackgroundimage-shrink_200_800/profile-displaybackgroundimage-shrink_200_800/0/1675532069775?e=1775088000&v=beta&t=k2n03RIe5zrnxSXpInOTsIOdj2i_07HetwmxxM3mGYU",
"expires_at": 1775088000000
},
{
"width": 574,
"height": 143,
"url": "https://media.licdn.com/dms/image/v2/D4E16AQEXgh9-ad4Spg/profile-displaybackgroundimage-shrink_350_1400/profile-displaybackgroundimage-shrink_350_1400/0/1675532069775?e=1775088000&v=beta&t=WwnACp2L_r9pN0DPz2huPum6w3dr_S8YHN2FQOwit8s",
"expires_at": 1775088000000
}
],
"website": {},
"supported_locales": [
{
"country": "US",
"language": "en"
}
],
"primary_locale": {
"country": "US",
"language": "en"
}
},
"requestId": "40db0be5-da77-4613-9052-fde8877ec937"
}π€ Why Code When AI Can Do It For You?
Stop writing code like itβs 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.
LinkedIn username, obtainable from the profile URL For example: https://www.linkedin.com/in/jack β username is jack
Include follower and connection count (optional)
Include work experience (optional)
Include skills (optional)
Include certifications (optional)
Include publications (optional)
Include education background (optional)
Include volunteer experience (optional)
Include honors and awards (optional)
Include interests (optional)
Include personal bio (optional)
The response is of type object.