Back to Autogpt

Firecrawl Search

docs/integrations/block-integrations/firecrawl/search.md

0.6.441.9 KB
Original Source

Firecrawl Search

<!-- MANUAL: file_description -->

Blocks for searching the web and extracting content using Firecrawl.

<!-- END MANUAL -->

What it is

Firecrawl searches the web for the given query.

How it works

<!-- MANUAL: how_it_works -->

This block uses Firecrawl's search API to find web pages matching your query and optionally extract their content. It performs a web search and can return results with full page content in your chosen format.

Configure the number of results to return, output formats (markdown, HTML, raw HTML), and caching behavior. The wait_for parameter allows time for JavaScript-heavy pages to fully render before extraction.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
queryThe query to search forstrYes
limitThe number of pages to crawlintNo
max_ageThe maximum age of the page in milliseconds - default is 1 hourintNo
wait_forSpecify a delay in milliseconds before fetching the content, allowing the page sufficient time to load.intNo
formatsReturns the content of the search if specifiedList["markdown" | "html" | "rawHtml" | "links" | "screenshot" | "screenshot@fullPage" | "json" | "changeTracking"]No

Outputs

OutputDescriptionType
errorError message if the search failedstr
dataThe result of the searchDict[str, Any]
siteThe site of the searchDict[str, Any]

Possible use case

<!-- MANUAL: use_case -->

Research Automation: Search for topics and automatically extract content from relevant pages for analysis.

Lead Generation: Find companies or contacts matching specific criteria across the web.

Content Aggregation: Gather articles, reviews, or information on specific topics from multiple sources.

<!-- END MANUAL -->