Perform People Search

Returns the people matching the given keywords and filters, as users described by what the search shows about them (where they live, study or work...). Send the same body with cursor to get the next pages.
LIMITATIONS: Available on Facebook. On Facebook, the page size is set by Facebook whatever the limit (usually 10 to 20 results), a list filter takes one ID, and an ID Facebook does not know is ignored. network_distance takes one degree, [1] (friends) or [2] (friends of friends), and cannot be combined with connections_of. LinkedIn people searches have their own routes (/linkedin/search/people).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^acc_(.*)$

ID of the Account (acc_xxx) to call the method on behalf of.

Query Params
string

A cursor used for pagination. Use next_cursor given by the previous page of the list.

integer
≥ 1
Defaults to 20

The limit of items to be returned. The maximum allowed value depends on the provider. This is a ceiling, not a guarantee: some providers can return fewer items than requested for a given page.

Body Params

The criteria of the search.

The criteria of the search.

string
required
length ≥ 1
\S

The keywords to search people for.

network_distance
array of numbers, unique
length ≥ 1

Only return the people at these degrees of connection with the account owner (if supported by the provider).

  • 1 its relations (friends, connections).
  • 2 the relations of its relations.
  • 3 the people further away.
string
length ≥ 1

Only return the relations of this user, given by their ID.

location
array of strings, unique
length ≥ 1

Only return the people living in one of these cities. Use the IDs of location search parameters.

location
school
array of strings, unique
length ≥ 1

Only return the people who went to one of these schools. Use the IDs of school search parameters.

school
company
array of strings, unique
length ≥ 1

Only return the people who work or worked at one of these companies. Use the IDs of company search parameters.

company
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json