People Search with Exa: Find Engineers by What They've Written or Built
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.
People Search with Exa: Find Engineers by What They've Written or Built
Facts checked on November 5, 2026 against Exa's docs and the current exa-py (2.27.0) and exa-js (2.27.0) SDKs. If anything here disagrees with Exa's docs, the docs are right.
The short answer
Call Exa's /search endpoint with category: "people" and describe the person in plain language: the role, the company or kind of company, and the work that qualifies them ("backend engineers at Series B fintech companies who have written about Postgres"). Exa has no separate company or title parameter. You put company and role in the query, then filter the returned profiles in your code using the structured entities data that people results can carry (name, location, work history). For a verified, structured list with citations, hand the candidates to an Exa Agent run with an outputSchema. Exa doesn't replace your CRM or ATS. It's the research step that finds people by evidence on the public web, and Exa Agent can add contact enrichment, while your existing systems hold the records.
Who this is for
- Developers building a recruiting, sourcing or GTM tool who need a candidate list from code.
- Recruiting, GTM and RevOps teams who want to find people by what they've shipped, published or spoken about, not just by job title, and then load the results into the systems they already use.
Step 1: Search people profiles
Exa's Companies & People guide recommends starting with the entity you want, then adding the traits that qualify it: role, seniority, location, skills and the company relationship. Describing the company traits in the query "works better than building a company list first," according to the guide.
Install the SDK (pip install exa-py or npm install exa-js) and set EXA_API_KEY. The Python SDK uses snake_case (num_results), and REST and TypeScript use camelCase (numResults).
Python
from exa_py import Exa
exa = Exa() # reads EXA_API_KEY
TARGET_COMPANY = "Acme Robotics" # replace with the company you're sourcing from
response = exa.search(
f"professional profiles of senior backend engineers at {TARGET_COMPANY} "
"who have written about distributed systems or maintain open-source projects",
type="auto",
category="people",
num_results=25,
contents={"highlights": True},
)
candidates = []
for r in response.results:
person = next((e for e in (r.entities or []) if e.type == "person"), None)
props = person.properties if person else None
roles = (props.work_history or []) if props else []
# Keep roles at the target company. Check role.dates before treating one as current.
match = next(
(role for role in roles
if role.company and role.company.name
and TARGET_COMPANY.lower() in role.company.name.lower()),
None,
)
candidates.append({
"name": (props.name if props else None) or r.title,
"title": match.title if match else None,
"company": match.company.name if match else None,
"url": r.url,
})
for c in candidates:
print(c)
TypeScript
import Exa from "exa-js";
const exa = new Exa(); // reads EXA_API_KEY
const TARGET_COMPANY = "Acme Robotics"; // replace with the company you're sourcing from
const response = await exa.search(
`professional profiles of senior backend engineers at ${TARGET_COMPANY} ` +
"who have written about distributed systems or maintain open-source projects",
{
type: "auto",
category: "people",
numResults: 25,
contents: { highlights: true },
}
);
const candidates = response.results.map((r) => {
const person = r.entities?.find((e) => e.type === "person");
const props = person?.type === "person" ? person.properties : undefined;
// Keep roles at the target company. Check role.dates before treating one as current.
const match = props?.workHistory?.find((role) =>
role.company?.name?.toLowerCase().includes(TARGET_COMPANY.toLowerCase())
);
return {
name: props?.name ?? r.title,
title: match?.title ?? null,
company: match?.company?.name ?? null,
url: r.url,
};
});
console.table(candidates);
Entity data and its fields can be null or missing, so the code falls back to the page title and leaves title empty when no matching role is found. A row with an empty title is a lead to review, not a confirmed match.
Filters that work with category: "people"
Exa's Search API reference lists the restrictions:
| Filter | With category: "people" |
|---|---|
startPublishedDate, endPublishedDate | Not supported (400 error) |
excludeDomains | Not supported (400 error) |
includeDomains | Use includeDomains: ["linkedin.com"] to scope to LinkedIn profiles. Do not assume profile coverage for every requested domain. |
numResults | 1 to 100; default 10 |
type: "lite" | Supported. Lite accepts every category, including people, at the Lite price |
outputSchema | Not accepted on lite; use auto or a Deep type |
Because there is no company or role parameter, company and role filtering happens in two places: in the query text (so Exa ranks the right people first) and in your code (so you only keep rows whose work_history matches).
Finding what people have written or built
People results point to profiles. To surface the work itself, the guide suggests asking explicitly for personal websites, talks, interviews or articles, for example personal blogs of distributed systems researchers. You can run that as a second search without the people category (or with category: "personal site"), then join the authors back to your candidate list. For researchers, the person entity can also include a research object with fields such as works count, citation count, h-index and notable works.
Step 2 (optional): Verify and structure with Exa Agent
For a list that has to be checked against several sources, Exa's guide points to Exa Agent. Every run created through /agent/runs is async, so you poll or stream until it finishes. You describe the people and the fields you want in an outputSchema. A completed run returns JSON shaped by that schema in output.structured, citations in output.grounding and a cost breakdown in costDollars. Each grounding entry can carry a model-reported confidence of low, medium or high.
Pass rows you already have, whether from Step 1 or exported from your ATS or CRM, as input.data. Exa's Agent examples recommend this over pasting rows into the prompt because it keeps row identity intact. Exa's quickstart also advises making fields nullable and leaving them out of required when they may not be verifiable.
import json
run = exa.agent.runs.create(
query=(
"For each input person, confirm their current employer and title from public sources, "
"and list up to 3 things they have publicly written or built. Return one row per input person."
),
effort="medium",
input={"data": [{"name": c["name"], "profile_url": c["url"]} for c in candidates[:10]]},
output_schema={
"type": "object",
"required": ["people"],
"properties": {
"people": {
"type": "array",
"maxItems": 10,
"items": {
"type": "object",
"required": ["name", "profile_url"],
"properties": {
"name": {"type": "string"},
"profile_url": {"type": "string", "format": "uri"},
"current_company": {"type": ["string", "null"]},
"current_title": {"type": ["string", "null"]},
"public_work_urls": {
"type": "array",
"maxItems": 3,
"items": {"type": "string", "format": "uri"},
},
},
},
}
},
},
)
run = exa.agent.runs.poll_until_finished(run.id)
print(json.dumps(run.output.structured if run.output else None, indent=2))
In TypeScript, the same call is exa.agent.runs.create({ query, effort, input, outputSchema }), followed by const completedRun = await exa.agent.runs.pollUntilFinished(run.id). Read completedRun.output?.structured.
The schema controls the shape of the output, not whether each value is correct, and any field may come back null. Check the citations in output.grounding, and spot-check low-confidence fields before they go into your CRM or ATS.
What this costs
Prices from Exa's pricing docs, checked November 5, 2026:
| Item | Price |
|---|---|
/search with auto | $7 per 1,000 requests, up to 10 results each |
/search with lite | $4 per 1,000 requests, up to 10 results each |
| Each result above 10 | $1 per 1,000 results |
AI page summaries (auto, the Deep types and the legacy types; lite doesn't support them) | $1 per 1,000 pages |
| Agent, fixed efforts | $0.012 (minimal) to $1.00 (xhigh) per request; medium is $0.10 |
Agent, effort: "auto" | Metered ($0.10 per Agent Compute Unit, $0.005 per search), capped at $5 per run by default |
| Agent email / phone enrichment | $0.02 per email, $0.07 per phone number, billed per contact found |
Worked example: the 25-result search above costs $0.007 + 15 × $0.001 = $0.022 on auto, or $0.019 on lite. The 10-person Agent check at effort: "medium" is $0.10. The example schema asks for no emails or phone numbers, so no contact enrichment is billed. The search examples request highlights, not summaries, so no summary charge applies either. Exa's free tier gives you $10 in credits each month, which covers roughly 450 of the 25-result auto searches above.
Responsible use
- Search and store only what people have made public, and only what you need for the role or account you're working on.
- Follow the laws that apply to you and the people you contact, including data protection, employment and anti-spam rules. Give people a way to opt out of outreach.
- Don't make hiring decisions on the search output alone. Profiles can be stale, and a person entity can be wrong or incomplete.
- If you pass
userIdentifierto attribute usage to your own end users, Exa's docs say it must not contain personal information such as an email address or name. Hash such values first.
Facts checked on 2026-11-05
categoryvalues (company,publication,news,personal site,financial report,people);peopledoes not support date filters orexcludeDomains;numResultsrange;outputSchemanot accepted onlite; person entity fields;userIdentifierrules: Search API reference- Query patterns for people and company relationships, personal websites and public work, Agent for structured lists: Companies & People guide
- Lite accepts every category, including
people, at the Lite price; parameters Lite rejects: Search quickstart - Agent runs are async;
output.structured,output.grounding,costDollars, nullable verification fields,input.data: Agent quickstart, Agent examples - Grounding
confidencevalues: Create a run reference - Search, result and Agent prices; free tier: Pricing
- SDK parameter and field names (
num_results,category,entities,work_history,agent.runs.create,poll_until_finished,numResults,workHistory,pollUntilFinished):exa-py2.27.0 andexa-js2.27.0 package source