Call it
curl https://api.peume.com/v1/call/salary-benchmark-for-a-job-title-in-a-country \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"title": "data engineer",
"country": "US",
"window_days": 90
}
}'const res = await fetch("https://api.peume.com/v1/call/salary-benchmark-for-a-job-title-in-a-country", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"title": "data engineer",
"country": "US",
"window_days": 90
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/salary-benchmark-for-a-job-title-in-a-country",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"title": "data engineer",
"country": "US",
"window_days": 90
}
},
)
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: salary-benchmark-for-a-job-title-in-a-country.
Parameters
titlestringtitle substring; send title or occupation_code
Example: data engineer
occupation_codestringISCO-08 code, e.g. 2512
countrystringISO alpha-2; omit for every country
Example: US
senioritystringwindow_daysintegerExample: 90
Other ways to do it
Same job, other sources, cheapest first.
Salary range for a job title in a place, from posted payBest sourceSalary range for a job title in a place, from posted pay. Checks the cheapest source first and moves to the next one until it finds an answer.Salary percentiles and market stats for a job searchPosted-pay percentiles (p25, p50, p75, p90), a histogram and pay by level and work arrangement for any job search, with remote share, top companies, skills and technologies. AnswerBenchmark a role's salary against the marketBenchmark a role's posted salary from a job title and place, or a posting URL: percentiles over open and recently closed jobs, the typical posted floor and ceiling, a monthly t
