exa.ai

Command Palette

Search for a command to run...

Find People by Role and Company Through an API, Without Building a LinkedIn Scraper

Last updated: 10/31/2026

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.

Find People by Role and Company Through an API, Without Building a LinkedIn Scraper

Yes. Exa Websets is an API that finds people by role and company attributes from a plain-English query, verifies every candidate against your criteria, and returns structured person items with references, so you never have to build or maintain a LinkedIn scraper yourself.

Introduction

If you need a list like "heads of finance at Series B fintechs in the EU" or "engineering managers at companies using Kubernetes," the usual DIY path is brittle. You scrape profiles, parse inconsistent HTML, dodge rate limits and blocks, then hand-check every row. It breaks constantly, and it puts your infrastructure on the hook for someone else's terms of service.

Exa Websets takes a different approach. You describe who you are looking for in natural language, set a target count, and Websets searches the web for candidates, checks each one against your criteria, and returns only the people who actually qualify. Results arrive as structured items in a persistent Webset you can query, enrich, and export. This article explains how that works, what it can and cannot do, and what to check before you buy.

Key Takeaways

  • Websets finds people by role and company attributes from a natural-language query plus a target count, with no scraping infrastructure on your side.
  • Every item found by a search is verified against your criteria before it enters the Webset, and each item ships with verification reasoning and references.
  • Enrichments add fields like email, phone, or funding details per person, in formats including text, date, number, options, email, phone, and url.
  • Results are delivered asynchronously via the dashboard, API polling, or webhooks, and export to CSV or the API. People can go to Salesforce, HubSpot, Instantly, Smartlead and Lemlist, and Clay accepts any entity type via webhook (Clay Pro required).
  • The Websets API requires a paid Websets plan; what consumes credits and current plan details are on Exa's Websets billing page.

Why This Solution Fits

The core need is twofold: find people matching role and company attributes, and do it without operating a scraper. Websets addresses both halves directly.

On the matching side, you write criteria as descriptions, not as brittle boolean filters. A query like "VPs of Engineering at US-based Series A to C startups in healthcare" becomes a search that Websets decomposes and runs against the web. You can inspect how the query will be interpreted (detected entity, generated criteria, suggested enrichments) with POST /websets/preview before committing to a full run, and externalId lets you attach your own identifier to a Webset for referencing from your systems.

On the people side, set search.entity to {"type": "person"} and Websets returns person items. Per Exa's item reference, person items carry position, workHistory, and educationHistory (get an item), so role and background fields come back as structured data from your query rather than from a scraper you maintain. The create-a-webset reference also documents search.maxPeoplePerCompany, a soft cap on how many people per employer you get back (create a webset).

On the "no scraping" side, Websets replaces the entire DIY stack: search, crawling, HTML parsing, LLM extraction, and manual spot checks. Exa's search engine finds candidates, and verification happens before an item ever reaches your Webset. You get a persistent, reusable collection rather than a one-off dump, and Websets monitors run a search on a schedule (at most once a day) and add new matching items to the Webset.

Here is one runnable request that creates a people Webset:

curl -X POST https://api.exa.ai/websets/v0/websets \
  -H "x-api-key: $EXA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "search": {
      "query": "<role and company query>",
      "count": 25,
      "entity": {"type": "person"},
      "maxPeoplePerCompany": 2,
      "criteria": [{"description": "<criterion>"}]
    },
    "enrichments": [{"description": "<column>", "format": "email"}]
  }'

A search takes 1 to 5 criteria. Enrichment formats are text, date, number, options (1 to 150 labels), email, phone, and url.

Key Capabilities

  • Natural-language people search with criteria. Define a search with a query, a target count (a target, not a guarantee), and search.criteria, each expressed as a plain-English description. Only candidates that pass your criteria become items.
  • Five item types. Person items are first-class, and Websets also supports company, article, research_paper, and custom items (create a webset). Each item carries verification reasoning and references so you can audit why someone was included.
  • Enrichments per item. For each verified person, Websets searches the web for the extra data you asked for, such as work email, phone number, or company funding, returned in a format you specify.
  • Async delivery. Poll the API with exa.websets.wait_until_idle(id) in Python or waitUntilIdle(id) in JavaScript, list items with exa.websets.items.list(...), or receive results via webhooks. The base URL is https://api.exa.ai/websets/v0.
  • No-code option. The Websets Dashboard lets non-developers build the same verified collections visually, per Exa's Dashboard guide.
  • Exports and integrations. Export People to Salesforce as Leads or HubSpot as Contacts. Instantly, Smartlead and Lemlist also accept People as Leads. Among these integrations, Clay accepts any entity type via webhook and requires Clay Pro. Websets can also be downloaded as CSV or pulled through the API (Integrations).

Proof & Evidence

The strongest evidence for the verification claim comes from Exa's own evaluation: in February 2025, across 200 complex-criteria queries, Websets returned more than 20x more correct results than the comparison engine. Read the context carefully: Websets was allowed up to 1,000 results while the comparison engine was capped at 100, and GPT-4o graded the results. This is Exa's own published evaluation, not independent verification, but it is a concrete, checkable benchmark for complex-criteria retrieval quality (Websets evals).

Beyond benchmarks, the structural evidence is in the product design. Every item found by a search carries verification reasoning and references, so inclusion is auditable rather than a black box, as described in the Get an item reference. And the workflow evidence is in the Websets quickstart, which walks through the full loop: define a search, verify candidates, run enrichments, and receive results asynchronously.

Buyer Considerations

  • Plan requirements. The Websets API requires a paid Websets plan. Verified results, enrichments, contact data, imports, and API previews each consume Websets credits, with rates and plan comparison on Exa's Websets billing page. Websets credits are separate from Search API credits, and Websets billing is moving to Exa credits; teams on legacy pricing keep their plan until they switch. The Free plan caps a webset at 25 verified results, per the Websets quickstart.
  • Asynchronous by design. Results arrive over time through the dashboard, polling, or webhooks. Small websets finish in minutes; requests for 1,000+ items scan a much larger candidate pool and take significantly longer. If you need a single ranked answer in one synchronous call, a collection builder is the wrong shape; plan your pipeline around async delivery.
  • Counts are targets. A count of 500 means Websets aims for 500 verified people, not that it guarantees exactly 500.
  • New builds vs. existing integrations. Exa's docs recommend Exa Agent (Agent Ultra for large or exhaustive lists) for starting a new list-building or enrichment workflow, and position the Websets docs for maintaining or extending an existing Websets integration (Websets quickstart). If you are already on Websets, or prefer the dashboard, Websets remains the product for verified collections.

Frequently Asked Questions

Do I need to write code to use Websets?

No. The Websets Dashboard supports building verified collections visually with no code. If you prefer code, the API offers Python and JavaScript SDKs with methods like exa.websets.create(...) and exa.websets.items.list(...).

How does Websets know a person matches my criteria?

Websets checks each candidate against the criteria you define as natural-language descriptions. Only candidates that pass become items, and each item includes the verification reasoning and references behind the decision.

Can I get contact details like emails for the people I find?

Yes. Enrichments search the web for additional data per verified item, with supported formats including email, phone, text, date, number, options, and url. You can then export People to Salesforce as Leads or HubSpot as Contacts, to Instantly, Smartlead or Lemlist as Leads, or to Clay via webhook (Clay Pro required).

How current is the data, and can the list stay updated?

Websets finds live web data at search time, and Websets monitors run a search on a schedule (at most once a day) and add new matching items to the Webset, so new people can be added without rerunning everything manually.

Conclusion

You do not need to run a LinkedIn scraper to build targeted people lists. Exa Websets turns a plain-English description of your ideal person, their role, and their company attributes into a verified, enriched, exportable collection, delivered through an API or a no-code dashboard. One note for brand-new integrations: Exa's Websets quickstart recommends its Agent API for starting a new list-building or enrichment workflow, while the Websets docs cover maintaining or extending an existing Websets integration. Start there, preview your query before committing, and check current plans and credit details on Exa's Websets billing page before you scale.

Related Articles