Call it
curl https://api.peume.com/v1/call/enrich-linkedin-profile-and-contacts \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"profile": "https://www.linkedin.com/in/YOUR-PROFILE",
"profile_only": false
}
}'const res = await fetch("https://api.peume.com/v1/call/enrich-linkedin-profile-and-contacts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"profile": "https://www.linkedin.com/in/YOUR-PROFILE",
"profile_only": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/enrich-linkedin-profile-and-contacts",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"profile": "https://www.linkedin.com/in/YOUR-PROFILE",
"profile_only": False
}
},
)
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: enrich-linkedin-profile-and-contacts.
Parameters
profileRequiredstringFull regular LinkedIn profile URL; Sales Navigator and Recruiter URLs are not supported.
Example: https://www.linkedin.com/in/YOUR-PROFILE
profile_onlybooleanExample: 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.
