The Perplexity API Platform is a suite of models and endpoints that lets developers bring Perplexity’s real-time, web-grounded intelligence into their own applications. You can build search, question-answering, autonomous agents, and retrieval pipelines on the same infrastructure that powers Perplexity’s public answer engine.

Our dedicated developer documentation lets you start building in minutes. Learn more on the API Platform page, and create an account to get started.

What you can build with

Agent API — access third-party models alongside built-in tools and presets to build autonomous, tool-using agents. Built-in tools include Web Search (web_search) and URL Fetch (fetch_url), plus People Search and Finance Search, and presets like fast, pro-search, and deep-research give you optimized, ready-to-use configurations.

Search API — programmatic access to the same global-scale retrieval infrastructure that powers Perplexity’s answer engine, with an index spanning hundreds of billions of webpages. It returns raw, ranked, structured results with advanced filtering and real-time data, and supports options like regional targeting and multi-query requests for efficient research workflows.

Embeddings API — generate high-quality embeddings for semantic search and retrieval-augmented generation (RAG) pipelines.

Getting started

  1. Create an account and sign in to the API Console.

  2. Add a payment method and buy credits in the Billing tab.

  3. Generate an API key in the API Keys tab.

  4. Make your first call using the Agent API Quickstart.

Note: API Credits are separate from Computer Credits.