Call it
curl https://api.peume.com/v1/call/enrich-one-person-from-a-linkedin-url \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"items": [
{
"linkedin_url": "https://www.linkedin.com/in/example"
}
],
"limit_per_item": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/enrich-one-person-from-a-linkedin-url", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"items": [
{
"linkedin_url": "https://www.linkedin.com/in/example"
}
],
"limit_per_item": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/enrich-one-person-from-a-linkedin-url",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"items": [
{
"linkedin_url": "https://www.linkedin.com/in/example"
}
],
"limit_per_item": 1
}
},
)
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-one-person-from-a-linkedin-url.
Parameters
itemsRequiredarrayEach item needs linkedin_url.
Example: [{"linkedin_url":"https://www.linkedin.com/in/example"}]
limit_per_itemintegerExample: 1
Other ways to do it
Same job, other sources, cheapest first.
Person profile by LinkedIn URL, free cached lookupGet detailed profile information for a person.Enrich a person's profileBest sourceFill in a person's profile from a LinkedIn URL or other identifier you already hold — job title, employer, seniority, location. Checks the cheapest source first and moves to thEnrich one person from a work emailEnrich one person from a known work email address.Person enrichment by email, LinkedIn or nameEnrich one person from a work or personal e-mail, a LinkedIn profile (link or slug), or a name with the company domain: name, job title, LinkedIn profile, location, company (name, Enrich a LinkedIn personReturn a full profile with experience, education and skills.Enrich a person from a US phoneLook up a professional profile from a US phone number.
