home / skills / openclaw / skills / firecrawl-search
This skill enables fast web search and data extraction using the Firecrawl API to crawl sites, scrape pages, and gather structured data.
npx playbooks add skill openclaw/skills --skill firecrawl-searchReview the files below or copy the command above to add this skill to your agents.
---
name: firecrawl
description: Web search and scraping via Firecrawl API. Use when you need to search the web, scrape websites (including JS-heavy pages), crawl entire sites, or extract structured data from web pages. Requires FIRECRAWL_API_KEY environment variable.
---
# Firecrawl
Web search and scraping via Firecrawl API.
## Prerequisites
Set `FIRECRAWL_API_KEY` in your environment or `.env` file:
```bash
export FIRECRAWL_API_KEY=fc-xxxxxxxxxx
```
## Quick Start
### Search the web
```bash
firecrawl_search "your search query" --limit 10
```
### Scrape a single page
```bash
firecrawl_scrape "https://example.com"
```
### Crawl an entire site
```bash
firecrawl_crawl "https://example.com" --max-pages 50
```
## API Reference
See [references/api.md](references/api.md) for detailed API documentation and advanced options.
## Scripts
- `scripts/search.py` - Search the web with Firecrawl
- `scripts/scrape.py` - Scrape a single URL
- `scripts/crawl.py` - Crawl an entire website
This skill provides web search and scraping capabilities using the Firecrawl API. It lets you perform web searches, scrape single pages (including JavaScript-heavy content), and crawl entire websites to extract structured data. The skill requires a FIRECRAWL_API_KEY set in your environment to authenticate requests.
The skill calls the Firecrawl API to run searches, render and scrape pages, or follow links for site-wide crawls. It can execute headless browser rendering so JavaScript-driven content is captured, then returns HTML or structured extraction results. Command-line scripts wrap common flows: search, single-page scrape, and full-site crawl with pagination and limits.
How do I authenticate requests?
Set FIRECRAWL_API_KEY in your environment or .env file (e.g., export FIRECRAWL_API_KEY=fc-xxxxxxxxxx). The scripts read this variable to authenticate with Firecrawl.
Can it scrape JavaScript-heavy pages?
Yes. Firecrawl executes headless rendering so JavaScript-driven content is captured, allowing extraction from SPAs and dynamically loaded elements.