Answer questions from live web search with cited sources
Ask Perplexity's Agent API a question and get an answer from a live web search, with numbered citations and their source links.
Your keys
0 of 1 ready
Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. What you paste stays in this tab. It is never sent to Wirestack or saved.
- Perplexity API keyPERPLEXITY_API_KEYGet key
Open the API Keys page in the Perplexity API console and generate a key. Add credits in Billing first.
$
npx wirestack add perplexity-web-answers-with-citations-python@1Revision 1, checked Nov 8, 2026. Installs exactly
perplexityai 0.46.1, creates the files and adds the key names to your .env. It shows everything first and asks before changing anything.Adapt to my stackProShowing the original (Python). Pick your stack to see it rewritten.
Free accounts can open one adapted integration a month. Sign in to try it.
