# Perplexity: a developer platform with a ranked-results Search API and grounded answer APIs, plus an official MCP server

Category: AI Search APIs · Updated 2026-11-09 · Last checked 2026-11-09

Perplexity's API platform offers a Search API that returns ranked web results as JSON with extracted page text, and an Agent API that generates search-grounded answers and replaces the older Sonar chat completions. Its official hosted MCP server at api.perplexity.ai/mcp connects by OAuth sign-in or API key. Keys are generated in the API portal.

**Good to know:** This entry covers the developer API, not the consumer app. Sonar chat completions users are being moved to the Agent API through a migration guide. No webhooks are documented; long-running async jobs are retrieved by ID. Search API billing is per successful request, with up to five queries per request counted once.

## At a glance

| Field | Value |
| --- | --- |
| Pricing | Search API $5/1k requests ($1/1k with Fast Search); Agent API per token plus tool fees (web_search $2.50/1k calls); no free tier stated on the pricing page |
| Public API | Yes |
| MCP server | Yes |
| Webhooks | No |
| Open source | No |
| Agent score | 3/4 |
| Best for | Ranked web results or cited answers from one API key |

## Sources

1. Perplexity API pricing (docs.perplexity.ai/getting-started/pricing) (checked 2026-11-09)
2. Perplexity API MCP Server (docs.perplexity.ai/guides/mcp-server) (checked 2026-11-09)
3. Perplexity docs index (docs.perplexity.ai/llms.txt) (checked 2026-11-09)
