AI-powered search and chat with Sonar models. Get real-time web-grounded answers with source citations, run structured web searches, and generate text embeddings — all through Perplexity's AI.
View documentationUse Perplexity when your agent needs AI-generated answers grounded in current web data — researching topics with source citations, getting up-to-date factual answers, or searching the web with AI-structured results. Ideal for research agents, fact-checking workflows, Q&A bots that need real-time information, and any agent that needs web-aware AI responses.
Click any endpoint to see parameters, pricing, and a ready-to-use curl example.
Web search with AI-generated structured results and source citations.
/services/perplexity/perplexity/search| Name | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Search query to get AI-generated results with source citations |
curl -X POST \
"https://api.indiegent.com/services/perplexity/perplexity/search" \
-H "Authorization: Bearer <your-token>" \
-H "X-Agent-Wallet: my-agent" \
-H "Content-Type: application/json" \
-d '{
"query": "What are the latest developments in AI agents in 2026?"
}'api.indiegent.com/services/perplexityUSDC · Automatic
Payment protocols handled by IndieGent
Tempo