Perplexity AI API

Perplexity AI API — free tier with API key

AUTH APIKEYCORS AGENT ?HTTPS COMMERCIAL ?

Perplexity AI API exposes a free-tier JSON API. Register for an API key if required; we verified a public or demo endpoint.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
GET https://api.perplexity.ai/search

{
  "error": {
    "message": "Invalid API key provided. Ensure your API key is correct and active.",
    "type": "invalid_api_key",
    "code": 401
  }
}
Call itcurl · fetch · python
curl "https://api.perplexity.ai/search"
const res = await fetch("https://api.perplexity.ai/search");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://api.perplexity.ai/search")
print(res.json())
Endpoints · 6On scheduleFULL DOCS ↗
On schedule — GET /search awaits first probe
GET/searchPROBED

Perplexity AI API — free tier with API key

GET/search?limit=5

Paginated variant with limit parameter.

GET/v1/models

Models — documented GET route.

GET/v1/async/sonar

Sonar — documented GET route.

GET/v1/async/sonar/

Sonar — documented GET route.

GET/v1/analytics/computer/usage

Usage — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Not tracked yet. Shape-change history starts once this API joins our probe schedule.

Perplexity AI API: common questions

Is Perplexity AI API free to use?

Yes — Perplexity AI API is a free science & space API. Free tier: Free tier — API key required. Whether the free tier allows commercial use is unclear — check the provider docs.

Does Perplexity AI API need an API key?

Yes — Perplexity AI API needs a free API key, which you pass on each request. Rate limits: Unpublished.

Can I call Perplexity AI API from the browser?

Yes — Perplexity AI API returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Perplexity AI API up right now?

Perplexity AI API is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.