Call it
curl https://api.peume.com/v1/call/live-fetch-a-linkedin-person-profile \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"identifier": "williamhgates"
}
}'const res = await fetch("https://api.peume.com/v1/call/live-fetch-a-linkedin-person-profile", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"identifier": "williamhgates"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/live-fetch-a-linkedin-person-profile",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"identifier": "williamhgates"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: live-fetch-a-linkedin-person-profile.
Parameters
identifierRequiredstringslug, full URL, Sales Navigator URN, or numeric user id
Example: williamhgates
getDetailedEducationbooleanadds school LinkedIn/website/location; slower; default false
getDetailedWorkExperiencebooleanadds company LinkedIn/website/location; slower; default false
Other ways to do it
Same job, other sources, cheapest first.
Get a member's profileBest sourceGet a member's profile. Checks the cheapest source first and moves to the next one until it finds an answer.A LinkedIn profileGet one LinkedIn profile: name, headline, location, About text, current company, school and followers.LinkedIn person profile by URL or slugLinkedin: get user profile (web_v2)LinkedIn Profile (basic)Lightweight profile: name, avatar, location, followers, and a basic experience/education list (company + dates only, no job titles, descriptions, or skills; past companies may be rLinkedIn profile by URL, slug or URNGet detailed information about a professional profile.LinkedIn person profile by URL — experience, educationRetrieves a person's public LinkedIn profile data, including their name, photo, location, follower count, about/bio summary, recent posts, work experience and education.
