---
id: ssh2-firecrawl-crawl
name: "firecrawl-crawl"
url: https://skills.yangsir.net/skill/ssh2-firecrawl-crawl
author: firecrawl
domain: ai-data-management-analysis
tags: ["web-crawling", "data-indexing", "firecrawl-api", "site-mapping", "content-discovery"]
install_count: 43500
rating: 4.70 (108 reviews)
github: https://github.com/firecrawl/cli
---

# firecrawl-crawl

> 批量提取整个网站或网站部分的页面内容，用于爬取站点或文档部分。

**Stats**: 43,500 installs · 4.7/5 (108 reviews)

## Before / After 对比

### 网站批量内容提取对比

## Readme

# firecrawl crawl

Bulk extract content from a website. Crawls pages following links up to a depth/limit.

## When to use

- You need content from many pages on a site (e.g., all `/docs/`)
- You want to extract an entire site section
- Step 4 in the [workflow escalation pattern](firecrawl-cli): search → scrape → map → **crawl** → browser

## Quick start

```bash
# Crawl a docs section
firecrawl crawl "<url>" --include-paths /docs --limit 50 --wait -o .firecrawl/crawl.json

# Full crawl with depth limit
firecrawl crawl "<url>" --max-depth 3 --wait --progress -o .firecrawl/crawl.json

# Check status of a running crawl
firecrawl crawl <job-id>
```

## Options

| Option                    | Description                                 |
| ------------------------- | ------------------------------------------- |
| `--wait`                  | Wait for crawl to complete before returning |
| `--progress`              | Show progress while waiting                 |
| `--limit <n>`             | Max pages to crawl                          |
| `--max-depth <n>`         | Max link depth to follow                    |
| `--include-paths <paths>` | Only crawl URLs matching these paths        |
| `--exclude-paths <paths>` | Skip URLs matching these paths              |
| `--delay <ms>`            | Delay between requests                      |
| `--max-concurrency <n>`   | Max parallel crawl workers                  |
| `--pretty`                | Pretty print JSON output                    |
| `-o, --output <path>`     | Output file path                            |

## Tips

- Always use `--wait` when you need the results immediately. Without it, crawl returns a job ID for async polling.
- Use `--include-paths` to scope the crawl — don't crawl an entire site when you only need one section.
- Crawl consumes credits per page. Check `firecrawl credit-usage` before large crawls.

## See also

- [firecrawl-scrape](../firecrawl-scrape/SKILL.md) — scrape individual pages
- [firecrawl-map](../firecrawl-map/SKILL.md) — discover URLs before deciding to crawl
- [firecrawl-download](../firecrawl-download/SKILL.md) — download site to local files (uses map + scrape)


---
*Source: https://skills.yangsir.net/skill/ssh2-firecrawl-crawl*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh2-firecrawl-crawl/markdown*