Firecrawl-compatible API

Switch from Firecrawl in one line.

Keep the Firecrawl SDK call. Change the base URL to https://webscraper.apexflowlabs.com and send your Apex key (rs_live_…) as Authorization: Bearer.

Python

from firecrawl import Firecrawl
app = Firecrawl(api_key="rs_live_...", api_url="https://webscraper.apexflowlabs.com")
doc = app.scrape("https://example.com", formats=["markdown"])
print(doc.markdown)

JavaScript

import Firecrawl from "@mendable/firecrawl-js";
const app = new Firecrawl({ apiKey: "rs_live_...", apiUrl: "https://webscraper.apexflowlabs.com" });
const doc = await app.scrape("https://example.com", { formats: ["markdown"] });

curl

curl -X POST https://webscraper.apexflowlabs.com/v2/scrape \
  -H "Authorization: Bearer $APEX_SCRAPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","formats":["markdown"]}'

MCP

Point a remote MCP client at https://webscraper.apexflowlabs.com/v1/mcp with the same bearer key. The server lists the Apex tools and these Firecrawl names: firecrawl_scrape, firecrawl_crawl, firecrawl_map, firecrawl_search, firecrawl_batch_scrape, firecrawl_check_crawl_status, firecrawl_check_batch_status, firecrawl_cancel_crawl.

A local stdio client can run uvx --from apex-flow-web-scraper apex-scraper-mcp with APEX_SCRAPER_API_KEY set (the package is on PyPI). FIRECRAWL_API_KEY is accepted as the same key. The Node package is not on npm yet; Node clients can use the remote MCP URL above.

Which URL to call

/v2/… is always the Firecrawl shape. /v1/scrape, /v1/crawl, /v1/map, and /v1/search are shared with the Apex API. Official Firecrawl SDKs send an origin field, and that selects the Firecrawl response. A body that only uses Apex fields (render, outputs, recipe, fallback) keeps the Apex response, so current Apex clients do not change.

What works

What returns an error

These are rejected with HTTP 400, success: false, and code: unsupported_feature. The field is not dropped and the call is not billed as if it had worked.

Credits

A plain page is 1 credit, a rendered page is 3, and JSON schema extraction is 150 more on paid plans. A nonempty map is 1 credit. Web, news, and image search, when the operator has enabled it, is 1 credit per source for up to 10 results. A batch accepts at most 10 URLs. Failed scrapes return the reserved credits. There is no automatic overage. A named page the live site refuses can come back as a labelled Internet Archive copy, which is the same rule as the Apex API.

Crawls and maps obey robots.txt. A page you name in a single scrape is read even where robots.txt disallows it, and the receipt says so. ignoreRobotsTxt is rejected.

Get an Apex key → Price comparison