Skip to main content
Each example on this page is one People Search API request, shown in cURL, the four official SDKs, and the CLI. Every version sends the same request.

Before you start

Create an API key at app.companyenrich.com/access-keys. The SDK examples assume a client created like this, with the key in the COMPANYENRICH_API_KEY environment variable:
In the cURL examples, replace YOUR_API_TOKEN with your key.
A people search costs 2 credits for every person returned. To try any query for free, send the same filter, semantic, or company fields to the count endpoint, as in Size an audience for free.

Find decision makers at a company

Find vice presidents and C-level executives in sales who currently work at Stripe.
domain, seniority, and department match a person’s current job. An array matches any of its values.

Find people by job title

Find heads of growth at SaaS companies with 51 to 200 employees. The position filter matches phrases in the current job title, and the company field narrows the search to the kind of company they work at.
Look up common titles with position autocomplete. See Company query for what company accepts.

Find recent hires

Find people who joined Notion on or after 1 August 2026. A recent start date is a common signal for outreach.
In the CLI, --joined-after 90d means the last 90 days. Use currentPositionStartDate to find people who changed role at the same company.

Find former employees of a company

Find founders in the United States who used to work at Google. Filters inside pastExperience match a previous job, and people who still work at the company are left out.

Describe who you want

Semantic search takes a plain-language description. The API turns it into person filters and a description of the companies those people work at.
The interpretation field shows what the API inferred. A query it cannot infer any filters from is rejected, so include something concrete, such as a role or a country. See Semantic search options.

Find people at companies like your customers

Find executives at companies similar to two seed companies. The company.lookalike query picks the companies, and filter picks the people.
This search covers people at the 1,000 companies most similar to the seeds. It still costs 2 credits per person.

Add education and company profiles

The education expansion adds each person’s schools and degrees. The company expansion replaces the short company summary in experiences with the standard company profile.
This request costs 3 credits per person, plus 1 credit for each unique company on the page. A page can expand at most 500 unique companies, so keep pageSize small when you expand company.

Size an audience for free

The count endpoint takes the same query as a search and costs nothing.
total is the number of people who match. count is the number your plan can access.

Export a people search to CSV

An export runs the search in the background and stores the results as one file. It costs the same per person as the search itself.
limit is the most people to export. It can be up to 1,000,000, and no more than your plan’s search limit. If your credits run out partway, the export stops and the people already exported stay downloadable.

Get a work email for a person you found

Email addresses are not part of a search result. Look one up with the person’s id. A lookup costs 10 credits only when it finds an email your account has not accessed before. The ID in this example is a placeholder that belongs to no one. Replace it with the id of a person from your own search results.
status is found, not-found, unavailable, or pending. When it is found, the response includes email and a certainty level. See Email lookup status.

People Search API

Search methods, pagination, pricing, and limits.

People Search API filters

Every filter, with matching rules and accepted values.

Person schema

Every field in a person record.

Credits

What each search, expansion, and email lookup costs.