Call it
curl https://api.peume.com/v1/call/enrich-a-person-by-email-linkedin-url-or-name \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"email": "tim@apple.com",
"first_name": "Tim",
"last_name": "Cook",
"organization_name": "Apple",
"domain": "apple.com",
"linkedin_url": "http://www.linkedin.com/in/tim-cook"
}
}'const res = await fetch("https://api.peume.com/v1/call/enrich-a-person-by-email-linkedin-url-or-name", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"email": "tim@apple.com",
"first_name": "Tim",
"last_name": "Cook",
"organization_name": "Apple",
"domain": "apple.com",
"linkedin_url": "http://www.linkedin.com/in/tim-cook"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/enrich-a-person-by-email-linkedin-url-or-name",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"email": "tim@apple.com",
"first_name": "Tim",
"last_name": "Cook",
"organization_name": "Apple",
"domain": "apple.com",
"linkedin_url": "http://www.linkedin.com/in/tim-cook"
}
},
)
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-a-person-by-email-linkedin-url-or-name.
Parameters
emailstringwork or personal email of the person
Example: tim@apple.com
hashed_emailstringMD5 or SHA-256 hash of the email, when you cannot send it in the clear
first_namestringExample: Tim
last_namestringExample: Cook
namestringfull name; use instead of first_name + last_name
organization_namestringthe person's employer, to disambiguate common names
Example: Apple
domainstringemployer's domain, with no www and no @
Example: apple.com
linkedin_urlstringExample: http://www.linkedin.com/in/tim-cook
idstringperson id from a previous search
reveal_personal_emailsbooleanunlocks personal emails; default false
Example: false
reveal_phone_numberbooleanOWN KEY ONLY: true is refused on 's shared key (false, the default, is accepted, as is omitting it). Adds 8 credits when a mobile is found. The number arrives asynchronously by webhook_url or poll_only; default false
Example: false
run_waterfall_emailbooleanOWN KEY ONLY: true is refused on 's shared key (false, the default, is accepted). Fall through to third-party vendors when own data misses; some vendors bill even on a miss; default false
run_waterfall_phonebooleanOWN KEY ONLY: true is refused on 's shared key (false, the default, is accepted). As run_waterfall_email, for phone numbers; default false
webhook_urlstringOWN KEY ONLY: refused on 's shared key. Use this or poll_only when reveal_phone_number is true
Other ways to do it
Same job, other sources, cheapest first.
