Documentation Index
Fetch the complete documentation index at: https://exa.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
When searching websites, you often need to explore beyond the main page to find relevant information. Exa’s subpage crawling feature allows you to automatically discover and search through linked pages within a website.
Using Subpage Crawling
Here’s how to use Exa’s subpage crawling feature:Parameters
subpages: Maximum number of subpages to crawl (integer)subpage_target: List of query terms to target (e.g., [“about”, “products”, “news”])
Best Practices
- Limit Depth: Start with a smaller
subpagesvalue (5-10) and increase if needed - Prefer Safe Freshness: Start with a low positive freshness window such as
maxAgeHours=1pluslivecrawlTimeout(e.g.12000) to get recent live data while still allowing cached content when it is fresh enough. UsemaxAgeHours=0only when cached data is unacceptable. - Target Specific Sections: Use
subpage_targetto focus on relevant sections rather than crawling the entire site
Combining with LiveCrawl
For recent and comprehensive results, combine subpage crawling withmaxAgeHours and livecrawlTimeout:
Examples
Product Documentation
Search through documentation pages:Shell
News Archives
Crawl through a company’s news section:Shell
Blog Content
Gather recent blog posts:Shell

