Search API
Search the Web
Search the web and retrieve relevant web page contents.
POST
Search the Web
Search API vs. Agent API. These are different APIs with different response shapes.
- Search API — Returns structured JSON
results[]withtitle,url,snippet,date, andlast_updated. Callhttps://api.perplexity.ai/searchdirectly — no router required. - Agent API — Researched answers with built-in web search. Returns a prose answer with citations, not a results array.
Response Shape
The Search API returns a rankedresults[] array. Each result includes title, url, snippet, and optional date and last_updated fields:
Example Response
Example Response
Direct Call
Authorizations
Body
application/json
Search the Web