



















@@ -2,7 +2,8 @@
22summary: "Firecrawl search, scrape, and web_fetch fallback"
33read_when:
44 - You want Firecrawl-backed web extraction
5- - You need a Firecrawl API key
5+ - You want keyless Firecrawl web_fetch
6+ - You need a Firecrawl API key for search or higher limits
67 - You want Firecrawl as a web_search provider
78 - You want anti-bot extraction for web_fetch
89title: "Firecrawl"
@@ -17,10 +18,12 @@ OpenClaw can use **Firecrawl** in three ways:
1718It is a hosted extraction/search service that supports bot circumvention and caching,
1819which helps with JS-heavy sites or pages that block plain HTTP fetches.
192020-## Get an API key
21+## Keyless web_fetch and API keys
212222-1. Create a Firecrawl account and generate an API key.
23-2. Store it in config or set `FIRECRAWL_API_KEY` in the gateway environment.
23+The explicitly selected hosted Firecrawl `web_fetch` fallback supports starter
24+access without an API key. Add `FIRECRAWL_API_KEY` in the gateway environment
25+or configure it when you need higher limits. Firecrawl `web_search` and
26+`firecrawl_scrape` require an API key.
24272528## Configure Firecrawl search
2629@@ -57,17 +60,23 @@ Notes:
5760- `baseUrl` defaults to hosted Firecrawl at `https://api.firecrawl.dev`. Self-hosted overrides are allowed only for private/internal endpoints; HTTP is accepted only for those private targets.
5861- `FIRECRAWL_BASE_URL` is the shared env fallback for Firecrawl search and scrape base URLs.
596260-## Configure Firecrawl scrape + web_fetch fallback
63+## Configure Firecrawl web_fetch fallback
61646265```json5
6366{
67+ tools: {
68+ web: {
69+ fetch: {
70+ provider: "firecrawl", // explicit selection enables keyless fallback
71+ },
72+ },
73+ },
6474 plugins: {
6575 entries: {
6676 firecrawl: {
6777 enabled: true,
6878 config: {
6979 webFetch: {
70- apiKey: "FIRECRAWL_API_KEY_HERE",
7180 baseUrl: "https://api.firecrawl.dev",
7281 onlyMainContent: true,
7382 maxAgeMs: 172800000,
@@ -82,13 +91,15 @@ Notes:
82918392Notes:
849385-- Firecrawl fallback attempts run only when an API key is available (`plugins.entries.firecrawl.config.webFetch.apiKey` or `FIRECRAWL_API_KEY`).
94+- The explicitly selected Firecrawl `web_fetch` fallback works without an API key. When configured, OpenClaw sends `plugins.entries.firecrawl.config.webFetch.apiKey` or `FIRECRAWL_API_KEY` for higher limits.
95+- Choosing Firecrawl during onboarding or `openclaw configure --section web` enables the plugin and selects Firecrawl for `web_fetch` unless another fetch provider is already configured.
96+- `firecrawl_scrape` requires an API key.
8697- `maxAgeMs` controls how old cached results can be (ms). Default is 2 days.
8798- Legacy `tools.web.fetch.firecrawl.*` config is auto-migrated by `openclaw doctor --fix`.
8899- Firecrawl scrape/base URL overrides follow the same hosted/private rule as search: public hosted traffic uses `https://api.firecrawl.dev`; self-hosted overrides must resolve to private/internal endpoints.
89100- `firecrawl_scrape` rejects obvious private, loopback, metadata, and non-HTTP(S) target URLs before forwarding them to Firecrawl, matching the `web_fetch` target-safety contract for explicit Firecrawl scrape calls.
9010191-`firecrawl_scrape` reuses the same `plugins.entries.firecrawl.config.webFetch.*` settings and env vars.
102+`firecrawl_scrape` reuses the same `plugins.entries.firecrawl.config.webFetch.*` settings and env vars, including its required API key.
9210393104### Self-hosted Firecrawl
94105@@ -141,7 +152,7 @@ than basic-only scraping.
141152`web_fetch` extraction order:
1421531431541. Readability (local)
144-2. Firecrawl (if selected or auto-detected as the active web-fetch fallback)
155+2. Firecrawl (when selected, or auto-detected from configured credentials)
1451563. Basic HTML cleanup (last fallback)
146157147158The selection knob is `tools.web.fetch.provider`. If you omit it, OpenClaw
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。