Call it
curl https://api.peume.com/v1/call/unified-organizations-endpoint \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"include_closed": false,
"select": "your select",
"limit": 10,
"offset": 0,
"match_source": "any"
}
}'const res = await fetch("https://api.peume.com/v1/call/unified-organizations-endpoint", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"include_closed": false,
"select": "your select",
"limit": 10,
"offset": 0,
"match_source": "any"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/unified-organizations-endpoint",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"include_closed": False,
"select": "your select",
"limit": 10,
"offset": 0,
"match_source": "any"
}
},
)
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: unified-organizations-endpoint.
Parameters
organizationsarrayList of organizations to resolve and enrich. Mutually exclusive with `filter`.
filterobjectAdvanced query selecting the organizations to return. Mutually exclusive with `organizations`.
include_closedbooleanFilter mode only: include organizations marked permanently closed (`status` = 'closed') in the results — they are excluded by default. Request the `status` / `status_reason` attributes to identify which results are closed. Not valid with `organizations` (direct lookups always resolve closed organizations).
Example: false
selectRequiredobjectDictates exactly which columns are returned.
limitintegerMaximum number of results to return.
Example: 10
offsetintegerNumber of results to skip.
Example: 0
order_by_columnstringColumn to order by (filter mode only). Parameterized sorts (this endpoint only): `people_concentration` and `people_count_growth_1y` sort by the named job function's people metrics — the all-time fraction of the org's tracked people in it, and its current YoY people growth % (latest month vs. one year earlier; orgs without growth data sort last) respectively — and require `order_by_job_function`. `job_post_concentration` sorts by the all-time fraction of the org's job posts matching `order_by_advanced_query`, which it requires. `source_data_url` is omitted for all three, since the listing page
order_by_directionstringDirection to order by (filter mode only).
order_by_job_functionstringJob function whose people metrics drive the sort. Required with (and only valid with) `order_by_column="people_concentration"` or `order_by_column="people_count_growth_1y"`.
order_by_advanced_querystringAdvanced query whose matching job posts form the sort numerator. Required with (and only valid with) `order_by_column="job_post_concentration"`. Allowed fields: technology, technology_category, job_function, project, job_level, country. Both the matching and total job counts are all-time.
match_sourcestringFilter mode only. Which evidence an organization may match the `filter` on. `any` (default) matches on either job posts or the skills its employees list on LinkedIn/. `job_post` restricts matches to job-post evidence only, so an org that matches solely because an employee lists the technology (with no job posts mentioning it) is excluded. Applies to all job-side filters (technology, job function, hiring location, etc.).
any · job_post
Example: any
Other ways to do it
Same job, other sources.
