Documentation Index
Fetch the complete documentation index at: https://docs.perplexity.ai/llms.txt
Use this file to discover all available pages before exploring further.
Power your products with unparalleled real-time, web-wide research and Q&A capabilities.
Quickstart GuideGetting started is simple and fast—make your first API call within minutes.
Example Code
from perplexity import Perplexity
client = Perplexity()
search = client.search.create(
query=[\
"What is Comet Browser?",\
"Perplexity AI",\
"Perplexity Changelog"\
]
)
for result in search.results:
print(f"{result.title}: {result.url}")
Available APIs
Access third-party models with web search tools and presets.
Get raw, ranked web search results with advanced filtering and real-time data.
Generate high-quality embeddings for semantic search and RAG pipelines.