Skip to content

Crawl Webpages

Tavily

Tavily

Crawl Webpages

Crawl a website from a root URL using Tavily Crawl. Traverses the site graph in parallel, extracting content from discovered pages. Returns raw content for each crawled URL.

ActionAI Tool

Inputs

Name Type Required Description
urltextRequiredThe root URL to begin the crawl from (e.g. https://docs.example.com).
instructionstextOptionalNatural language instructions guiding the crawler (e.g. 'Find all pages about the Python SDK'). Increases cost to 2 credits per 10 pages.
chunks_per_sourcenumberOptionalMax chunks (up to 500 chars each) per source when instructions are provided. Range: 1-5. Default: 3.
max_depthnumberOptionalMax depth of the crawl from the root URL. Range: 1-5. Default: 1.
max_breadthnumberOptionalMax links to follow per level. Range: 1-500. Default: 20.
limitnumberOptionalTotal number of links the crawler will process before stopping. Default: 50.
select_pathsarray of textOptionalRegex patterns to restrict crawling to specific URL paths (e.g. '/docs/.*').
select_domainsarray of textOptionalRegex patterns to restrict crawling to specific domains (e.g. '^docs\.example\.com$').
exclude_pathsarray of textOptionalRegex patterns to exclude URL paths from crawling (e.g. '/private/.*').
exclude_domainsarray of textOptionalRegex patterns to exclude specific domains from crawling.
allow_externalyes/noOptionalWhether to include external domain links in the results. Default: true.
include_imagesyes/noOptionalInclude images in crawl results. Default: false.
extract_depthselectOptionalExtraction depth: 'basic' (default, 1 credit per 5 extractions) or 'advanced' (tables/embedded, 2 credits per 5). (options: Basic, Advanced)
formatselectOptionalFormat of extracted content: 'markdown' (default) or 'text'. (options: Markdown, Text)
include_faviconyes/noOptionalInclude the favicon URL for each result. Default: false.
timeoutnumberOptionalMax seconds to wait before timing out the crawl. Range: 10-150. Default: 150.
include_usageyes/noOptionalInclude credit usage in the response. Default: false.

Outputs

Name Type Description
statusCodenumberHTTP status code
bodyobjectTavily Crawl response with extracted content from each crawled page
base_urltextThe root URL that was crawled
resultsarray of objectExtracted content from each crawled URL
urltextURL of the crawled page
raw_contenttextExtracted content from the page
favicontextFavicon URL (only when include_favicon is true)
response_timenumberTime in seconds the request took
usageobjectCredit usage details (only when include_usage is true)
creditsnumberNumber of API credits consumed
request_idtextUnique request identifier for support