Skip to main content
Exa Contents returns clean page content from URLs, handling JavaScript-rendered pages, PDFs, and complex layouts automatically. All contents features are also available in Exa Search for returned URLs, at no extra charge up to 10 results per search ($1/1000 pages afterwards). We recommend using Search in this way instead of Contents for web search tool use cases.

Make your first request

Pass one or more URLs or document IDs and request highlights for the parts relevant to your task. In HTTP requests, provide them in ids:
Each item in results includes page metadata and the content view you requested. Check statuses for the success or failure of every URL.

Output shapes

Highlights return relevant passages copied from the page. Start here for agents, RAG, and factual lookups because highlights keep context smaller than full text.Set highlights: true to enable highlights. An additional query parameter is recommended when using Contents to focus content extraction from the page:
See Highlights for Dynamic Highlights and guidance on allocating context across several pages.
Pick one content view per request. Requesting highlights, text, and summary together returns and bills each view separately.

Content freshness

maxAgeHours controls how fresh the extracted page content must be. Most requests should omit this field. Set it when stale page content would be unusable, such as for prices, availability, or frequently updated pages. Pair a low maxAgeHours with livecrawlTimeout (milliseconds) to cap how long a fresh fetch may take.
The livecrawl string parameter ("always", "preferred", "fallback", "never") is deprecated in favor of maxAgeHours:

Crawl subpages

Set subpages to follow links from each starting URL. Add subpageTarget when you want Exa to prioritize particular site sections:

Images and favicons

Set extras.imageLinks to the number of image URLs you want from each page. Results also include the site’s favicon and a representative image URL when available. On /search, this option sits at contents.extras.imageLinks.

Next steps

API reference

See every request parameter and response field.

Highlights

Compare regular and Dynamic Highlights for agent and RAG context.

Search API

Find relevant pages before extracting their content.

SDKs

Use Exa from Python or JavaScript.
Last modified on September 15, 2026