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
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.Response
Response
Query Tips
For best results, include identifying details in the query:| Approach | Example query |
|---|---|
| Name + company | ”Find John Smith who works at Google” |
| Role + company | ”Head of Design at Figma” |
| Role + location | ”Marketing directors in San Francisco” |
| Role + field | ”Machine learning researchers at Stanford” |
Use as an agent tool
People Search can be exposed to a third-party agent SDK as apeople_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 forweb_search).
- Anthropic
- OpenAI
- Gemini
Handler
The handler is identical across SDKs — call Search API withsearch_type="people":
Tool-call loop
The tool-call loop is identical to theweb_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.