Back to Langflow

Firecrawl

docs/docs/Components/bundles-firecrawl.mdx

1.11.0.dev313.4 KB
Original Source

import Icon from "@site/src/components/icon";

<Icon name="Blocks" aria-hidden="true" /> Bundles contain custom components that support specific third-party integrations with Langflow.

This page describes the components that are available in the Firecrawl bundle.

For more information, see the Firecrawl documentation.

Firecrawl Scrape API

This component scrapes a single URL and returns its content.

It outputs the API response as Data.

Firecrawl Scrape API parameters

NameTypeDescription
Firecrawl API Key (api_key)SecretStringInput parameter. The API key to use Firecrawl API.
URL (url)StringInput parameter. The URL to scrape.
Timeout (timeout)IntegerInput parameter. Timeout in milliseconds for the request.
Scrape Options (scrapeOptions)DataInput parameter. The page options to send with the request.
Extractor Options (extractorOptions)DataInput parameter. The extractor options to send with the request.

Firecrawl Crawl API

This component crawls a URL and its accessible sub-pages, returning the results.

It outputs the API response as Data.

Firecrawl Crawl API parameters

NameTypeDescription
Firecrawl API Key (api_key)SecretStringInput parameter. The API key to use Firecrawl API.
URL (url)StringInput parameter. The URL to crawl.
Timeout (timeout)IntegerInput parameter. Timeout in milliseconds for the request.
Idempotency Key (idempotency_key)StringInput parameter. Optional idempotency key to ensure unique requests.
Crawler Options (crawlerOptions)DataInput parameter. The crawler options to send with the request.
Scrape Options (scrapeOptions)DataInput parameter. The page options to send with the request.

Firecrawl Map API

This component maps a URL and returns a list of related URLs.

It outputs the API response as Data.

Firecrawl Map API parameters

NameTypeDescription
Firecrawl API Key (api_key)SecretStringInput parameter. The API key to use Firecrawl API.
URLs (urls)StringInput parameter. List of URLs to create maps from (separated by commas or new lines).
Ignore Sitemap (ignore_sitemap)BooleanInput parameter. When true, the sitemap.xml file is ignored during crawling.
Sitemap Only (sitemap_only)BooleanInput parameter. When true, only links found in the sitemap are returned.
Include Subdomains (include_subdomains)BooleanInput parameter. When true, subdomains of the provided URL are also scanned.

Firecrawl Search API

This component searches the web and returns the results.

It outputs the API response as Data.

Firecrawl Search API parameters

NameTypeDescription
Firecrawl API Key (api_key)SecretStringInput parameter. The API key to use Firecrawl API.
Query (query)StringInput parameter. The search query to run.
Limit (limit)IntegerInput parameter. The maximum number of results to return.
Location (location)StringInput parameter. Location to bias the search results (for example, a country or region).