Skip to main content
This guide takes a plain-language description of an audience to a page of people, then shows how to make the search precise, size it for free, page through it and keep it.

Search with a description

Describe who you want in query. The search turns it into filters and answers with them:
Read what came back besides the people:
  • filters: what the search ran with. This is the search from now on.
  • unresolvedCriteria: parts of the query that could not be turned into a filter. When it is not empty, the search is broader than the query.
  • closestCompanyMatches: companies the query named that had several same-named matches, and the one the search chose.
A search takes exactly one of query, filters, savedSearchId or savedSearchName.

Refine the filters

Once you have filters, edit them directly. GET /v1/people/filters lists every filter and the values it takes:
Free-text filters, such as job titles, companies, schools and skills, have no fixed values. Their entry names the autocomplete query that suggests them:
Send a suggestion’s name as the filter value. A value that matches nothing answers 422 with filter_value_unresolved, naming the filter in param.

Count before you pay

Counting is free. Send the same filters to POST /v1/people/count:
A new count runs in the background. The first answer is 202 with status pending. Send the same request every few seconds until it answers 200:
A count takes up to about a minute and a half.

Page through the results

Send the filters with the page’s nextCursor as cursor. Only a missing nextCursor marks the end. Each page is charged for its own people, so limit sets what a page can cost: 25 people at most $0.0025. See Pagination.

Look up one person

linkedinUrl finds one person by their LinkedIn profile, as a URL, in/<slug> or the bare slug. Send it alone, or with filters to check the person matches them:
Save the filters under a title, then run them again whenever you need fresh results:
A run is a people search: it pages and is charged the same way. Creating, changing and deleting a saved search need a key that can write.