name: firecrawl description: Use this skill when working with Firecrawl. Triggers when user mentions Firecrawl or imports from it.
Firecrawl
What this is
Firecrawl is an API that enables users to search, scrape, and interact with the web at scale. It provides a powerful tool for powering AI agents with clean web data. Firecrawl is also open source, available on GitHub.
Installation
pip install firecrawl
However, the exact installation command is not provided in the documentation.
Key concepts
The most important APIs and patterns in Firecrawl include:
scrape: allows users to scrape any page and extract data.interact: enables users to click, type, and extract data from a webpage. Example:
[
{
// Example scrape configuration
}
]
Correct usage patterns
To use Firecrawl, users can follow these patterns:
- Scrape a webpage using the
scrapeendpoint. - Interact with a webpage using the
interactendpoint. Example:
[
{
"endpoint": "scrape",
"url": "https://example.com",
"autorun": true
}
]
Common mistakes to avoid
Common mistakes to avoid when using Firecrawl include:
- Not checking the API documentation for the most up-to-date information.
- Not handling errors and exceptions properly.
File and folder conventions
Firecrawl files and folders follow standard conventions:
- Configuration files are typically stored in a
configdirectory. - API endpoints are accessed through the
https://www.firecrawl.dev/base URL. - The
playgroundendpoint is used for testing and experimenting with Firecrawl.