> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Firecrawl

> Firecrawl's map, crawl, search and structured extract jobs, and the team's credit usage.

![](https://mintcdn.com/webrouter/gPu3tCeozwRcDBjt/logo/data-apis/firecrawl.webp?fit=max\&auto=format\&n=gPu3tCeozwRcDBjt\&q=85\&s=8b40321f07480fde7c6599f992cab24d)

[Web Catalog · Scraping](https://docs.webrouter.net/data-apis.md?category=scraping)

Needs&#x20;

`FIRECRAWL_API_KEY`

Endpoints

9

Auth

Key in header

[Vendor docs](https://docs.firecrawl.dev/introduction)

&#x20;·&#x20;

[Pricing](https://www.firecrawl.dev/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `FIRECRAWL_API_KEY` | required | a Firecrawl API key, starting fc- (firecrawl.dev/app > API Keys) |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Auth is 'Authorization: Bearer \<key>'. All paths are under /v2.
* Crawl and extract are asynchronous: start returns an id, then poll the matching status endpoint; finished results are paged with a 'next' URL.
* Timeouts are in milliseconds.
* Scraping one page or a list of pages goes through web-router's extract (it fans a list out over Firecrawl's scrape), not this entry.

## Endpoints

POST

Map a site's URLs

Quickly list the URLs of a site from its sitemap and links, optionally ranked by a search term.

[Open](#firecrawl-map-urls)

POST

Start a crawl

Crawl a site from a base URL and scrape every page found; returns a crawl id.

[Open](#firecrawl-crawl-start)

GET

Get a crawl's status and pages

Status of a crawl job and the pages scraped so far.

[Open](#firecrawl-crawl-status)

GET

List a crawl's errors

Pages a crawl failed to scrape and why.

[Open](#firecrawl-crawl-errors)

GET

List active crawls

Crawls currently running for your team.

[Open](#firecrawl-crawl-active)

POST

Search the web and optionally scrape results

Web search with optional scraping of each result.

[Open](#firecrawl-search-query)

POST

Start an LLM extraction over URLs

Extract structured data from pages, whole sites included, using a prompt and optional schema.

[Open](#firecrawl-extract-start)

GET

Get an extraction's status and result

Status and data of an extract job.

[Open](#firecrawl-extract-status)

GET

Get remaining credits

Credits left for your team.

[Open](#firecrawl-team-credit-usage)

### Map a site's URLs

POST

`/map`

`firecrawl.map.urls`

Quickly list the URLs of a site from its sitemap and links, optionally ranked by a search term.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`url` required</td><td>string</td><td>body</td><td>Base URL to map. Example `https://example.com`</td></tr>

    <tr>
      <td>
        `search`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Order results by relevance to this term.
      </td>
    </tr>

    <tr><td>`sitemap`</td><td>string</td><td>body</td><td>How to use the sitemap. One of `skip`, `include`, `only`</td></tr>

    <tr>
      <td>
        `includeSubdomains`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Include subdomains.
      </td>
    </tr>

    <tr>
      <td>
        `ignoreQueryParameters`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Drop URLs with query parameters.
      </td>
    </tr>

    <tr>
      <td>
        `ignoreCache`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Bypass the sitemap cache (kept up to 7 days).
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Most links to return.
      </td>
    </tr>

    <tr>
      <td>
        `timeout`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Timeout in milliseconds.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.firecrawl.dev/api-reference/endpoint/map) · Same job: [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-web-map), [Decodo](https://docs.webrouter.net/data-apis/decodo.md#decodo-map), [Olostep](https://docs.webrouter.net/data-apis/olostep.md#olostep-maps-create), [Search1API](https://docs.webrouter.net/data-apis/search1api.md#search1api-web-sitemap), [Spider Cloud](https://docs.webrouter.net/data-apis/spidercloud.md#spidercloud-links-collect), [Supadata](https://docs.webrouter.net/data-apis/supadata.md#supadata-web-map)

```python Python theme={null}
router.call_data_api("firecrawl.map.urls", {'url': 'https://example.com'})
```

```text MCP theme={null}
call_data_api(endpoint="firecrawl.map.urls", params={"url": "https://example.com"})
```

> [!NOTE]
>
> * A read over POST: it lists URLs and changes nothing in your account.

### Start a crawl

POST

`/crawl`

`firecrawl.crawl.start`

Crawl a site from a base URL and scrape every page found; returns a crawl id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`url` required</td><td>string</td><td>body</td><td>Base URL to start from. Example `https://example.com`</td></tr>
    <tr><td>`limit` required</td><td>integer</td><td>body</td><td>Most pages to crawl; required, since unset crawls up to 10,000 pages, each billed. Example `10`</td></tr>

    <tr>
      <td>
        `includePaths`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Pathname regexes to include.
      </td>
    </tr>

    <tr>
      <td>
        `excludePaths`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Pathname regexes to exclude.
      </td>
    </tr>

    <tr>
      <td>
        `maxDiscoveryDepth`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Maximum link-discovery depth; the root and sitemap pages are depth 0.
      </td>
    </tr>

    <tr><td>`sitemap`</td><td>string</td><td>body</td><td>Sitemap mode. One of `skip`, `include`, `only`</td></tr>

    <tr>
      <td>
        `crawlEntireDomain`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Follow links to sibling and parent paths, not only children.
      </td>
    </tr>

    <tr>
      <td>
        `allowExternalLinks`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Follow links to other sites, one hop.
      </td>
    </tr>

    <tr>
      <td>
        `allowSubdomains`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Follow links to subdomains.
      </td>
    </tr>

    <tr>
      <td>
        `ignoreQueryParameters`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Do not re-scrape the same path with different query strings.
      </td>
    </tr>

    <tr>
      <td>
        `delay`
      </td>

      <td>
        number
      </td>

      <td>
        body
      </td>

      <td>
        Seconds between scrapes; forces concurrency 1.
      </td>
    </tr>

    <tr>
      <td>
        `maxConcurrency`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Concurrent scrapes cap.
      </td>
    </tr>

    <tr>
      <td>
        `prompt`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Natural-language description from which crawl options are generated.
      </td>
    </tr>

    <tr>
      <td>
        `scrapeOptions`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Per-page scrape options (formats, onlyMainContent, waitFor, proxy...).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) · Same job: [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-web-crawl), [Decodo](https://docs.webrouter.net/data-apis/decodo.md#decodo-crawl-start), [Olostep](https://docs.webrouter.net/data-apis/olostep.md#olostep-crawls-create), [ScrapeGraphAI](https://docs.webrouter.net/data-apis/scrapegraphai.md#scrapegraphai-crawl-start), [Search1API](https://docs.webrouter.net/data-apis/search1api.md#search1api-web-deepcrawl), [Spider Cloud](https://docs.webrouter.net/data-apis/spidercloud.md#spidercloud-crawl-site)

```python Python theme={null}
router.call_data_api("firecrawl.crawl.start", {'url': 'https://example.com', 'limit': 10})
```

```text MCP theme={null}
call_data_api(endpoint="firecrawl.crawl.start", params={"url": "https://example.com", "limit": 10})
```

> [!NOTE]
>
> * Starts a billed job: it only produces data and changes nothing else in your account.
> * Async: returns a crawl id; poll crawl.status until status is completed. Results are paged: follow the 'next' URL in the response.

### Get a crawl's status and pages

GET

`/crawl/{id}`

`firecrawl.crawl.status`

Status of a crawl job and the pages scraped so far.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Crawl job id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) · Same job: [AI Ark](https://docs.webrouter.net/data-apis/aiark.md#aiark-people-find-emails-status), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-requests-get), [Anymail Finder](https://docs.webrouter.net/data-apis/anymailfinder.md#anymailfinder-bulk-get), [Apify](https://docs.webrouter.net/data-apis/apify.md#apify-actors-list), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-marketmap-get), [BounceBan](https://docs.webrouter.net/data-apis/bounceban.md#bounceban-single-status)

> [!NOTE]
>
> * Large results are paged; follow the 'next' URL for more.

### List a crawl's errors

GET

`/crawl/{id}/errors`

`firecrawl.crawl.errors`

Pages a crawl failed to scrape and why.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Crawl job id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors)

### List active crawls

GET

`/crawl/active`

`firecrawl.crawl.active`

Crawls currently running for your team.

Input

No inputs.

[Vendor docs](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) · Same job: [Leadsforge](https://docs.webrouter.net/data-apis/leadsforge.md#leadsforge-enrichment-jobs), [OFAC-API (sanctions screening)](https://docs.webrouter.net/data-apis/ofacapi.md#ofacapi-jobs-list), [Origami](https://docs.webrouter.net/data-apis/origami.md#origami-jobs-list)

```python Python theme={null}
router.call_data_api("firecrawl.crawl.active")
```

```text MCP theme={null}
call_data_api(endpoint="firecrawl.crawl.active")
```

### Search the web and optionally scrape results

POST

`/search`

`firecrawl.search.query`

Web search with optional scraping of each result.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`query` required</td><td>string</td><td>body</td><td>The search query. Example `firecrawl pricing`</td></tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Most results per source type.
      </td>
    </tr>

    <tr>
      <td>
        `sources`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Sources to search, default \["web"].
      </td>
    </tr>

    <tr>
      <td>
        `categories`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Categories to filter by, e.g. research, pdf.
      </td>
    </tr>

    <tr>
      <td>
        `includeDomains`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Hostnames to restrict to; not with excludeDomains.
      </td>
    </tr>

    <tr>
      <td>
        `excludeDomains`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Hostnames to leave out; not with includeDomains.
      </td>
    </tr>

    <tr>
      <td>
        `tbs`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Time filter: qdr:h, qdr:d, qdr:w, qdr:m, qdr:y or a custom date range.
      </td>
    </tr>

    <tr>
      <td>
        `location`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Location text, e.g. San Francisco,California,United States.
      </td>
    </tr>

    <tr>
      <td>
        `country`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        ISO country code, e.g. US.
      </td>
    </tr>

    <tr>
      <td>
        `timeout`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Timeout in milliseconds.
      </td>
    </tr>

    <tr>
      <td>
        `scrapeOptions`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Per-page scrape options (formats, onlyMainContent, waitFor, proxy...).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.firecrawl.dev/api-reference/endpoint/search) · Same job: [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-search), [Apify](https://docs.webrouter.net/data-apis/apify.md#apify-store-search), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-web-search), [Brave Search](https://docs.webrouter.net/data-apis/bravesearch.md#bravesearch-videos-search), [BytePlus Searchinfinity](https://docs.webrouter.net/data-apis/byteplus-search.md#byteplus-search-web-search), [Crawl4AI Cloud](https://docs.webrouter.net/data-apis/crawl4ai.md#crawl4ai-search)

```python Python theme={null}
router.call_data_api("firecrawl.search.query", {'query': 'firecrawl pricing'})
```

```text MCP theme={null}
call_data_api(endpoint="firecrawl.search.query", params={"query": "firecrawl pricing"})
```

> [!NOTE]
>
> * A read over POST: it runs a search and changes nothing in your account.
> * Scraping results adds credits per scraped page on top of the search cost.

### Start an LLM extraction over URLs

POST

`/extract`

`firecrawl.extract.start`

Extract structured data from pages, whole sites included, using a prompt and optional schema.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`urls` required</td><td>array</td><td>body</td><td>URLs to extract from; wildcards like https\://example.com/\* cover a whole site. Example `["https://example.com/*"]`</td></tr>

    <tr>
      <td>
        `prompt`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        What to extract.
      </td>
    </tr>

    <tr>
      <td>
        `schema`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        JSON Schema of the output.
      </td>
    </tr>

    <tr>
      <td>
        `enableWebSearch`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Use web search for extra data.
      </td>
    </tr>

    <tr>
      <td>
        `includeSubdomains`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Also scan subdomains.
      </td>
    </tr>

    <tr>
      <td>
        `showSources`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Return the sources used.
      </td>
    </tr>

    <tr>
      <td>
        `ignoreInvalidURLs`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Skip invalid URLs.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.firecrawl.dev/api-reference/endpoint/extract) · Same job: [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-fetch), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-web-scrape), [Brave Search](https://docs.webrouter.net/data-apis/bravesearch.md#bravesearch-llm-context), [BytePlus Searchinfinity](https://docs.webrouter.net/data-apis/byteplus-search.md#byteplus-search-fetch), [cloro](https://docs.webrouter.net/data-apis/cloro.md#cloro-google-product), [Context7](https://docs.webrouter.net/data-apis/context7.md#context7-page-fetch)

```python Python theme={null}
router.call_data_api("firecrawl.extract.start", {'urls': ['https://example.com/*']})
```

```text MCP theme={null}
call_data_api(endpoint="firecrawl.extract.start", params={"urls": ["https://example.com/*"]})
```

> [!NOTE]
>
> * Starts a billed job: it only produces data and changes nothing else in your account.
> * Async: returns an id; poll extract.status.

### Get an extraction's status and result

GET

`/extract/{id}`

`firecrawl.extract.status`

Status and data of an extract job.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Extract job id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) · Same job: [AI Ark](https://docs.webrouter.net/data-apis/aiark.md#aiark-people-find-emails-status), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-requests-get), [Anymail Finder](https://docs.webrouter.net/data-apis/anymailfinder.md#anymailfinder-bulk-get), [Apify](https://docs.webrouter.net/data-apis/apify.md#apify-actors-list), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-marketmap-get), [BounceBan](https://docs.webrouter.net/data-apis/bounceban.md#bounceban-single-status)

### Get remaining credits

GET

`/team/credit-usage`

`firecrawl.team.credit_usage`

Credits left for your team.

Input

No inputs.

[Vendor docs](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage)

```python Python theme={null}
router.call_data_api("firecrawl.team.credit_usage")
```

```text MCP theme={null}
call_data_api(endpoint="firecrawl.team.credit_usage")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.