Web Scraping and Extraction APIs: Credit Math, Anti-Bot Escalation and Build vs Buy
Key Takeaways
- Firecrawl is billed in pooled credits: a basic scrape or crawl page costs 1 credit, enhanced proxy retries included, while JSON, Question, and Highlight formats add 4 credits. Firecrawl concurrency is 5 browsers on Hobby ($19/mo), 25 on Standard ($99/mo) and 50 on Growth ($399/mo).
- Apify billing is prepaid usage on 3 paid plans: Starter ($19/mo, $0.20/CU, $8.00/GB residential, 32 runs), Scale ($199/mo, $0.16/CU, $7.50/GB) and Business ($999/mo, $0.13/CU, $7.00/GB). Apify Store Actors add pay-per-event and pay-per-usage billing.
- Bright Data Web Unlocker and SERP API cost $1.50/1k pay-as-you-go after 5,000/mo free, and Scale is $499/mo (383,000 Unlocker or 380,000 SERP reqs, then $1.30/1k). Pay-as-you-go is cheaper than Unlocker Scale below 333k reqs/mo, and Bright Data Scraping Browser bills $8.00/GB.
- Residential proxy egress, not compute, is the main cost of browser-rendered scraping at 0.5 MB per page. At 100,000 three-second pages, compute is $6.57 in browser-hour overage on Cloudflare Browser Run Workers Paid or $16.67 in Apify CUs, while 50 GB of $8.00/GB residential proxies adds $400.00. Plain HTTP is the tier to try before any paid escalation.
- Firecrawl returns HTTP 200 with
success: trueeven when the target page answered 403 or 404, and that blocked page still costs 1 credit, so pipelines must readdata.metadata.statusCodebefore storing a result.
Why do scraping API list prices understate production bills?
Updated
Scraping API list prices understate production bills because the headline tier price leaves out credit multipliers, billed 403s and residential proxy egress. Comparing Firecrawl, Apify, Bright Data, and self-hosted Playwright by monthly tier misses all three. Firecrawl Standard gives 100,000 credits at $99/mo ($83/mo annual) for plain markdown at 1 credit per page. JSON mode adds 4 credits per page and pushes 100,000 pages to 500,000 credits ($399.00 on Growth). Target 403 or 404 pages still bill 1 credit.
On Apify, compute units cost $0.20/CU on Starter, but residential proxies at $8.00/GB eclipse compute unless you block media assets. Bright Data Web Unlocker charges $1.50/1k pay-as-you-go on successful responses only. The unit math below covers all four stacks, and the tiered escalation script keeps static pages off paid tiers.
Firecrawl Standard monthly for 100k basic scrape credits ($83/mo annual)
Apify Starter compute rate (1 GB RAM/hr)
Bright Data Web Unlocker pay-as-you-go rate, billed on success only
token reduction converting HTML to Markdown on Cloudflare's benchmark
Vendor pricing mechanics and hidden billing traps
How do Firecrawl, Apify and Bright Data bill for scraping?
Firecrawl, Apify and Bright Data bill on different units: Firecrawl in pooled credits per page, Apify in prepaid Compute Units plus proxy traffic, and Bright Data per successful request or per GB.
Firecrawl pools credits across endpoints: 1 credit per /scrape, /crawl, or /map, 2 per 10 /search results, and 2 per /interact browser minute. Firecrawl paid plans are Hobby ($19/mo / $16/mo annual, 5,000 cr, 5 browsers, 100/min), Standard ($99/mo / $83/mo annual, 100,000 cr, 25 browsers, 500/min), Growth ($399/mo, 500,000 cr, 50 browsers), and Scale ($749/mo, 1,000,000 cr, 100 browsers; Enterprise is custom).
Firecrawl pay-as-you-go refills cost $5 per 1,000 / 2,000 / 2,500 / 5,000 credits respectively. Enhanced proxies stay at 1 credit, cached maxAge reads still cost 1 credit, and PII redaction or JSON mode add 4 credits per page (PDF parsing costs 1 credit per PDF page).
Apify deducts five usage types from matching monthly prepaid credits. An Actor Compute Unit is 1 GB RAM for 1 hour, with Actors sized 128 MB to 32,768 MB at 4,096 MB per CPU core. The other four are residential proxies ($8.00/GB Starter down to $7.00/GB Business), datacenter proxies (30 IPs included on Starter), Google SERP proxies ($2.50/1k), and Unblocker ($1.50/1k down to $1.00/1k). Apify Store Actors bill pay-per-event and pay-per-usage, and some pay-per-event Actors charge platform usage separately.
| Platform | Plans | Billing unit | Concurrency cap | Billing trap |
|---|---|---|---|---|
Firecrawl | Hobby $19/mo (5,000); Standard $99/mo (100,000); Growth $399/mo (500,000) | 1 cr/pg markdown or enhanced; +4 cr for JSON | 5 / 25 / 50 browsers; Standard: 500/min /scrape, 100/min /crawl | 403/404 pages and cached reads still bill 1 cr |
Starter $19/mo, Scale $199/mo, Business $999/mo prepaid | $0.20/CU to $0.13/CU; $8.00/GB to $7.00/GB residential; $1.50/1k Unblocker | 32 / 128 / 256 runs; 64 GB to 512 GB RAM | Unblocked media inflates $8.00/GB traffic; check Actor fee splits | |
Bright Data Unlocker / SERP | 5,000/mo free; PAYG $1.50/1k; Scale $499/mo (383,000 / 380,000) | $1.50/1k PAYG or $1.30/1k overage per success | Unlimited concurrent requests on paid plans | Custom SERP headers or cookies bill all requests including failures |
Bright Data Scraping Browser | 1 GB/mo free; PAYG $8.00/GB; Scale $499/mo (71 GB) | Per-GB traffic with built-in proxies and unlocking | Unlimited concurrent Playwright or Puppeteer sessions | Heavy media burns $8.00/GB unless non-DOM routes abort |
json format adds 4 credits (5 total per page), pushing 100,000 pages from $99/mo ($0.99/1k for markdown on Standard) to 500,000 credits ($399.00/mo on Growth).What do 10,000 and 100,000 pages a month cost on each stack?
The monthly cost of 10,000 and 100,000 pages on each stack uses list prices, modeling 3 seconds of browser time and 0.5 MB per rendered page.
Using a uniform baseline of 3 seconds per rendered page (8.3 hrs per 10,000 pages; 83 hrs per 100,000) and 0.5 MB per page with images and media blocked separates browser compute from proxy cost. Unblocked pages are far heavier: the HTTP Archive 2025 Web Almanac puts the median mobile home page at 2.56 MB, with images the largest byte category on mobile and desktop. On Cloudflare Browser Run Workers Paid (10 hrs/mo included, then $0.09/hr), 100,000 Quick Actions pages add only $6.57 in browser-hour overage before external proxies.
| Stack & basis | 10,000 pages / mo | 100,000 pages / mo | Main cost driver |
|---|---|---|---|
Firecrawl (markdown) | $44.00 ($4.40/1k on Hobby + 5k PAYG) | $99.00 monthly ($0.99/1k) or $83.00 annual | JSON mode jumps to $399.00 ($3.99/1k); 403s cost 1 cr |
Apify Playwright (1 GB, 3s/pg) | $1.67 compute (inside $19/mo); +$40.00 at $8.00/GB residential | $16.67 compute (83.3 CU); +$400.00 for 50 GB residential | Residential egress exceeds compute by 24x; Unblocker is $1.50/1k |
Bright Data Web Unlocker | $15.00 gross at $1.50/1k (5,000/mo free) | $150.00 gross PAYG; cheaper than Scale below 333k reqs/mo | Interactive flows need Scraping Browser at $8.00/GB |
Cloudflare Browser Run (3s/pg) | $0 overage (8.3 hrs inside 10 hrs/mo) | $6.57 hour overage (83 hrs, less 10 hrs/mo included, at $0.09/hr) | Sessions add $2.00/browser past 10 concurrent browsers |
Exact live spend on Firecrawl, Apify, Bright Data or Cloudflare Browser Run still depends on site-specific friction. Unknown: per-domain bypass rates across Akamai Bot Manager or Cloudflare WAF rulesets and true MB-per-page transfer on your target sites, because no vendor publishes universal domain-level pass rates or payload weights. Benchmark a 100-URL sample before committing.
Anti-bot escalation architecture and token hygiene
When should a scraper escalate from plain HTTP to managed unblocking?
A scraper escalates from plain HTTP to managed unblocking only on a WAF challenge, HTTP 401/403/429 or an empty JavaScript shell, which keeps open pages off paid browsers and stops HTML token waste.
Send plain HTTP with Accept: text/markdown, text/html first. On Cloudflare zones with Markdown for Agents, converting HTML cut Cloudflare's own post from 16,180 tokens to 3,150 tokens, an 80% savings. Escalate only on cf-mitigated: challenge, HTTP 401/403/429, or empty JavaScript shells. Headless Chromium behind a proxy is easily fingerprinted by bot defenses, so defended targets need TLS, HTTP/2, browser fingerprint, and OS emulation through a managed unlocker or headfull browser.
- Trusting Firecrawl's HTTP 200 without checking
data.metadata.statusCodestores 403 block pages as valid documents. - Running Playwright in Docker without
--initand--ipc=hostcauses zombie processes and Chromium out-of-memory crashes; untrusted sites also need a separate user and seccomp profile. - Retrying 403s in client code wastes credits: Firecrawl
proxy: "auto"already retries once on 401, 403, or 429, so a client retry bills another 1 credit.
import asyncio, os, httpx
FIRECRAWL_KEY = os.environ["FIRECRAWL_API_KEY"]
MAX_CONCURRENCY = 5 # Match plan ceiling (5 Hobby, 25 Standard)
MAX_CREDITS = 250 # Hard run cap so a blocked domain fails closed
credits_spent = 0
lock = asyncio.Lock()
async def fetch_with_escalation(client: httpx.AsyncClient, url: str) -> dict:
global credits_spent
r = await client.get(url, headers={"Accept": "text/markdown, text/html"}, timeout=12)
challenged = r.headers.get("cf-mitigated") == "challenge"
blocked = r.status_code in (401, 403, 429) or challenged
js_shell = r.status_code == 200 and len(r.text.strip()) < 800
if r.status_code == 200 and not blocked and not js_shell:
return {"url": url, "tier": "http", "body": r.text}
async with lock:
if credits_spent + 1 > MAX_CREDITS:
raise RuntimeError(f"Spend cap hit ({MAX_CREDITS} credits)")
credits_spent += 1
res = await client.post(
"https://api.firecrawl.dev/v2/scrape",
headers={"Authorization": f"Bearer {FIRECRAWL_KEY}"},
json={"url": url, "formats": ["markdown"], "proxy": "auto", "onlyMainContent": True},
timeout=45,
)
res.raise_for_status()
payload = res.json().get("data", {})
page_status = payload.get("metadata", {}).get("statusCode")
if page_status != 200:
return {"url": url, "tier": "firecrawl_error", "status": page_status}
return {"url": url, "tier": "firecrawl", "body": payload.get("markdown", "")}
async def run_batch(urls: list[str]) -> list[dict]:
sem = asyncio.Semaphore(MAX_CONCURRENCY)
async with httpx.AsyncClient(follow_redirects=True) as client:
async def bounded(u: str) -> dict:
async with sem:
return await fetch_with_escalation(client, u)
return await asyncio.gather(*(bounded(u) for u in urls))Build vs buy decision criteria
When should you self-host Playwright instead of buying Firecrawl, Apify or Bright Data?
Self-hosting Playwright fits open docs and feeds you operate yourself; Firecrawl, Apify and Bright Data fit by target defense strength, interaction depth, and monthly volume.
- Self-host HTTP plus Playwright (or Cloudflare Browser Run at $0.09/hr past 10 hrs/mo) on open docs and feeds where you own Docker
--ipc=hostops. - Use Firecrawl Standard ($99/mo, $0.99/1k at 100k pages) for LLM-ready Markdown with 1-credit auto-escalated proxies, and run JSON parsing on your own LLM.
- Use Apify ($19/mo Starter, $0.20/CU, 32 runs) for custom Actors and pre-built Store scrapers with billing usage limits.
- Use Bright Data Web Unlocker PAYG ($1.50/1k, pay-only-for-success, unlimited concurrency) on heavily defended targets below 333k reqs/mo, or Scraping Browser ($8.00/GB) for stateful headfull flows.
Pair agent scraping loops with the API budget controls in our Claude MCP servers for marketing and SEO guide. For quick live extraction tests and custom crawlers, GrowthVector.io maintains a free Website Data Extraction tool and offers data extraction engineering services.
Common Questions
Does Firecrawl charge extra credits for enhanced proxies?
No. Firecrawl charges no extra credits for enhanced proxies: an enhanced proxy request costs 1 credit, the same as a basic proxy request. Under proxy: "auto", one escalated retry after 401, 403, or 429 stays inside that single credit.
Why does an Apify bill exceed Compute Units by 10x or more?
An Apify bill exceeds Compute Units by 10x or more because residential proxy traffic, not compute, is the main cost. Starter compute costs $0.20/CU ($16.67 for 83.3 CU across 100k three-second pages), while residential proxies bill $8.00/GB ($7.50/GB Scale, $7.00/GB Business). At 0.5 MB per page, 50 GB adds $400.00, so media blocking is essential.
When is Bright Data Web Unlocker Scale cheaper than pay-as-you-go?
Bright Data Web Unlocker Scale is cheaper than pay-as-you-go above about 333k successful requests per month. Pay-as-you-go is $1.50/1k with no monthly commitment, while Scale is $499/mo for 383,000 requests ($1.30/1k overage). Breakeven is $499 divided by $1.50/1k, or 332,667 requests; below that volume, stay on pay-as-you-go.
Why do Firecrawl scrapes return HTTP 200 on blocked pages?
Firecrawl scrapes return HTTP 200 on blocked pages because the status reports the API call, not the target. Firecrawl returns HTTP 200 with success: true for any processed API call even when the target returned 403 or 404. Always check data.metadata.statusCode, and remember 403/404 pages still cost 1 credit.
We may earn a commission from some links on this page.