Firecrawl (web scraping)
Firecrawl (web scraping)
Use Firecrawl to scrape and extract content from web pages. Firecrawl is available as a built-in tool for Agents and as a fetch method on the Fetch URL Flow step.
How Firecrawl works
Firecrawl converts web pages into clean, structured data. It renders JavaScript, handles anti-bot measures, and supports data extraction.
Set up Firecrawl
Runtype provides a platform key for Firecrawl, so you can use Firecrawl without adding your own API key. To connect your Firecrawl account, follow these steps:
- Sign up for an account at Firecrawl.
- Get your API key from the Firecrawl dashboard.
- In Runtype, open Settings > Integrations.
- Find Firecrawl.
- Enter your API key.
- Click Save Key.
Use Firecrawl in a Flow
To use Firecrawl in a Flow, follow these steps:
- Open a Flow in the Flow editor.
- Click Add Step.
- Select Fetch URL.
- In the Fetch selector, choose Firecrawl (Web Scraping).
- Set the page URL.
- Choose one or more output formats.
The Flow supports Markdown, HTML, Raw HTML, Screenshot, Links, and JSON output.
Use Firecrawl as a tool
When you configure an Agent, add the Firecrawl built-in tool. The Agent can call Firecrawl during an execution to scrape a page.
The built-in tool accepts the following parameters:
url(required): Enter the page URL.formats: Choose one or more output formats:markdown(default),html,rawHtml,screenshot, orlinks.onlyMainContent: Set totrueto strip navigation, footers, and ads. The default istrue.waitFor: Set the wait time for dynamic content before scraping in milliseconds. Use a value from0to30000.
Use cases
Use Firecrawl for the following tasks:
- Competitive intelligence: Monitor competitor pricing.
- Lead enrichment: Extract company data from websites.
- Content aggregation: Collect articles or listings.
- Research: Gather data from multiple sources.
Next steps
Choose a guide for your next task:
- Using fetch-url and api-call steps: configure Firecrawl in a Flow
- Massive (web rendering): fetch pages that resist ordinary requests
- Exa (web search): find pages to scrape
- What are Agents?: build Agents that use Firecrawl