Firecrawl
Scrape or search the web
Firecrawl is a powerful web scraping and content extraction API that integrates seamlessly into Sim, enabling developers to extract clean, structured content from any website. This integration provides a simple way to transform web pages into usable data formats like Markdown and HTML while preserving the essential content.
With Firecrawl in Sim, you can:
- Extract clean content: Remove ads, navigation elements, and other distractions to get just the main content
- Convert to structured formats: Transform web pages into Markdown, HTML, or JSON
- Capture metadata: Extract SEO metadata, Open Graph tags, and other page information
- Handle JavaScript-heavy sites: Process content from modern web applications that rely on JavaScript
- Filter content: Focus on specific parts of a page using CSS selectors
- Process at scale: Handle high-volume scraping needs with a reliable API
- Search the web: Perform intelligent web searches and retrieve structured results
- Crawl entire sites: Crawl multiple pages from a website and aggregate their content
In Sim, the Firecrawl integration enables your agents to access and process web content programmatically as part of their workflows. Supported operations include:
- Scrape: Extract structured content (Markdown, HTML, metadata) from a single web page.
- Search: Search the web for information using Firecrawl's intelligent search capabilities.
- Crawl: Crawl multiple pages from a website, returning structured content and metadata for each page.
This allows your agents to gather information from websites, extract structured data, and use that information to make decisions or generate insights—all without having to navigate the complexities of raw HTML parsing or browser automation. Simply configure the Firecrawl block with your API key, select the operation (Scrape, Search, or Crawl), and provide the relevant parameters. Your agents can immediately begin working with web content in a clean, structured format.
Usage Instructions
Extract content from any website with advanced web scraping or search the web for information. Retrieve clean, structured data from web pages with options to focus on main content, or intelligently search for information across the web.
Tools
firecrawl_scrape
Extract structured content from web pages with comprehensive metadata support. Converts content to markdown or HTML while capturing SEO metadata, Open Graph tags, and page information.
Input
Parameter | Type | Required | Description |
---|---|---|---|
url | string | Yes | The URL to scrape content from |
scrapeOptions | json | No | Options for content scraping |
apiKey | string | Yes | Firecrawl API key |
Output
Parameter | Type |
---|---|
markdown | string |
html | string |
metadata | string |
firecrawl_search
Search for information on the web using Firecrawl
Input
Parameter | Type | Required | Description |
---|---|---|---|
query | string | Yes | The search query to use |
apiKey | string | Yes | Firecrawl API key |
Output
Parameter | Type |
---|---|
data | string |
warning | string |
firecrawl_crawl
Crawl entire websites and extract structured content from all accessible pages
Input
Parameter | Type | Required | Description |
---|---|---|---|
url | string | Yes | The website URL to crawl |
limit | number | No | Maximum number of pages to crawl (default: 100) |
onlyMainContent | boolean | No | Extract only main content from pages |
apiKey | string | Yes | Firecrawl API Key |
Output
Parameter | Type |
---|---|
jobId | string |
pages | string |
total | string |
creditsUsed | string |
Block Configuration
Input
Parameter | Type | Required | Description |
---|---|---|---|
apiKey | string | Yes |
Outputs
Output | Type | Description |
---|---|---|
markdown | string | markdown output from the block |
html | any | html output from the block |
metadata | json | metadata output from the block |
data | json | data output from the block |
warning | any | warning output from the block |
pages | json | pages output from the block |
total | number | total output from the block |
creditsUsed | number | creditsUsed output from the block |
Notes
- Category:
tools
- Type:
firecrawl