# Web Crawling API - Part of the Firecrawl web data API

Documentation: https://docs.firecrawl.dev/features/crawl

## One URL. Every page.

/crawl discovers and scrapes every subpage on a domain, returning entire sites as context your models can use: clean markdown or JSON.

- [Try Crawl now](/app/playground?endpoint=crawl)
- [Read the docs](https://docs.firecrawl.dev/features/crawl)

## Capabilities

### What can Firecrawl Crawl do?

Firecrawl Crawl is a web crawling API that starts from one URL and returns every page under it as Markdown or structured JSON. It finds pages through the site's sitemap and the links on each page, renders JavaScript, and follows robots.txt. Each page costs 1 Firecrawl credit.

Updated October 29, 2026.

| What you need                                           | Firecrawl Crawl                                                                                                                                                                                           | Parameter                                             |
| ------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| Every page under a starting URL                         | Crawl follows links to child paths of the URL you pass. Set crawlEntireDomain to include sibling and parent paths too.                                                                                    | `crawlEntireDomain: true`                             |
| Pages listed in the sitemap                             | Crawl reads the sitemap and follows links by default. Set skip to follow links alone, or only to crawl the sitemap URLs and the start URL.                                                                | `sitemap: "include"`                                  |
| Only one section, such as /docs or /blog                | includePaths and excludePaths take regex patterns matched against the URL path. The starting URL must match includePaths.                                                                                 | `includePaths: ["blog/.*"]`                           |
| A cap on depth or page count                            | maxDiscoveryDepth limits how many link hops Crawl follows from the root. limit caps the pages per job and defaults to 10,000.                                                                             | `limit: 100, maxDiscoveryDepth: 2`                    |
| Subdomains and outbound links                           | allowSubdomains adds subdomains such as blog.example.com. allowExternalLinks scrapes linked pages on other sites, one hop deep.                                                                           | `allowSubdomains: true`                               |
| Markdown, a summary, or JSON fields for each page       | Every scrape option works per page through scrapeOptions. The JSON format adds 4 Firecrawl credits per page.                                                                                              | `scrapeOptions: { formats: ["markdown", "summary"] }` |
| Pages built with JavaScript                             | Each page goes through the Firecrawl scrape pipeline, which renders JavaScript, so single-page apps return their full content.                                                                            | `on by default`                                       |
| Each page as soon as it finishes                        | A webhook receives crawl.started, crawl.page, crawl.completed, and crawl.failed events. The SDKs can also watch a job over WebSocket.                                                                     | `webhook: { url, events: ["page"] }`                  |
| robots.txt rules and a list of failed pages             | Crawl follows robots.txt by default. The errors endpoint lists pages that failed and URLs that robots.txt blocked.                                                                                        | `GET /v2/crawl/{id}/errors`                           |
| A re-crawl every week that reports what changed         | Firecrawl Monitor runs a crawl target on a cron or a text schedule such as weekly, labels each page new, changed, removed, or same, and alerts by webhook, email, or Slack. [Firecrawl Monitor](/monitor) | `targets: [{ type: "crawl", url }]`                   |
| A whole site summarized in ChatGPT or another assistant | The Firecrawl plugin for ChatGPT and the Firecrawl MCP server include a crawl tool, so the assistant can crawl a section and summarize each page. [ChatGPT guide](/integrations/chatgpt.md)               | `firecrawl_crawl`                                     |
| A predictable bill                                      | Each crawled page costs 1 Firecrawl credit. Pages are billed as they finish, and limit caps how many pages one job can crawl.                                                                             | `limit`                                               |

### Example

The hero preview crawls the Firecrawl docs and returns each page as markdown:

```python
from firecrawl import Firecrawl
firecrawl = Firecrawl(api_key="fc-..")
docs = firecrawl.crawl(
  url="https://docs.firecrawl.dev",
  limit=10)
```

## Features

### Crawling that finishes the whole job.

Every subpage, one call. Crawl handles an entire site end to end: discovering, rendering, and processing every page into structured data at scale.

### From site to knowledge base.

Built for agents and RAG. Turn a website or docs into a complete corpus your chatbot or RAG can answer from.

### Clean output, every page.

Clean, structured data. Every page comes back as clean markdown, JSON, or whatever format you need. Formats: Markdown, Summary, HTML, Links, JSON, Screenshot, Images, Branding.

### Built for the long crawl.

Production-scale concurrency. Run your biggest crawls on hundreds of browsers, scaling to millions of URLs a day.

### JavaScript on every page.

Real browser. Every page renders in real Chromium, so JavaScript sites come back whole.

### Stream pages as they're ready.

Live crawl results. Stream pages over webhooks, WebSockets, or polling as soon as they're scraped.

### Scope controls when you want them.

Crawl exactly what you need. Path regex, depth limits, and subdomain rules scope a crawl to /docs/\* or the whole domain.

## For AI agents

### Built into the AI tools you already use

Use Firecrawl from Claude Code, Cursor, Windsurf, and the agent harnesses your team already runs. Connect your agent to Firecrawl through MCP or the CLI and skills. [View the docs](https://docs.firecrawl.dev/ai-onboarding)

**MCP**

```json
{
  "mcpServers": {
    "firecrawl": {
      "url": "https://mcp.firecrawl.dev/v2/mcp-oauth"
    }
  }
}
```

**CLI**

```bash
npx -y firecrawl-cli@latest init --all --browser
```

Copy and paste this into your AI agent:

> Read and follow https://www.firecrawl.dev/agent-onboarding/SKILL.md

### Agent onboarding

Are you an AI agent? Fetch this skill to connect Firecrawl and Alexandria through a connector, MCP or the CLI. [View the skill](https://www.firecrawl.dev/agent-onboarding/SKILL.md)

```bash
curl -sL https://www.firecrawl.dev/agent-onboarding/SKILL.md
```

## Pricing

Each crawled page costs 1 Firecrawl credit. The JSON format adds 4 Firecrawl credits per page, and PDF parsing costs 1 Firecrawl credit per PDF page. The default crawl limit is 10,000 pages. Free accounts include 1,000 Firecrawl credits per month, no credit card required. See [Pricing](/pricing.md) for plans.

## FAQ

### General

**What is Firecrawl Crawl?** Firecrawl Crawl turns a domain into clean markdown your agent can read. Pass a URL and Crawl walks the subpages, scrapes each one in a real browser, and returns the same clean markdown for every page. One job, one webhook, one consistent output format across thousands of pages.

**Who uses Crawl?** Teams building knowledge bases, RAG pipelines, AI agents, content migrations, and onboarding flows that turn a customer's URL into something the product can use. Over 1.25M developers and 150,000+ companies build with Firecrawl, including teams at Zapier, Botpress, Vercel, and Coinbase, and we've served more than 5 billion requests to date.

**How is Crawl different from rolling my own crawler?** An in-house crawler is a few weeks of work and a long tail of maintenance: sitemap parsing, link discovery, JS rendering, rate limits, retries, robots.txt, and the HTML-to-markdown layer that LLMs actually need. Crawl ships all of that as one endpoint. The output is the same clean markdown across every page, ready to drop into an LLM.

**When should I use Crawl vs. Scrape or Map?** Use Scrape when the agent already has the URL. Use Map when you want to know what URLs exist on a site before paying to scrape them. Use Crawl when the input is a domain and the output is every page on the site, for knowledge bases, full-site classification, or content migrations. Search pairs well with Crawl when the agent has to discover the URL first.

**How do I get ChatGPT to summarize every page on a website?** Install the Firecrawl plugin in ChatGPT and sign in to your Firecrawl account. Then ask ChatGPT to crawl the site, or one section of it, with a page limit and to summarize each page it gets back. Crawl gives ChatGPT the Markdown of every page, so each summary comes from the full page text. Each crawled page costs 1 Firecrawl credit.

### How It Works

**Does Crawl work on JavaScript-heavy sites?** Yes. Every page in the crawl renders in a real Chromium instance, so React, Vue, Next.js, and other SPA frameworks come back the same way they would in a browser tab. You get the full DOM, including content fetched after page load.

**How does Crawl discover pages?** By default, Crawl reads the site's sitemap and follows links recursively from the root URL. You can switch sitemap handling to skip or only, follow links to subdomains or external sites, and ignore query parameters so the same path isn't re-scraped with different query strings.

**Can I crawl only part of a site?** Yes. Pass includePaths or excludePaths as regex patterns to control which paths are crawled, set maxDiscoveryDepth to cap how deep the crawler follows links, and use crawlEntireDomain or allowSubdomains when you want sibling paths or subdomains included.

**How do I re-crawl thousands of websites every week?** Set up Firecrawl Monitor with crawl targets and a weekly schedule. One monitor holds up to 50 targets. Every check labels each discovered page as new, changed, removed, or same, and reports by webhook, email, or Slack. Spread thousands of sites across several monitors. A check costs 1 Firecrawl credit per discovered page.

**Does Crawl respect robots.txt?** Yes. Crawl follows each site's robots.txt rules by default. URLs that robots.txt blocks appear in the robotsBlocked list of the crawl errors endpoint, next to pages that failed for other reasons, such as timeouts.

**How long can I fetch the results of a crawl?** The API keeps a crawl's results for 24 hours after the job finishes. After that, the job and its results are still in the activity logs of your Firecrawl dashboard. Responses over 10MB arrive in pages, and the SDKs collect every page for you.

**Can I process pages as they're crawled?** Yes. Subscribe to webhook events (crawl.started, crawl.page, crawl.completed, crawl.failed) or a WebSocket to process pages the moment they're ready instead of waiting for the whole job. The SDKs also include a poll-and-wait method for simpler workflows.

**What formats can I get back per page?** Markdown by default. Pass scrapeOptions to request structured JSON via a schema, raw or clean HTML, full-page screenshots, links, and metadata for every page in the crawl. Every option that works on Scrape works on Crawl.

**Is Crawl built for production?** Yes. Production customers run Crawl at hundreds of concurrent browsers and millions of URLs per day. Jobs above your plan's concurrent browser limit wait in a queue. The Scale plan includes 100 concurrent browsers, and Enterprise plans set custom limits and SLAs.

### Pricing

**How much does Crawl cost?** 1 Firecrawl credit per page crawled. JSON mode adds 4 Firecrawl credits per page, and PDF parsing costs 1 Firecrawl credit per PDF page. The default crawl limit is 10,000 pages, so set a lower limit to match the crawl you want.

**Is there a free tier?** Yes. Free accounts include 1,000 Firecrawl credits per month, enough to crawl small docs sites and try every scrapeOption. No credit card required.

**Can I self-host Crawl?** Yes. Firecrawl is open source with over 200K GitHub stars and 2.5M+ weekly downloads on npm and PyPI, and the self-hosted API shares the same SDKs and CLI. The open-source stack covers scrape, crawl, map, and search. It does not include Fire-engine, the managed browser and request layer, so you run and tune your own fetching setup, and screenshots, page actions, Agent, Browser, and Interact are hosted-only. Self-hosting fits simple sites when you already run infrastructure; the hosted API fits complex sites and zero ops. See https://docs.firecrawl.dev/contributing/open-source-or-cloud for the full comparison.

Ready to build? See [Pricing](/pricing.md).
_Canonical HTML: https://www.firecrawl.dev/crawl_

## Site Navigation

### Global Hub

- [Home](/index.md)
- [Pricing](/pricing.md)
- [Blog](/blog.md)
- [Glossary](/glossary.md)
- [Alternatives](/alternatives.md)
- [Tools](/tools.md)
- [Use Cases](/use-cases.md)
- [Integrations](/integrations.md)
- [Changelog](/changelog.md)
