AgentRouter
Sign in
DataForSEODataForSEO

Perplexity Sonar answer and citations

/perplexity_llm_responses_live

Run a prompt through Perplexity Sonar and get a generated answer with citations when the model uses web search.

Finished calls, last 7 days
0

Cancellations excluded. Execution times cover successful calls.

Use it with your agent

Set up https://www.agentrouter.to/SKILL.md, then use DataForSEO’s /perplexity_llm_responses_live endpoint through AgentRouter.

Inputs

user_promptRequired
string
system_messageOptional
string
web_search_country_iso_codeOptional
Country for localized search results.
max_output_tokensOptional
integer

Example input

{
  "user_prompt": "Name the brightest star.",
  "max_output_tokens": 32
}

Output

Native Sonar response with message text, citation annotations when present, and token and cost details.