Perplexity Context API
An API that fetches up to 10 web pages per call and returns clean text, links, and snippets for each.
Details
- Returns each page as markdown or HTML, plus links and snippets
- Perplexity reports usable content for 92.3% of URLs, 87.9% fact recall, and 80.3% content precision
- Costs $1 per 1,000 URLs fetched
- Pages fetched in the last two days come from Perplexity's web index, and older ones are fetched live. Set max_age_seconds to 0 to always fetch live, raise it for pages that rarely change, or use cache_only to skip live fetches
Best for
Feeding the contents of specific web pages into an AI app or workflow.
When to use it
You already have URLs and need readable page content instead of raw HTML.
Who benefits
Developers building research or monitoring tools on the Perplexity API.
Join the newsletter to get ahead with AI.
I share strategies, new modules, free guides, and tools to get you better at using AI in your work.
Leading a team? See team programs →