Perplexity

App · AI Models · 1 action

Ask Perplexity questions and get answers backed by a web search.

Ask Perplexity

Ask Perplexity a question and get an answer backed by a web search.

Inputs

PromptprompttextRequired
The question or instructions to send to Perplexity.
Modelmodeltext
Choose which Perplexity Sonar model answers your prompt. All models search the web before answering.One of: sonar (Sonar (fast web search answers, recommended)), sonar-pro (Sonar Pro (deeper research, more sources)), sonar-reasoning-pro (Sonar Reasoning Pro (advanced reasoning)), sonar-deep-research (Sonar Deep Research (long, in-depth reports)). Default: sonar.

Outputs

modeltext
Model.
response_texttext
Response text.
Example output
{
  "model": "sonar",
  "response_text": "Here is a web-researched answer to your question."
}

On this page