# Perplexity ## Docs - [Get Async Chat Completion](https://docs.perplexity.ai/api-reference/async-chat-completions-api-request-get.md): Retrieve the response for a given asynchronous chat completion request. - [List Async Chat Completions](https://docs.perplexity.ai/api-reference/async-chat-completions-get.md): Retrieve a list of all asynchronous chat completion requests for a given user. - [Create Async Chat Completion](https://docs.perplexity.ai/api-reference/async-chat-completions-post.md): Submit an asynchronous chat completion request. - [Create Chat Completion](https://docs.perplexity.ai/api-reference/chat-completions-post.md): Generate a chat completion response for the given conversation. - [Generate Auth Token](https://docs.perplexity.ai/api-reference/generate-auth-token-post.md): Generates a new authentication token for API access. - [Create Response](https://docs.perplexity.ai/api-reference/responses-post.md): Generate a response for the provided input with optional web search and reasoning. - [Revoke Auth Token](https://docs.perplexity.ai/api-reference/revoke-auth-token-post.md): Revokes an existing authentication token. - [Search the Web](https://docs.perplexity.ai/api-reference/search-post.md): Search the web and retrieve relevant web page contents. - [API Key Management](https://docs.perplexity.ai/docs/admin/api-key-management.md): Learn how to generate, revoke, and rotate API keys for secure access - [Rate Limits & Usage Tiers](https://docs.perplexity.ai/docs/admin/rate-limits-usage-tiers.md) - [Memory Management](https://docs.perplexity.ai/docs/cookbook/articles/memory-management/README.md): Advanced conversation memory solutions using LlamaIndex for persistent, context-aware applications - [Chat Summary Memory Buffer](https://docs.perplexity.ai/docs/cookbook/articles/memory-management/chat-summary-memory-buffer/README.md): Token-aware conversation memory using summarization with LlamaIndex and Perplexity Sonar API - [Persistent Chat Memory](https://docs.perplexity.ai/docs/cookbook/articles/memory-management/chat-with-persistence/README.md): Long-term conversation memory using LanceDB vector storage and Perplexity Sonar API - [OpenAI Agents Integration](https://docs.perplexity.ai/docs/cookbook/articles/openai-agents-integration/README.md): Complete guide for integrating Perplexity's Sonar API with the OpenAI Agents SDK - [Examples Overview](https://docs.perplexity.ai/docs/cookbook/examples/README.md): Ready-to-use applications demonstrating Perplexity Sonar API capabilities - [Daily Knowledge Bot](https://docs.perplexity.ai/docs/cookbook/examples/daily-knowledge-bot/README.md): A Python application that delivers interesting facts about rotating topics using the Perplexity AI API - [Perplexity Discord Bot](https://docs.perplexity.ai/docs/cookbook/examples/discord-py-bot/README.md): A simple discord.py bot that integrates Perplexity's Sonar API to bring AI answers to your Discord server. - [Disease Information App](https://docs.perplexity.ai/docs/cookbook/examples/disease-qa/README.md): An interactive browser-based application that provides structured information about diseases using Perplexity's Sonar API - [Fact Checker CLI](https://docs.perplexity.ai/docs/cookbook/examples/fact-checker-cli/README.md): A command-line tool that identifies false or misleading claims in articles or statements using Perplexity's Sonar API - [Financial News Tracker](https://docs.perplexity.ai/docs/cookbook/examples/financial-news-tracker/README.md): A real-time financial news monitoring tool that fetches and analyzes market news using Perplexity's Sonar API - [Academic Research Finder CLI](https://docs.perplexity.ai/docs/cookbook/examples/research-finder/README.md): A command-line tool that uses Perplexity's Sonar API to find and summarize academic literature - [Perplexity API Cookbook](https://docs.perplexity.ai/docs/cookbook/index.md): A collection of practical examples and guides for building with Perplexity's API Platform - [4Point Hoops | AI Basketball Analytics Platform](https://docs.perplexity.ai/docs/cookbook/showcase/4point-Hoops.md): Advanced NBA analytics platform that combines live Basketball-Reference data with Perplexity Sonar to deliver deep-dive player stats, cross-season comparisons and expert-grade AI explanations - [Ellipsis | One-Click Podcast Generation Agent](https://docs.perplexity.ai/docs/cookbook/showcase/Ellipsis.md): A next-gen podcast generation agent that brings human-like, high-quality audio content to life on any topic with just one click - [BazaarAISaathi | AI-Powered Indian Stock Market Assistant](https://docs.perplexity.ai/docs/cookbook/showcase/bazaar-ai-saathi.md): An AI-powered platform for Indian stock market analysis, portfolio optimization, and investment strategies using Perplexity Sonar API - [Briefo | Perplexity Powered News & Finance Social App](https://docs.perplexity.ai/docs/cookbook/showcase/briefo.md): AI curated newsfeed, social discussion, and deep research reports built on the Sonar API - [CityPulse | AI-Powered Geospatial Discovery Search](https://docs.perplexity.ai/docs/cookbook/showcase/citypulse-ai-search.md): Real-time local discovery search using Perplexity AI for personalized location insights and recommendations - [CycleSyncAI | Personalized Health Plans Powered by Sonar API](https://docs.perplexity.ai/docs/cookbook/showcase/cycle-sync-ai.md): iOS app that delivers personalized diet and workout recommendations for women, powered by Apple HealthKit and Perplexity's Sonar Pro API. - [Daily News Briefing | AI-Powered News Summaries for Obsidian](https://docs.perplexity.ai/docs/cookbook/showcase/daily-news-briefing.md): An Obsidian plugin that delivers AI-powered daily news summaries directly to your vault using Perplexity's Sonar API for intelligent content curation - [Executive Intelligence | AI-Powered Strategic Decision Platform](https://docs.perplexity.ai/docs/cookbook/showcase/executive-intelligence.md): A comprehensive Perplexity Sonar-powered application that provides executives and board members with instant, accurate, and credible intelligence for strategic decision-making - [Fact Dynamics | Real-time Fact-Checking Flutter App](https://docs.perplexity.ai/docs/cookbook/showcase/fact-dynamics.md): Cross-platform app for real-time fact-checking of debates, speeches, and images using Perplexity's Sonar API - [FirstPrinciples | AI Learning Roadmap Generator](https://docs.perplexity.ai/docs/cookbook/showcase/first-principle.md): An AI-powered learning roadmap generator that uses conversational AI to help users identify specific learning topics and provides personalized step-by-step learning plans - [FlameGuardAI | AI-powered wildfire prevention](https://docs.perplexity.ai/docs/cookbook/showcase/flameguardai.md): AI-powered wildfire prevention using OpenAI Vision + Perplexity Sonar API - [Flow & Focus | Personalized News for Genuine Understanding](https://docs.perplexity.ai/docs/cookbook/showcase/flow-and-focus.md): A personalized news app combining vertical feed discovery with AI-powered deep dives using Perplexity Sonar Pro and Deep Research models - [Greenify | Localized community-driven greenification/plantation solution with AI](https://docs.perplexity.ai/docs/cookbook/showcase/greenify.md): A mobile application that analyzes photos and location data to suggest suitable plants and build sustainable communities using Perplexity Sonar API - [Monday – Voice-First AI Learning Assistant](https://docs.perplexity.ai/docs/cookbook/showcase/monday.md): An accessible, multimodal AI learning companion that delivers contextual reasoning, 3D visualizations, and curated educational content via natural voice interaction. - [MVP LifeLine | AI Youth Empowerment Platform](https://docs.perplexity.ai/docs/cookbook/showcase/mvp-lifeline-ai-app.md): A multilingual, offline-first AI platform that helps underserved youth Earn, Heal, and Grow using real-time AI and holistic tools - [PerplexiCart | AI-Powered Value-Aligned Shopping Assistant](https://docs.perplexity.ai/docs/cookbook/showcase/perplexicart.md): An AI shopping assistant that uses Perplexity Sonar to deliver structured research, value-aligned recommendations, and transparent citations across the web - [PerplexiGrid | Interactive Analytics Dashboards](https://docs.perplexity.ai/docs/cookbook/showcase/perplexigrid.md): Instantly generate analytics dashboards from natural language using live data via Perplexity Sonar API. - [Perplexity Client | Desktop AI Chat Interface with API Controls](https://docs.perplexity.ai/docs/cookbook/showcase/perplexity-client.md): An Electron-based desktop client for Perplexity API with advanced features like model selection, custom system prompts, and API debugging mode - [Perplexity Dart & Flutter SDKs](https://docs.perplexity.ai/docs/cookbook/showcase/perplexity-flutter.md): Lightweight, type-safe SDKs for seamless Perplexity API integration in Dart and Flutter applications - [Perplexity Lens | AI-Powered Knowledge Graph Browser Extension](https://docs.perplexity.ai/docs/cookbook/showcase/perplexity-lens.md): A browser extension that builds personalized knowledge graphs using Perplexity AI for smart text selection, webpage summarization, and contextual insights - [PosterLens | Scientific Poster Scanner & Research Assistant](https://docs.perplexity.ai/docs/cookbook/showcase/posterlens.md): An iOS app that transforms static scientific posters into interactive insights using OCR and Perplexity's Sonar Pro API for semantic search and context - [Sonar Chromium Browser | Native Search Omnibox and Context Menu](https://docs.perplexity.ai/docs/cookbook/showcase/sonar-chromium-browser.md): Chromium browser patch with native Perplexity Sonar API integration providing omnibox answers and context-menu summarization - [StarPlex | AI-Powered Startup Intelligence Platform](https://docs.perplexity.ai/docs/cookbook/showcase/starplex.md): An AI-powered startup intelligence platform that helps entrepreneurs validate their business ideas and find the right resources to succeed - [TruthTracer | AI-Powered Misinformation Detection Platform](https://docs.perplexity.ai/docs/cookbook/showcase/truth-tracer.md): A comprehensive misinformation detection platform that uses Perplexity's Sonar API to analyze claims, trace trust chains, and provide Socratic reasoning for fact verification - [UnCovered | Real-Time Fact-Checking Chrome Extension](https://docs.perplexity.ai/docs/cookbook/showcase/uncovered.md): A Chrome extension that brings real-time fact-checking to anything you see online in just 2 clicks, powered by Perplexity's Sonar API for instant verification - [Valetudo AI | Trusted Medical Answer Assistant](https://docs.perplexity.ai/docs/cookbook/showcase/valetudo-ai.md): Sonar-powered medical assistant for fast, science-backed answers. - [API Groups & Billing](https://docs.perplexity.ai/docs/getting-started/api-groups.md): Learn how to use the Perplexity API Portal to manage access, usage, billing, and team collaboration. - [Perplexity with LangChain](https://docs.perplexity.ai/docs/getting-started/integrations/langchain.md): Use Perplexity's chat models and search tool in your LangChain applications. - [Perplexity MCP Server](https://docs.perplexity.ai/docs/getting-started/integrations/mcp-server.md): Connect AI assistants to Perplexity's search and reasoning capabilities using the Model Context Protocol (MCP). - [null](https://docs.perplexity.ai/docs/getting-started/models.md) - [null](https://docs.perplexity.ai/docs/getting-started/overview.md) - [Pricing](https://docs.perplexity.ai/docs/getting-started/pricing.md) - [Quickstart](https://docs.perplexity.ai/docs/getting-started/quickstart.md): Generate an API key and make your first call in < 3 minutes. - [Academic Filter Guide](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/filters/academic-filter.md) - [Search Context Size](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/filters/context-size.md) - [Language Filter Guide](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/filters/language-filter.md) - [Web Search Control](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/filters/search-control.md): Control when Sonar models search the web using the search classifier or by disabling search altogether. - [SEC Filings Filter Guide](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/filters/sec-guide.md) - [File Attachments with Sonar](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/media/file-attachments.md): Learn how to upload and analyze documents (PDF, DOC, DOCX, TXT, RTF) using Sonar models - [Returning Images](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/media/returning-images.md): Control image results with domain and format filters using Sonar models - [Returning Videos](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/media/returning-videos.md): Learn how to return videos in API responses using media_response overrides with raw HTTP requests - [Pro Search Classifier](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/pro-search/classifier.md): Optimize cost and performance with automatic query classification between Pro Search and Fast Search modes - [Quickstart](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/pro-search/quickstart.md): Get started with Pro Search for Sonar Pro - enhanced search with automated tools, multi-step reasoning, and real-time thought streaming - [Stream Mode: Concise vs Full](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/pro-search/stream-mode.md): Learn how to use stream_mode to control streaming response formats and optimize your integration - [Built-in Tool Capabilities](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/pro-search/tools.md): Learn about Pro Search's built-in tools: web search and URL content fetching - [Chat Completions API](https://docs.perplexity.ai/docs/grounded-llm/chat-completions/quickstart.md): Get started with Perplexity's Chat Completions API for web-grounded AI responses. Make your first API call in minutes. - [Date and Time Filters](https://docs.perplexity.ai/docs/grounded-llm/filters/date-range-filter.md) - [Domain Filter Guide](https://docs.perplexity.ai/docs/grounded-llm/filters/domain-filters.md) - [User Location Filter Guide](https://docs.perplexity.ai/docs/grounded-llm/filters/user-location-filter.md) - [Image Attachments](https://docs.perplexity.ai/docs/grounded-llm/media/image-attachments.md): Learn how to upload and analyze images using base64 encoding or HTTPS URLs - [OpenAI Compatibility](https://docs.perplexity.ai/docs/grounded-llm/openai-compatibility.md): Use your existing OpenAI SDKs with Perplexity's Chat Completions and Agentic Research APIs. Full compatibility with minimal code changes. - [Streaming Responses](https://docs.perplexity.ai/docs/grounded-llm/output-control/streaming-responses.md): Learn how to stream real-time responses using Perplexity's SDKs and APIs - [Structured Outputs Guide](https://docs.perplexity.ai/docs/grounded-llm/output-control/structured-outputs.md) - [Prompt Guide](https://docs.perplexity.ai/docs/grounded-llm/prompting/prompt-guide.md) - [Model Fallback](https://docs.perplexity.ai/docs/grounded-llm/responses/model-fallback.md): Specify multiple models in a fallback chain for higher availability and automatic failover. - [Models](https://docs.perplexity.ai/docs/grounded-llm/responses/models.md): Explore available presets and third-party models for the Agentic Research API, including Perplexity presets and third-party model support. - [Presets](https://docs.perplexity.ai/docs/grounded-llm/responses/presets.md): Explore Perplexity's Agentic Research API presets - pre-configured setups optimized for different use cases with specific models, token limits, and tool access. - [Agentic Research API](https://docs.perplexity.ai/docs/grounded-llm/responses/quickstart.md): The Agentic Research API is a multi-provider, interoperable API specification for building LLM applications. Access models from multiple providers with integrated real-time web search, tool configuration, reasoning control, and token budgets—all through one unified interface. - [Fetch URL](https://docs.perplexity.ai/docs/grounded-llm/responses/tools/fetch-url.md): Fetch and extract content from specific URLs using the fetch_url tool in the Agentic Research API. - [Function Calling](https://docs.perplexity.ai/docs/grounded-llm/responses/tools/function-calling.md): Define custom functions that models can call to interact with external systems, databases, and APIs through the Agentic Research API. - [Tools Overview](https://docs.perplexity.ai/docs/grounded-llm/responses/tools/overview.md): Extend model capabilities with built-in tools and custom functions in the Agentic Research API. - [Web Search](https://docs.perplexity.ai/docs/grounded-llm/responses/tools/web-search.md): Perform web searches with advanced filtering options using the web_search tool in the Agentic Research API. - [Changelog](https://docs.perplexity.ai/docs/resources/changelog.md) - [Get in Touch](https://docs.perplexity.ai/docs/resources/discussions.md) - [Frequently Asked Questions](https://docs.perplexity.ai/docs/resources/faq.md) - [API Roadmap](https://docs.perplexity.ai/docs/resources/feature-roadmap.md): Upcoming features and improvements for the Perplexity API designed to enhance your development experience. - [Perplexity Crawlers](https://docs.perplexity.ai/docs/resources/perplexity-crawlers.md): We strive to improve our service every day by delivering the best search experience possible. To achieve this, we collect data using web crawlers ("robots") and user agents that gather and index information from the internet, operating either automatically or in response to user requests. Webmasters can use the following robots.txt tags to manage how their sites and content interact with Perplexity. Each setting works independently, and it may take up to 24 hours for our systems to reflect changes. - [Privacy & Security](https://docs.perplexity.ai/docs/resources/privacy-security.md): Learn about Perplexity's data privacy, retention policies, and security certifications for API users - [System Status](https://docs.perplexity.ai/docs/resources/status.md) - [Best Practices](https://docs.perplexity.ai/docs/sdk/best-practices.md): Learn best practices for using the Perplexity SDKs in production, including environment variables, rate limiting, security, and efficient request patterns. - [Configuration](https://docs.perplexity.ai/docs/sdk/configuration.md): Learn how to configure the Perplexity SDKs for retries, timeouts, proxies, and advanced HTTP client customization. - [Error Handling](https://docs.perplexity.ai/docs/sdk/error-handling.md): Learn how to handle API errors gracefully with the Perplexity SDKs for Python and TypeScript/JavaScript. - [Quickstart](https://docs.perplexity.ai/docs/sdk/overview.md): Learn how to use the official Perplexity SDKs for Python and TypeScript/JavaScript to access the Perplexity APIs with type safety and async support. - [Performance Optimization](https://docs.perplexity.ai/docs/sdk/performance.md): Learn how to optimize the Perplexity SDKs for high-throughput applications with async support, connection pooling, and raw response access. - [Type Safety](https://docs.perplexity.ai/docs/sdk/type-safety.md): Learn how to leverage full TypeScript definitions and Python type hints with the Perplexity SDKs for better development experience and code safety. - [Best Practices](https://docs.perplexity.ai/docs/search/best-practices.md): Learn best practices for optimizing search queries and implementing efficient async patterns with Perplexity's Search API. - [Search Date and Time Filters](https://docs.perplexity.ai/docs/search/filters/date-time-filters.md) - [Search Domain Filter](https://docs.perplexity.ai/docs/search/filters/domain-filter.md) - [Search Language Filter](https://docs.perplexity.ai/docs/search/filters/language-filter.md) - [Perplexity Search API](https://docs.perplexity.ai/docs/search/quickstart.md): Access real-time web search results with Perplexity's Search API. Get ranked results, domain filtering, multi-query search, and content extraction for developers. ## Optional - [Forum](https://community.perplexity.ai) - [Blog](https://perplexity.ai/blog) - [Changelog](https://docs.perplexity.ai/resources/changelog)