Search
Perplexity
Perplexity
Search
Execute a web search query using Perplexity Search API and return ranked results.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
query | text | Required | Search query text. |
max_results | number | Optional | Maximum number of results to return (1-20). |
max_tokens_per_page | number | Optional | Maximum content extraction tokens per result page. |
max_tokens | number | Optional | Maximum total content tokens returned across all results. |
country | text | Optional | Optional ISO 3166-1 alpha-2 country code for regional relevance (for example US). |
search_domain_filter | array of text | Optional | Optional list of domains to include or exclude (prefix with '-' to exclude). |
search_language_filter | array of text | Optional | Optional ISO 639-1 language codes. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code |
body | object | Perplexity Search API response. |
id | text | Search request ID. |
results | array of object | Ranked web search results. |
title | text | Result title. |
url | text | Result URL. |
snippet | text | Result snippet. |
date | text | Publication date, when available. |
last_updated | text | Last updated timestamp, when available. |