Overview
Firecrawl is a powerful web scraping API that converts websites into clean, LLM-ready markdown or structured data.Installation
Environment Variables
Quick Start
Usage with Agent
Available Methods
scrape(url)
Scrape a single URL and get markdown content.crawl(url, limit=10)
Crawl a website and get multiple pages.Configuration Options
Function-Based Usage
CLI Usage
Error Handling
Common Errors
| Error | Cause | Solution |
|---|---|---|
FIRECRAWL_API_KEY not configured | Missing API key | Set environment variable |
firecrawl not installed | Missing dependency | Run pip install firecrawl-py |
Rate limited | Too many requests | Upgrade plan or add delays |

