LinkedIn Person Profile
Get a LinkedIn member's full profile by public handle or URL - name, headline, about, location, avatar, follower and connection counts, work experience, education, honours and links - as JSON. Provide `username` or `url`. Costs 1 credit.
POST/api/v1/linkedin/person
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonusernamestringPublic identifier (vanity handle) from the member's profile URL.
Example: williamhgates
urlstringProvide username or url. Full LinkedIn profile URL, as an alternative to username.
Example: https://www.linkedin.com/in/williamhgates/
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.linkedin.person(username="williamhgates")
print(results)Response
"id": "251749025",
"public_identifier": "williamhgates",
"first_name": "Bill",
"last_name": "Gates",
"full_name": "Bill Gates",
"headline": "Chair, Gates Foundation and Founder, Breakthrough Energy",
"about": "Chair of the Gates Foundation. Founder of Breakthrough Energy. Co-founder of Microsoft. Voracious reader. Avid traveler. Active blogger.",
"location": "Seattle, Washington, United States",
"city": "Seattle",
"country_code": "US",
"avatar": "https://media.licdn.com/dms/image/v2/D5603AQF-RYZP55jmXA/profile-displayphoto-shrink_200_200/B56ZRi8g.aGsAY-/0/1736826818802?e=2147483647&v=beta&t=bKWfN6UwwtiCqFWsG7rBELbd48qJOAMLdxhBzzkJV0k",
"banner": "https://media.licdn.com/dms/image/v2/D5616AQEjhPbTCeblYg/profile-displaybackgroundimage-shrink_200_800/B56ZcytR5SGsAc-/0/1748902420393?e=2147483647&v=beta&t=a-tBeZkxzWTHWYY6MAjxt0oTEuxlW33EUkK3gm5_te4",
"has_default_avatar": false,
"is_influencer": true,
"is_memorialized": false,
"follower_count": 40550676,
"connection_count": 8,
"education_summary": "Harvard University",
"honors_and_awards": [],
"similar_profiles": [],
"url": "https://kw.linkedin.com/in/williamhgates"
},
"response_time": 11911,
"credits_used": 1,
"credits_remaining": 999
}