PASAR API

Perplexity API ~ web-grounded answers and search

← directory
PerplexityAItier: commercialauth: API keypricing: paidverified 2026-06-13

Bearer key; LLM responses with live web search. Global, works for MY.

View docs ↗ More AI APIs

Get started

# Perplexity API ~ web-grounded answers and search needs an API key ~ get yours at:
# https://docs.perplexity.ai/api-reference
curl 'https://api.perplexity.ai' \
  -H 'Authorization: Bearer YOUR_TOKEN'

AI prompt

I'm integrating a Malaysian API into my app.

API: Perplexity API ~ web-grounded answers and search
Provider: Perplexity
Auth: requires an API key (sign up: https://docs.perplexity.ai/api-reference)
Pricing: paid
Base URL: https://api.perplexity.ai

Help me set up authentication and make my first successful request ~ explain exactly where the credentials go.

Related AI APIs

OpenAI API ~ GPT models, embeddings, images, audioAnthropic Claude API ~ Claude LLM messagesGoogle Gemini API ~ multimodal LLMGroq API ~ fast LLM inferenceMistral AI API ~ open and frontier LLMsCohere API ~ LLMs, embeddings, rerankOpenRouter API ~ one endpoint for many LLMsHugging Face Inference Providers ~ run open modelsReplicate API ~ run and host ML modelsElevenLabs API ~ text-to-speech and voices