# Perplexity — Context API extracts full context from any web page

- Company: Perplexity (perplexity.ai)
- Announced: 2026-11-17
- Category: api-release
- Coverage: not counted
- Announcement: yes
- Group: announcements
- Source: https://www.perplexity.ai/hub/blog/context-api-extracts-full-context-from-any-web-page
- Record: https://forck.live/items/39868-context-api-extracts-full-context-from-any-web-page
- Subject: Perplexity
- Pricing: Context API costs $1 per 1,000 URLs fetched. Developers pay for each URL that returns ok. URLs that fail aren’t billed.

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.

## Evidence

Verbatim from https://www.perplexity.ai/hub/blog/context-api-extracts-full-context-from-any-web-page:

> When someone asks a chatbot a question, an AI agent may need to read several web pages to answer it. Standard search results often return only snippets. Fetching a page directly can return raw HTML, which is full of navigation, cookie banners, and ads. Agents need the page’s context in a format a model can use, while developers need a way to control how fresh that context must be.
> 
> Today we’re launching the Perplexity Context API, which reads up to 10 URLs and returns clean markdown, HTML, links, and query-based snippets for each page. The information comes from Perplexity's vast web index or a live fetch. Agents can specify the freshness of each request, and validate the source of each result.
> 
> Context API supports a variety of formats
> 
> Agents can initiate a request by providing a list of URLs and specifying the output formats. The API returns a result for each URL in the same order.
> 
> Context API supports a variety of response formats:
> 
> Markdown: The page content as clean Markdown, ready to place in a model’s context.
> 
> HTML: The page's HTML, for applications that run their own parsing.

---

Record: https://forck.live/items/39868-context-api-extracts-full-context-from-any-web-page
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
