Call it
curl https://api.peume.com/v1/call/salary-range-for-a-job-title-in-a-place \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"title": "your title",
"country": "your country"
}
}'const res = await fetch("https://api.peume.com/v1/call/salary-range-for-a-job-title-in-a-place", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"title": "your title",
"country": "your country"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/salary-range-for-a-job-title-in-a-place",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"title": "your title",
"country": "your country"
}
},
)
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-range-for-a-job-title-in-a-place.
Parameters
titlestringidentity; the job title ('data engineer')
countrystringfilter; ISO alpha-2 country ('US', 'GB'); every provider takes it
regionstringfilter; state or province in full ('Texas', 'Ontario'); only a provider with sub-country pay data takes it
citystringfilter; city ('San Francisco', 'London'); only a provider with sub-country pay data takes it
locationstringfilter; one city in plain words ('London'), the same as `city`, which wins when both are sent; a state or province goes in `region`, and a place in several parts ('Austin, Texas') is not sent as a city
Other ways to do it
Same job, other sources, cheapest first.
