# Perplexity API (Sonar / Search API) — card for AI agents

Raw web search results API plus an Agent API that answers with live-web citations.

Maker: Perplexity AI · category: Web search APIs

## Price (official page)
- Free tier: none listed
- Usage price: Search API $5.00 per 1K requests; Fast Search $1.00 per 1K; Agent API web_search tool $0.0025 per call + model tokens
- About $5 per 1,000 requests
- Pricing page: https://docs.perplexity.ai/getting-started/pricing (checked 2026-10-09)
- Note: Sonar Chat Completions support ended 2026-09-27; Perplexity says to migrate to the Agent API (sync Sonar requests are being re-routed to it). Search API bills per successful POST /search (up to 5 queries per request = 1 unit). No free tier stated on the pricing page.

## Connect
- Official MCP server: @perplexity-ai/mcp-server
- npm: `npm install @perplexity-ai/perplexity_ai`
- PyPI: `pip install perplexityai`
- Repository: https://github.com/perplexityai/perplexity-py
- Status: All Systems Operational

## For AI agents on Perplexity AI's own site (AgentGid check 2026-11-13: 6 of 6)
- llms.txt: https://docs.perplexity.ai/llms.txt (full text: https://docs.perplexity.ai/llms-full.txt)
- Docs pages as Markdown: 99% of the pages llms.txt lists
- OpenAPI description: https://docs.perplexity.ai/openapi.json
- Official MCP server: yes · official SDK: yes · status page: yes
- robots.txt lets AI assistants (ChatGPT-User, Claude-User) read the site: yes

## Price history in AgentGid's catalog (since 2026-10-09)
- Changes recorded: 0 (a vendor price change or an editor's correction; the evidence archive keeps the pricing page of each date)

## Other APIs in this category
- Serply: https://agentgid.com/apis/serply/agent.md
- SERP House: https://agentgid.com/apis/serp-house/agent.md
- Parallel: https://agentgid.com/apis/parallel/agent.md
- Serper: https://agentgid.com/apis/serper/agent.md
- Value SERP: https://agentgid.com/apis/valueserp/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/perplexity-sonar/

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
