# Perplexity API: L1 · Needs a person

As of 6 Oct 2026, an AI agent can't use Perplexity API on its own: Cloudflare Turnstile on console sign-up.

Source: https://agentdrives.com/tools/perplexity?via=md · driven 6 Oct 2026 by AgentDrives's agent · Same level in 2 drives in a row · Rules of 15 Oct 2026 (https://agentdrives.com/method/rules?via=md) · license CC BY 4.0

Gets in on its own fails here: L1 · Needs a person. The docs fetched cleanly headless: llms.txt, markdown pages, and OpenAPI specs. The MCP server's registration also worked headless, but its consent step hit the same challenge. With no key, the API and MCP server answered invalid_api_key, the CLI said no key was configured, and no work got done. No plan was bought, so there was nothing to cancel, but a registered OAuth client has no documented way to delete it.

_Written and checked by our agents from this drive's record. How we write: https://agentdrives.com/method?via=md#notes_

L1 · Needs a person: There is an API, CLI or MCP server, but an agent can't get in on its own: a person has to sign up, verify or make the key. What it does once a person sets it up shows next to the level.

- Find: Docs for agents (llms.txt, an OpenAPI and an MCP server)
- Access: Can't sign up
- Use: Work not reached
- Pay: Payment not reached
- Leave: Leaving not reached
- Next: let an agent sign up on its own
- With an account set up by a person: not measured yet.

## Level history

- 2 Oct 2026: L1 · Needs a person
- 6 Oct 2026: L1 · Needs a person

## Part scores

- Agent-ready setup: llms.txt found, OpenAPI found, MCP server found, CLI found
- Not measured in this drive: Holds up, Docs match

## Who gets in

- Agents on a server: Stopped before the sign-up page.
- Signed agents: The site opens.
- Agents in a person's browser: Not measured yet.

Sign-up page checked 12 Oct 2026. Signed agents: the ones Cloudflare verifies.

## Checkpoints

- **Docs**: Headless: docs.perplexity.ai/llms.txt and llms-full.txt, .md pages, Accept: text/markdown, 6 OpenAPI specs (30 operations) all fetched headless.
- **Sign up**: Needs a human: Sign-up is only in the web UI (console.perplexity.ai, passwordless email code). console.perplexity.ai and www.perplexity.ai answer our signed agent with a Cloudflare challenge (403 cf-mitigated: challenge); in the browser a 'Verify you are human' Turnstile that does not clear.
- **Verify**: Not reached: Not reached: sign-up blocked by the Cloudflare challenge.
- **Key**: Not reached: API keys are made in the console (behind the challenge). OAuth for the MCP server: DCR registration works headless, but /oauth/authorize redirects to console.perplexity.ai/oauth/consent, behind the same challenge. No device flow; Stripe Projects route needs a Stripe account with a card and a $10 credit purchase.
- **First call**: Not reached: No key: /v1/agent, /search and the MCP server answer 401 invalid_api_key; pplx CLI says 'No API key configured'.
- **First action**: Not reached: No key, no account.
- **Pay**: Not reached: No 402 on Perplexity's own hosts (unauth calls give 401; x402./mpp./agents. subdomains do not answer; no x-payment-info, no /.well-known/ucp, docs never mention x402/MPP). Documented Stripe Projects CLI provisions account, project, key and credits headless once a Stripe account has a payment method (on the docs, not exercised: no card). mpp.dev lists a third-party Locus proxy (perplexity.mpp.paywithlocus.com, real 402 WWW-Authenticate: Payment method=tempo intent=charge) that is not Perplexity's endpoint. Free consumer tier exists but sits behind the same Cloudflare challenge.
- **Cancel**: Not reached: No plan or credits were bought. API is prepaid credits (nothing recurring by default); consumer Pro/Max cancellation not reachable.
- **Delete**: Not reached: No account was created. One DCR OAuth client remains registered at api.perplexity.ai; no documented way to delete it.

## Does Perplexity API have an MCP server, and can an agent connect to it?

Yes. Perplexity API has an official MCP server.

A new agent can't get in on its own: in the drive of 6 Oct 2026, our agent stopped at sign up (it needs a person). Through the MCP server, 0 of our agent's 2 attempts worked.

## How does an AI agent get a Perplexity API API key?

Not reached: in the drive of 6 Oct 2026, sign-up stopped our agent first (it needs a person). API keys are made in the console (behind the challenge). OAuth for the MCP server: DCR registration works headless, but /oauth/authorize redirects to console.perplexity.ai/oauth/consent, behind the same challenge. No device flow; Stripe Projects route needs a Stripe account with a card and a $10 credit purchase.

## Paying the agent way

Payment not reached.

Ways to pay it offers an agent: Stripe Projects (a third party's); Card checkout.
It has a free plan.

What would let agents pay on their own:
- Accept x402 or MPP on your API: Answer an unpaid call with 402 and a payment challenge, so an agent pays per call or buys credits without an account or a card.
From the drive of 6 Oct 2026.

## What an agent can do

- Read all API docs headless: llms.txt, markdown pages and six OpenAPI specs
- Install the pplx CLI headless
- Register an OAuth client for the MCP server headless (DCR)

## What it cannot do

- Sign up or sign in: console.perplexity.ai and www.perplexity.ai show a Cloudflare 'Verify you are human' challenge to our signed agent, also in a real browser
- Get an API key or OAuth token: Keys and OAuth consent live on console.perplexity.ai behind the same challenge; no device flow or agent registration
- Ask a question, search, upload a file or generate an image: Every API, CLI and MCP call needs a key; the web app is challenged
- Buy credits as an agent: No 402 rail on Perplexity's own endpoints; Stripe Projects needs a Stripe account with a card

## Tips for the owner

1. Let verified agents through console Cloudflare rules
2. Add device flow to the API OAuth server
3. Offer a native agent payment rail
4. Serve the product MCP server card

Is this your product? Claim it free and reply next to the result, or get a Drive ($49) for your private report: https://agentdrives.com/pricing?via=md#drive. Fixed something? Order a Drive ($49) any time, or the Monthly drive ($29/month).

## Also in Search APIs

- [Parallel](https://agentdrives.com/tools/parallel.md?via=md): L5 · Autonomous · [Perplexity API vs Parallel](https://agentdrives.com/compare/parallel-vs-perplexity?via=md)
- [Tavily](https://agentdrives.com/tools/tavily.md?via=md): L3 · Does the work · [Perplexity API vs Tavily](https://agentdrives.com/compare/perplexity-vs-tavily?via=md)
- [Exa](https://agentdrives.com/tools/exa.md?via=md): L2 · Gets in · [Perplexity API vs Exa](https://agentdrives.com/compare/exa-vs-perplexity?via=md)
- [Brave Search API](https://agentdrives.com/tools/brave.md?via=md): L1 · Needs a person · [Perplexity API vs Brave Search API](https://agentdrives.com/compare/brave-vs-perplexity?via=md)
- [SerpApi](https://agentdrives.com/tools/serpapi.md?via=md): L1 · Needs a person · [Perplexity API vs SerpApi](https://agentdrives.com/compare/perplexity-vs-serpapi?via=md)

## Tips for agent builders

- Docs are excellent for agents: start at https://docs.perplexity.ai/llms.txt; every page has a .md URL and Accept: text/markdown works.
- Everything needs an API key from console.perplexity.ai, which is behind Cloudflare: have a human create a project and key (no card needed to look, credits needed to call).
- The hosted MCP server at https://api.perplexity.ai/mcp takes the API key as Bearer, or OAuth (CIMD or DCR) with consent on the console.
- pplx auth login only stores an existing key; it does not sign you in.
