Call it
curl https://api.peume.com/v1/call/get-salary-data \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"company_slug": "your company slug"
}
}'const res = await fetch("https://api.peume.com/v1/call/get-salary-data", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"company_slug": "your company slug"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/get-salary-data",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"company_slug": "your company slug"
}
},
)
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: get-salary-data.
Parameters
company_slugRequiredstringCompany slug identifier (e.g. 'google', 'meta', 'amazon'). Obtain from get_popular_companies or get_company_overview.
job_family_slugstringJob family slug (e.g. 'software-engineer', 'product-manager', 'data-scientist'). Obtain from get_job_families.
locationstringLocation slug to filter salary data by geographic area. Accepts country slugs (e.g. 'germany', 'united-kingdom', 'india') or metro area slugs (e.g. 'london-metro-area', 'san-francisco-bay-area', 'greater-seattle-area'). When provided, results are filtered to that location and location_meta is populated. Omitting returns the default country data (United States).
