Skip to content

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
urlsarray of textRequiredThe URLs to scrape. Batch scrape only scrapes the URLs supplied here; it does not discover additional pages.
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.
maxConcurrencynumberOptionalMaximum number of concurrent scrapes for this batch. Defaults to the team concurrency limit.
ignoreInvalidURLsyes/noOptionalIf true, invalid URLs are returned in invalidURLs instead of failing the whole batch. Firecrawl default: true.
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.

Outputs

Name Type Description
statusCodenumberHTTP status code.
bodyobjectFirecrawl batch scrape start response.
successyes/noWhether the batch scrape was queued successfully.
idtextBatch scrape job ID.
urltextStatus URL for the batch scrape job.
invalidURLsarray of textInvalid URLs returned when ignoreInvalidURLs is true. Empty when all supplied URLs are valid.