Multiple Pages Scrape
Firecrawl
Firecrawl
Multiple Pages Scrape
Start a batch scrape for multiple known URLs and return a batch job ID.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
urls | array of text | Required | The URLs to scrape. Batch scrape only scrapes the URLs supplied here; it does not discover additional pages. |
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. |
maxConcurrency | number | Optional | Maximum number of concurrent scrapes for this batch. Defaults to the team concurrency limit. |
ignoreInvalidURLs | yes/no | Optional | If true, invalid URLs are returned in invalidURLs instead of failing the whole batch. Firecrawl default: true. |
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. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code. |
body | object | Firecrawl batch scrape start response. |
success | yes/no | Whether the batch scrape was queued successfully. |
id | text | Batch scrape job ID. |
url | text | Status URL for the batch scrape job. |
invalidURLs | array of text | Invalid URLs returned when ignoreInvalidURLs is true. Empty when all supplied URLs are valid. |