Skip to main content
The search_type parameter switches the Search API between general web search and specialized search modes. Set search_type="people" to invoke People Search and retrieve professional information about individuals such as names, job titles, and companies.

Overview

People Search lets you query Perplexity’s index for professionals, employees, and public figures. Use it when your application needs to:
  • Look up a specific person’s professional background
  • Find employees at a company by role or title
  • Identify professionals in a particular field or location
  • Research leadership teams or organizational structures
Pass search_type="people" on a standard Search API request to route the query through the People Search backend. All other Search API parameters (e.g., max_results, max_tokens_per_page) continue to apply.

Request Example

The example below finds engineering leadership at a specific company.

Query Tips

For best results, include identifying details in the query:
For agentic workflows that need the model to autonomously decide when to look up people, use the people_search tool with the Agent API instead. To wire People Search into a third-party agent SDK, see Use as an agent tool below.

Use as an agent tool

People Search can be exposed to a third-party agent SDK as a people_search function tool — useful when you want the model to autonomously decide when to look up individuals. The plumbing below mirrors the web_search Agent SDK integrations; wire people_search into the same tool-call loop alongside or in place of web_search.

Tool description

Keep the description verbatim — its wording is what produces good, focused queries and prevents the model from picking People Search for general-knowledge questions.

Tool registration

The tool registration shape varies per SDK. The schema allows up to five queries (vs. three for web_search).

Handler

The handler is identical across SDKs — call Search API with search_type="people":

Tool-call loop

The tool-call loop is identical to the web_search pattern in each SDK’s guide. Wire people_search into the same loop, either alongside web_search or on its own, and dispatch on the tool name when handling tool calls.

Anthropic SDK

Messages API tool-use loop.

OpenAI SDK

Responses API tool-call loop.

Gemini SDK

google-genai SDK function calling.