Firecrawl - Crawl a site action

The Crawl a site action starts a crawl on a domain in Firecrawl and scrapes each page it discovers.

WAIT FOR COMPLETION

This action submits the crawl by default, then polls every 60 seconds until the job's status is completed or failed. Select No for Wait for completion to return the job ID immediately instead, then use the Get crawl job status action to check on it later.

Input

The following input fields are the most commonly used. Refer to the Firecrawl Crawl API documentation for the complete list of input fields.

Input fieldDescription
URLEnter the absolute URL to crawl, for example https://docs.firecrawl.dev.
PromptOptional. Enter natural language to generate crawler options. Explicit fields you set override the generated values.
LimitOptional. Enter the maximum pages to crawl. Costs one credit per page. The connector default is 10. The Firecrawl API default is 10000. Firecrawl returns a 402 error if Limit is higher than your remaining credits.
Include pathsOptional. Enter pathname regex patterns to include in the crawl, for example blog/.*.
Exclude pathsOptional. Enter pathname regex patterns to exclude from the crawl, for example admin/.*.
Crawl entire domainOptional. Select Yes or No to follow sibling and parent internal links, not only child links.
Scrape optionsOptional. Set formats and scrape options, such as Only main content or Skip TLS verification. This is applied to every page the crawl scrapes. Scrape options uses the same options as the Scrape a page action.
Wait for completionOptional. Select Yes or No to poll until the job finishes and returns the result. The default is Yes.
Max poll minutesOptional. Enter the maximum minutes to poll. Valid values are 1-60. The default is 10. This field is only available when Wait for completion is Yes.
Custom output fieldsOptional. Add fields to create datapills for page data that the default output doesn't include.

Output

Output fieldDescription
SuccessA true or false boolean response that indicates if the request was successful.
StatusThe job's status. Options are scraping, completed, or failed.
CompletedThe number of pages crawled so far.
TotalThe total number of pages discovered.
Credits usedThe number of credits the job used.
Expires atThe date and time the job's results expire.
DataThe crawled pages' data, one entry per page.
Created atThe date and time the job was created.
Completed atThe date and time the job finished.
NextThe URL to retrieve the next chunk of results, if the crawl isn't finished or the response is larger than 10 MB. Extract the value for the Skip field in the Get crawl job status action from this URL.

Last updated: