Skip to content

Crawl Pages

Firecrawl

Firecrawl

Crawl Pages

Start a crawl from one URL and scrape content from multiple discovered pages. Returns a crawl job ID.

ActionAI Tool

Inputs

Name Type Required Description
urltextRequiredThe base URL to start crawling from.
prompttextOptionalNatural language prompt to generate crawler options. Explicit inputs override generated equivalents.
excludePathsarray of textOptionalURL pathname regex patterns to exclude.
includePathsarray of textOptionalURL pathname regex patterns to include.
maxDiscoveryDepthnumberOptionalMaximum depth to crawl based on discovery order.
sitemapselectOptionalSitemap handling mode. include uses sitemap and page discovery; skip ignores sitemap; only uses sitemap URLs. (options: Include, Skip, Only)
ignoreQueryParametersyes/noOptionalAvoid re-scraping the same path with different query parameters.
regexOnFullURLyes/noOptionalMatch includePaths and excludePaths against the full URL instead of pathname only.
limitnumberOptionalMaximum number of pages to crawl. Firecrawl default: 10000.
crawlEntireDomainyes/noOptionalFollow internal links to sibling and parent URLs, not only child paths.
allowExternalLinksyes/noOptionalAllow following links to external websites.
allowSubdomainsyes/noOptionalAllow following links to subdomains of the main domain.
ignoreRobotsTxtyes/noOptionalIgnore robots.txt rules. Enterprise only.
robotsUserAgenttextOptionalCustom User-Agent string for robots.txt evaluation. Enterprise only.
delaynumberOptionalDelay in seconds between scrapes. Setting this forces concurrency to 1.
maxConcurrencynumberOptionalMaximum number of concurrent scrapes for this crawl. Defaults to the team concurrency limit.
webhookobjectOptionalOptional webhook configuration. Firecrawl sends started, page, completed, and failed events to this URL.
urltextRequiredWebhook URL to receive events. Required when webhook is provided.
headersobjectOptionalHeaders to send to the webhook URL (free-form string map).
metadataobjectOptionalCustom metadata included in all webhook payloads (free-form object).
eventsarray of selectOptionalWebhook events to send. Omit to send all events.
scrapeOptionsobjectOptionalOptions applied to each scraped page in the crawl (same per-page scrape options as the Scrape a Page action).
formatsarray of objectOptionalOutput formats to include in the response. Use object form with a type field for each format, e.g. [{"type":"markdown"},{"type":"json","schema":{...}}].
typeselectRequiredFormat type. (options: Markdown, Summary, HTML, Raw HTML, Links, Images, Screenshot, JSON, Change Tracking, Branding, Audio, Video, Question, Highlights)
schemaobjectOptionalOptional JSON Schema for json format or changeTracking json mode (free-form object).
prompttextOptionalOptional prompt for json, changeTracking, question, or highlights formats.
questiontextOptionalOptional question for the question format.
modesarray of selectOptionalOptional changeTracking diff modes.
tagtextOptionalOptional changeTracking tag to separate tracking history.
fullPageyes/noOptionalOptional screenshot setting to capture the full page.
qualitynumberOptionalOptional screenshot quality.
viewportobjectOptionalOptional screenshot viewport size.
widthnumberOptionalViewport width in pixels.
heightnumberOptionalViewport height in pixels.
onlyMainContentyes/noOptionalOnly return main page content, excluding headers, navs, footers, etc. Firecrawl default: true.
onlyCleanContentyes/noOptionalBeta. Run an extra LLM cleanup pass over generated markdown. Not supported on zero-data-retention requests. Firecrawl default: false.
includeTagsarray of textOptionalTags to include in the output.
excludeTagsarray of textOptionalTags to exclude from the output.
maxAgenumberOptionalReturn a cached page if younger than this age in milliseconds. Firecrawl default: 172800000.
minAgenumberOptionalOnly check cache and never trigger a fresh scrape. Minimum cache age in milliseconds; set to 1 to accept any cached data.
headersobjectOptionalHeaders to send with the request, such as cookies or user-agent (free-form object).
waitFornumberOptionalDelay in milliseconds before fetching content, in addition to Firecrawl smart wait. Firecrawl default: 0.
mobileyes/noOptionalEmulate scraping from a mobile device. Firecrawl default: false.
skipTlsVerificationyes/noOptionalSkip TLS certificate verification. Firecrawl default: true.
timeoutnumberOptionalTimeout in milliseconds. Firecrawl range: 1000-300000. Default: 60000.
parsersarray of objectOptionalControls how files are processed during scraping. Use pdf to extract PDF content, or pass an empty array to return PDFs in base64.
typeselectRequiredParser type. (options: PDF)
modeselectOptionalPDF parsing mode. fast uses embedded text only, auto falls back to OCR, ocr forces OCR. Firecrawl default: auto. (options: Fast, Auto, OCR)
maxPagesnumberOptionalMaximum number of PDF pages to parse. Firecrawl range: 1-10000.
actionsarray of objectOptionalActions to perform on the page before grabbing content. For complex interactions, prefer the Interact with a Page action.
typeselectRequiredAction type. (options: Wait, Wait for Element, Screenshot, Click, Write Text, Press Key, Scroll, Scrape, Execute JavaScript, Generate PDF)
millisecondsnumberOptionalMilliseconds to wait. Required for wait by duration.
selectortextOptionalCSS selector for click, write, wait-for-element, or related actions.
texttextOptionalText to write.
keytextOptionalKey to press, such as Enter.
directionselectOptionalScroll direction. (options: Down, Up)
scripttextOptionalJavaScript to execute.
fullPageyes/noOptionalCapture the full page for screenshot actions.
qualitynumberOptionalScreenshot quality.
locationobjectOptionalLocation settings for proxy, language, and timezone emulation. Defaults to US if omitted.
countrytextOptionalISO 3166-1 alpha-2 country code, such as US, AU, DE, or JP.
languagesarray of textOptionalPreferred languages and locales in priority order, such as en-US.
removeBase64Imagesyes/noOptionalRemove base64 images from markdown output. Firecrawl default: true.
blockAdsyes/noOptionalEnable ad-blocking and cookie popup blocking. Firecrawl default: true.
proxyselectOptionalProxy type. enhanced may cost up to 5 credits; auto retries with enhanced if basic fails. (options: Basic, Enhanced, Auto)
storeInCacheyes/noOptionalStore the page in the Firecrawl index/cache. Firecrawl default: true.
lockdownyes/noOptionalServe only from Firecrawl cache and never make an outbound request. Treated as zero data retention. Firecrawl default: false.
profileobjectOptionalPersistent browser storage profile shared across scrape and interact sessions.
nametextRequiredProfile name. Scrapes with the same name share browser state.
saveChangesyes/noOptionalSave browser state back to the profile when the session stops. Firecrawl default: true.
zeroDataRetentionyes/noOptionalEnable zero data retention for this scrape. Requires Firecrawl support. Firecrawl default: false.
zeroDataRetentionyes/noOptionalEnable zero data retention for this crawl. Requires Firecrawl support.

Outputs

Name Type Description
statusCodenumberHTTP status code.
bodyobjectFirecrawl Crawl start response.
successyes/noWhether the crawl was queued successfully.
idtextCrawl job ID.
urltextStatus URL for the crawl job.