ScrapeLLM Perplexity AI Scraper
Perplexity AI
Perplexity AI API

Perplexity AI Scraper

Get the same structured response a user sees in Perplexity AI — including inline citations, source cards, related questions, and follow-up queries — as clean JSON.

3 credits / request No credit card required to start
api.scrapellm.com
curl "https://api.scrapellm.com/scrapers/perplexity" \
  -H "X-API-Key: your_api_key" \
  -G \
  --data-urlencode "prompt=What brands do marketers recommend?" \
  --data-urlencode "country=US"

// Response
{
  "scraper": "perplexity",
  "status": "done",
  "result": "Marketers commonly recommend...",
  "links": [ { "url": "...", "text": "..." } ],
  "credits_used": 3
}

Everything you need from Perplexity AI

Built for developers and data teams who need reliable, structured output at any volume.

Live citations

Extracts every inline citation Perplexity uses, with source URLs and titles.

Source cards

Full structured source cards as shown in the Perplexity sidebar.

Related questions

Captures Perplexity's suggested follow-up questions for deeper research.

Markdown output

Response delivered in markdown and plain text formats.

Multi-region

Route requests through any country for localised Perplexity results.

Async support

Fire-and-forget async requests with webhook callbacks.

Simple to integrate

One GET request. Structured JSON back. Works in any language.

import requests

response = requests.get(
  "https://api.scrapellm.com/scrapers/perplexity",
  headers={"X-API-Key": "your_api_key"},
  params={
    "prompt": "What brands do marketers recommend?",
    "country": "US",
  }
)

print(response.json())
const params = new URLSearchParams({
  prompt: 'What brands do marketers recommend?',
  country: 'US',
});

const response = await fetch(
  `https://api.scrapellm.com/scrapers/perplexity?${params}`,
  { headers: { 'X-API-Key': 'your_api_key' } }
);
const data = await response.json();
console.log(data);
curl "https://api.scrapellm.com/scrapers/perplexity" \
  -H "X-API-Key: your_api_key" \
  -G \
  --data-urlencode "prompt=What brands do marketers recommend?" \
  --data-urlencode "country=US"
Response schema 200 OK
Field Type Description
result string Plain text response from Perplexity
result_markdown string Markdown-formatted response
links array Cited sources with URL and title
related_questions array Follow-up questions suggested by Perplexity
credits_used integer Credits consumed by this request
elapsed_ms float Request duration in milliseconds

Built for real-world workflows

Teams across marketing, SEO, research, and product use ScrapeLLM to get structured Perplexity AI data at the scale that matters.

Citation tracking Brand visibility in AI search Research automation SEO intelligence Competitor monitoring
Why not the direct Perplexity AI API?
Direct APIs don't return sources, citations, or the real UI response
Token-based pricing is unpredictable and expensive at scale
No multi-region support — can't request from specific geographies
With ScrapeLLM
Real UI responses with all sources, citations, and structured data
Flat credit pricing — predictable costs at any volume
Multi-region routing — request from any country in one API call

One API. Every platform.

Access all major AI and search providers through a single, consistent API.

ChatGPT
ChatGPT Scraper
3 credits / req
Perplexity
Perplexity AI Scraper
3 credits / req
Grok
Grok Scraper
3 credits / req
Gemini
Gemini Scraper
3 credits / req
Google Search
Google Search Scraper
1 credit / req
Copilot
Microsoft Copilot Scraper
3 credits / req

Start scraping Perplexity AI today

500 free credits. No credit card. Structured JSON in minutes.