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 |
|---|---|---|---|
url | text | Required | The base URL to start crawling from. |
prompt | text | Optional | Natural language prompt to generate crawler options. Explicit inputs override generated equivalents. |
excludePaths | array of text | Optional | URL pathname regex patterns to exclude. |
includePaths | array of text | Optional | URL pathname regex patterns to include. |
maxDiscoveryDepth | number | Optional | Maximum depth to crawl based on discovery order. |
sitemap | select | Optional | Sitemap handling mode. include uses sitemap and page discovery; skip ignores sitemap; only uses sitemap URLs. (options: Include, Skip, Only) |
ignoreQueryParameters | yes/no | Optional | Avoid re-scraping the same path with different query parameters. |
regexOnFullURL | yes/no | Optional | Match includePaths and excludePaths against the full URL instead of pathname only. |
limit | number | Optional | Maximum number of pages to crawl. Firecrawl default: 10000. |
crawlEntireDomain | yes/no | Optional | Follow internal links to sibling and parent URLs, not only child paths. |
allowExternalLinks | yes/no | Optional | Allow following links to external websites. |
allowSubdomains | yes/no | Optional | Allow following links to subdomains of the main domain. |
ignoreRobotsTxt | yes/no | Optional | Ignore robots.txt rules. Enterprise only. |
robotsUserAgent | text | Optional | Custom User-Agent string for robots.txt evaluation. Enterprise only. |
delay | number | Optional | Delay in seconds between scrapes. Setting this forces concurrency to 1. |
maxConcurrency | number | Optional | Maximum number of concurrent scrapes for this crawl. Defaults to the team concurrency limit. |
webhook | object | Optional | Optional webhook configuration. Firecrawl sends started, page, completed, and failed events to this URL. |
url | text | Required | Webhook URL to receive events. Required when webhook is provided. |
headers | object | Optional | Headers to send to the webhook URL (free-form string map). |
metadata | object | Optional | Custom metadata included in all webhook payloads (free-form object). |
events | array of select | Optional | Webhook events to send. Omit to send all events. |
scrapeOptions | object | Optional | Options applied to each scraped page in the crawl (same per-page scrape options as the Scrape a Page action). |
formats | array of object | Optional | Output formats to include in the response. Use object form with a type field for each format, e.g. [{"type":"markdown"},{"type":"json","schema":{...}}]. |
type | select | Required | Format type. (options: Markdown, Summary, HTML, Raw HTML, Links, Images, Screenshot, JSON, Change Tracking, Branding, Audio, Video, Question, Highlights) |
schema | object | Optional | Optional JSON Schema for json format or changeTracking json mode (free-form object). |
prompt | text | Optional | Optional prompt for json, changeTracking, question, or highlights formats. |
question | text | Optional | Optional question for the question format. |
modes | array of select | Optional | Optional changeTracking diff modes. |
tag | text | Optional | Optional changeTracking tag to separate tracking history. |
fullPage | yes/no | Optional | Optional screenshot setting to capture the full page. |
quality | number | Optional | Optional screenshot quality. |
viewport | object | Optional | Optional screenshot viewport size. |
width | number | Optional | Viewport width in pixels. |
height | number | Optional | Viewport height in pixels. |
onlyMainContent | yes/no | Optional | Only return main page content, excluding headers, navs, footers, etc. Firecrawl default: true. |
onlyCleanContent | yes/no | Optional | Beta. Run an extra LLM cleanup pass over generated markdown. Not supported on zero-data-retention requests. Firecrawl default: false. |
includeTags | array of text | Optional | Tags to include in the output. |
excludeTags | array of text | Optional | Tags to exclude from the output. |
maxAge | number | Optional | Return a cached page if younger than this age in milliseconds. Firecrawl default: 172800000. |
minAge | number | Optional | Only check cache and never trigger a fresh scrape. Minimum cache age in milliseconds; set to 1 to accept any cached data. |
headers | object | Optional | Headers to send with the request, such as cookies or user-agent (free-form object). |
waitFor | number | Optional | Delay in milliseconds before fetching content, in addition to Firecrawl smart wait. Firecrawl default: 0. |
mobile | yes/no | Optional | Emulate scraping from a mobile device. Firecrawl default: false. |
skipTlsVerification | yes/no | Optional | Skip TLS certificate verification. Firecrawl default: true. |
timeout | number | Optional | Timeout in milliseconds. Firecrawl range: 1000-300000. Default: 60000. |
parsers | array of object | Optional | Controls how files are processed during scraping. Use pdf to extract PDF content, or pass an empty array to return PDFs in base64. |
type | select | Required | Parser type. (options: PDF) |
mode | select | Optional | PDF parsing mode. fast uses embedded text only, auto falls back to OCR, ocr forces OCR. Firecrawl default: auto. (options: Fast, Auto, OCR) |
maxPages | number | Optional | Maximum number of PDF pages to parse. Firecrawl range: 1-10000. |
actions | array of object | Optional | Actions to perform on the page before grabbing content. For complex interactions, prefer the Interact with a Page action. |
type | select | Required | Action type. (options: Wait, Wait for Element, Screenshot, Click, Write Text, Press Key, Scroll, Scrape, Execute JavaScript, Generate PDF) |
milliseconds | number | Optional | Milliseconds to wait. Required for wait by duration. |
selector | text | Optional | CSS selector for click, write, wait-for-element, or related actions. |
text | text | Optional | Text to write. |
key | text | Optional | Key to press, such as Enter. |
direction | select | Optional | Scroll direction. (options: Down, Up) |
script | text | Optional | JavaScript to execute. |
fullPage | yes/no | Optional | Capture the full page for screenshot actions. |
quality | number | Optional | Screenshot quality. |
location | object | Optional | Location settings for proxy, language, and timezone emulation. Defaults to US if omitted. |
country | text | Optional | ISO 3166-1 alpha-2 country code, such as US, AU, DE, or JP. |
languages | array of text | Optional | Preferred languages and locales in priority order, such as en-US. |
removeBase64Images | yes/no | Optional | Remove base64 images from markdown output. Firecrawl default: true. |
blockAds | yes/no | Optional | Enable ad-blocking and cookie popup blocking. Firecrawl default: true. |
proxy | select | Optional | Proxy type. enhanced may cost up to 5 credits; auto retries with enhanced if basic fails. (options: Basic, Enhanced, Auto) |
storeInCache | yes/no | Optional | Store the page in the Firecrawl index/cache. Firecrawl default: true. |
lockdown | yes/no | Optional | Serve only from Firecrawl cache and never make an outbound request. Treated as zero data retention. Firecrawl default: false. |
profile | object | Optional | Persistent browser storage profile shared across scrape and interact sessions. |
name | text | Required | Profile name. Scrapes with the same name share browser state. |
saveChanges | yes/no | Optional | Save browser state back to the profile when the session stops. Firecrawl default: true. |
zeroDataRetention | yes/no | Optional | Enable zero data retention for this scrape. Requires Firecrawl support. Firecrawl default: false. |
zeroDataRetention | yes/no | Optional | Enable zero data retention for this crawl. Requires Firecrawl support. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code. |
body | object | Firecrawl Crawl start response. |
success | yes/no | Whether the crawl was queued successfully. |
id | text | Crawl job ID. |
url | text | Status URL for the crawl job. |