From the source
Perplexity launched the Context API, which reads up to 10 URLs and returns clean markdown, HTML, links and query-based snippets so agents can work from a page's full context instead of search snippets or raw HTML.- The API draws on Perplexity's web index or a live fetch, and developers can set how fresh each request must be and check where each result came from.
- By default it first looks for a copy fetched within the last two days and fetches live if there is none; setting max_age_seconds to 0 always reads live pages, and cache_only true blocks live requests.
- URLs are fetched in parallel with their own time budget and status, so one slow or broken page does not fail the others and an agent can retry only the pages that timed out.
- Perplexity says that in a test against Firecrawl, Exa, Parallel, Keenable and Context.dev on thousands of URLs across 715 sites, the Context API returned usable content for 92.3% of URLs, recovered 87.9% of key facts and scored 80.3% content precision.
- The API costs $1 per 1,000 URLs fetched, and only URLs that return ok are billed.
