By Rajesh Kannan, Co-Founder & CTO, Gramosoft · Last updated: · Parameters and prices checked on each vendor's own docs and pricing pages on November 30, 2026
A recursive crawling API takes one start URL, finds the rest of the site through its sitemap and links, and returns every page in one job. This comparison starts with GcrawlAI's crawl API, then puts Firecrawl, Scrapfly, Spider, Cloudflare's /crawl endpoint and Bright Data side by side: how each finds pages, how you limit a crawl, how results come back, and what a crawl costs.
TL;DR
- All six crawl a site from one call and return Markdown or HTML per page. They differ on scope controls, protected sites and billing.
- Finest scope control: Firecrawl and Scrapfly, with path filters, depth limits and webhooks. Spider shows a cost on every page. Cloudflare's /crawl is cheap but won't get past bot protection.
- On cost: for rendered pages through residential IPs, Bright Data is cheapest at 10,000 pages ($15), Firecrawl at 100,000 ($99), and GcrawlAI at a million ($686.50).
- GcrawlAI renders every page in a real browser through a residential IP as one request, never charges failed pages, and ships a Cloud API, Python SDK, MCP server and an MIT core.
What is the best recursive crawling API? For crawling protected sites at volume without per-feature charges, GcrawlAI: one request per page with rendering and residential IPs included. Firecrawl suits fine-grained scope control under 500,000 pages a month, Scrapfly suits WARC archives, and Cloudflare's /crawl suits unprotected sites you're allowed to crawl.
| API | Finds pages from | Scope controls | Results | Billing unit | Blocked or failed pages |
|---|---|---|---|---|---|
| GcrawlAI | Sitemap and links | Page cap, same domain, subdomains | Wait for the job, or async with webhooks | Request (all features included) | Never charged |
| Firecrawl | Sitemap and links | Page cap, depth, include and exclude paths | Poll, webhooks | Credit (1 per page) | 403 and 404 pages billed |
| Scrapfly | Links and sitemap | Page cap, depth, include and exclude paths | Poll, webhooks, WARC | Credit (1 to 30+ per page) | Failed scrapes free |
| Spider | Links | Page cap, depth, per-path caps, budget | JSON array or streamed JSON lines | Bandwidth and compute | Billed for what they used |
| Cloudflare /crawl | Sitemap, links or both | Page cap, depth, wildcard patterns | Poll a job | Browser hours | Can't pass bot checks |
| Bright Data Crawl API | Start URL | See its docs | Job results | Record (page) | See vendor terms |
Crawl a whole site in one call with GcrawlAI
GcrawlAI maps a site from its sitemap and internal links, then fetches every page in a real browser through a residential IP, with stealth escalation when a bot check appears. Each page is one request, duplicate URLs are dropped by canonical address, and pages that fail are never charged. You get Markdown or HTML per page.
The script below crawls up to 500 pages of a documentation site from a US residential IP and saves the guide and API pages as one JSON line each. The SDK caps pages and keeps the crawl on one domain; path filtering happens on the results, which is the one extra step compared with APIs that take include patterns. Point base_url at your own server to run it on the self-hosted core.
# gcrawlai_crawl.py
# pip install gcrawl-sdk
"""Crawl a whole site in one call with GcrawlAI and save each page as Markdown (one JSON line per page).
Discovery reads the sitemap and internal links; every page renders in a real browser through a
residential IP, counts as one request, and failed pages aren't charged."""
import json
import os
from urllib.parse import urlparse
from gcrawl_sdk import CrawlOptions, GcrawlClient
gc = GcrawlClient(api_key=os.getenv("GCRAWL_API_KEY", "gc-YOUR_API_KEY"))
# Self-hosted core: GcrawlClient(api_key=..., base_url="http://localhost:8000")
START = "https://docs.example.com/"
KEEP = ("/guides/", "/api/") # path filter, applied to the results
job = gc.crawl(
START,
options=CrawlOptions(max_pages=500, same_domain_only=True, include_subdomains=False,
markdown_enabled=True, proxy_geo="US"),
wait=True,
)
if not job.is_completed:
raise SystemExit(f"crawl ended with status {job.status}")
kept = 0
with open("site.jsonl", "w", encoding="utf-8") as out:
for page in job.pages:
if page.markdown and urlparse(page.url).path.startswith(KEEP):
out.write(json.dumps({"url": page.url, "markdown": page.markdown}) + "\n")
kept += 1
print(f"{len(job.pages)} pages crawled, {job.pages_failed or 0} failed (not charged), {kept} kept")
- Discovery built in: sitemap and internal-link mapping before the crawl, so pages missing from the sitemap still get found, and canonical-URL dedupe so tracking variants aren't fetched twice.
- Protected sites included: JavaScript rendering, rotating residential IPs with country targeting, and handling for Cloudflare, DataDome, Akamai and PerimeterX on every page.
- Output for pipelines: Markdown for LLMs and RAG, HTML for your own parsers, plus SEO metadata and offline bundles of a whole site.
- The rest of the toolkit: map for a URL list without fetching pages, scrape for single pages, the Search API, and async batch jobs with webhooks.
- How you connect: the managed Cloud API, the Python SDK, an MCP server for AI agents, the Playground and docs, or the MIT-licensed core on your servers.
- Billing: 50 free requests a month with no card, then $0.67 to $9.67 per 1,000 requests, with blocked pages, CAPTCHAs, timeouts and server errors never billed.
Where it falls short: the crawl call has no depth limit or include and exclude path patterns yet, so you scope by page cap and domain and filter the results. There's no WARC export like Scrapfly's and no per-page cost field like Spider's. The ecosystem is younger, and self-hosting means bringing your own proxy accounts. Below a million pages a month, another API is cheaper at list price.
"A crawl API is judged on the pages it couldn't get. Discovery and Markdown are table stakes now; what separates them is whether page 4,000 behind a bot check comes back, and whether you paid for it when it didn't."
Rajesh Kannan, Co-Founder & CTO at Gramosoft
What a recursive crawling API does for you
A recursive crawl starts from one URL, reads the sitemap and the links on each page, queues the new addresses, and keeps going until it hits a limit. The API runs that loop, the queue, deduplication, retries and rendering on its servers, so you send one request and collect the pages when the job finishes.
Doing that yourself means a frontier queue, URL normalisation, robots.txt checks, politeness delays, a browser pool, proxies, retries and storage. Our guide to crawling an entire website builds that loop in Python. An API replaces it with a handful of parameters: where to start, how far to go, which paths to keep, what format to return and where to send the results.
Two things decide which API fits. The first is scope: how precisely you can say which pages you want, because every extra page costs money. The second is what happens on protected sites, because a crawl that returns 3,000 bot-check pages out of 10,000 isn't a finished crawl. If you only need the URL list, not the pages, a map call is far cheaper than a crawl.
The recursive crawling APIs, one by one
Each of these APIs takes one start URL and returns many pages, but they're built for different jobs. Firecrawl and Scrapfly give the most scope control, Spider is built for cheap, fast crawls with a cost on every page, Cloudflare's endpoint crawls unprotected sites inside its platform, and Bright Data sells crawling beside its proxy network.
Firecrawl: the most crawl options
Firecrawl's /v2/crawl runs as an async job with a default limit of 10,000 pages. Scope comes from maxDiscoveryDepth, includePaths, excludePaths, crawlEntireDomain, allowSubdomains and sitemap handling, plus delay and maxConcurrency. Each page costs 1 credit and JSON output adds 4. Its billing docs say pages that come back 403 or 404 are billed too, so check metadata.statusCode. Plans run from $19 for 5,000 credits to $749 for 1,000,000.
Scrapfly: crawls with archives and webhooks
Scrapfly's Crawler API discovers pages by links and sitemap, with include_only_paths, exclude_paths, max_depth and page_limit. It streams webhook events per page, stores every page as a WARC archive, and can run extraction on each page. Rendering is off by default. Each page bills as a scrape: 1 credit on datacenter IPs, 6 with rendering, and 25 for residential IPs per its crawler billing page. Failed scrapes are free.
Spider: fast crawls priced by usage
Spider's crawl API takes limit and depth caps, per-path caps, a credit budget and a timeout, and returns each page's cost in the response. It can stream one JSON line per page. Pricing is pay as you go at $1 per GB plus a small per-minute charge, which Spider says works out from $0.16 per 1,000 light static pages; heavier or rendered pages cost more. Failed pages still bill for the bandwidth and compute they used.
Cloudflare /crawl: cheap, polite and easy to block
Cloudflare added a /crawl endpoint to Browser Rendering in March 2026, in open beta. It discovers pages from sitemaps, links or both, takes depth, page and wildcard limits, returns HTML, Markdown or JSON, and can skip unchanged pages. It honours robots.txt and identifies itself as a bot, and Cloudflare says it can't bypass bot detection or CAPTCHAs. Usage bills as browser time at $0.09 an hour after 10 free hours; the free plan allows 5 crawls a day of up to 100 pages.
Bright Data: crawling beside a proxy network
Bright Data's Crawl API sits beside its proxy network, Web Unlocker and dataset products, and returns crawled pages as records. It costs $1.50 per 1,000 records pay as you go, the cheapest list price here for small crawls. We couldn't confirm its full set of scope controls from public docs, so it's left out of the scope table below; check them before a large job. Our Firecrawl vs Bright Data comparison covers the platform in depth.
How each API limits a crawl
Scope parameters decide how many pages you pay for, so compare them before price. Firecrawl and Scrapfly take path patterns and depth, Spider adds per-path caps and a spending limit, Cloudflare takes wildcards and depth, and GcrawlAI caps pages by count and domain. Set a small page limit first on any site you haven't crawled before.
| Control | GcrawlAI | Firecrawl | Scrapfly | Spider | Cloudflare |
|---|---|---|---|---|---|
| Page cap | max_pages |
limit |
page_limit |
limit |
limit |
| Depth | Not yet | maxDiscoveryDepth |
max_depth |
depth |
depth |
| Path filters | Filter results | includePaths, excludePaths |
include_only_paths, exclude_paths |
Per-path caps | Wildcard patterns |
| Stay on site | same_domain_only |
allowExternalLinks |
follow_external_links |
Default | Default |
| Subdomains | include_subdomains |
allowSubdomains |
Via path patterns | Option | Via patterns |
| Country | proxy_geo |
Location option | Proxy country | Proxy option | No |
| Robots.txt | Your responsibility | Respected by default | Toggle | Respected by default | Always respected |
Path filters inside the API save money, because excluded pages are never fetched. Filtering afterwards, as GcrawlAI needs today, still fetches them, so set a tight page cap and start from the section you want, such as /docs/, rather than the homepage. Before any large crawl, read how to check if a website allows scraping.
What a crawl costs from 10,000 to a million pages
For JavaScript-rendered pages through residential IPs, no API is cheapest at every size. Bright Data costs least at 10,000 pages a month, Firecrawl at 100,000, and GcrawlAI at a million. Scrapfly's residential and rendering credits push it past its published plans above about 33,000 pages.
The script prices each workload at the cheapest published plan, with top-ups or overage, using monthly billing. It's list-price arithmetic, not a benchmark. Spider and Cloudflare bill by bandwidth or browser time per site, so they can't be priced per page here, and Scrapfly's Unblocker can add 10 to 30 credits a page on hard sites.
# cost_crawl.py
"""List price to crawl N JavaScript-rendered pages a month through residential IPs.
Prices from each vendor's own pricing or billing page, checked November 30, 2026 (USD, monthly billing).
List-price arithmetic, not a benchmark: the cheapest published plan, with top-ups or overage, that covers N.
Spider and Cloudflare's /crawl bill by bandwidth or browser time per site, so they can't be priced per page here.
"""
GCRAWLAI = [("Starter", 29, 3_000, 10.83), ("Growth", 79, 50_000, 1.77),
("Pro", 199, 150_000, 1.49), ("Scale", 499, 750_000, 0.75)] # 1 request per page, all included
FIRECRAWL = [("Hobby", 19, 5_000, 1_000), ("Standard", 99, 100_000, 2_000),
("Growth", 399, 500_000, 2_500), ("Scale", 749, 1_000_000, 5_000)] # 1 credit/page; $5 top-ups
SCRAPFLY = [("$30 plan", 30, 200_000), ("Pro", 100, 1_000_000)] # credits; plans we could verify
SCRAPFLY_PER_PAGE = 25 + 5 # residential proxy 25 credits + JavaScript rendering 5 (Unblocker adds 10-30 more)
BRIGHTDATA_CRAWL = 1.50 # $ per 1,000 records, pay as you go
def gcrawlai(n):
return min((p + max(0, n - inc) / 1000 * o, name) for name, p, inc, o in GCRAWLAI)
def firecrawl(n):
best = []
for name, p, inc, per5 in FIRECRAWL:
batches = -(-max(0, n - inc) // per5)
best.append((p + 5 * batches, name + (f" + {batches} top-ups" if batches else "")))
return min(best)
def scrapfly(n):
fits = [(p, name) for name, p, credits in SCRAPFLY if n * SCRAPFLY_PER_PAGE <= credits]
return min(fits) if fits else (None, f"{n * SCRAPFLY_PER_PAGE:,} credits: above Pro")
def brightdata(n):
return n / 1000 * BRIGHTDATA_CRAWL, "pay as you go"
if __name__ == "__main__":
rows = [("GcrawlAI", gcrawlai), ("Firecrawl", firecrawl), ("Scrapfly", scrapfly), ("Bright Data Crawl API", brightdata)]
for n in (10_000, 100_000, 1_000_000):
print(f"{n:,} rendered pages a month through residential IPs")
for name, fn in rows:
cost, plan = fn(n)
price = f"${cost:,.2f}" if cost is not None else "not listed"
print(f" {name:<22} {price:>11} {plan}")
print()
# cost_output.txt (printed output) 10,000 rendered pages a month through residential IPs GcrawlAI $79.00 Growth Firecrawl $44.00 Hobby + 5 top-ups Scrapfly $100.00 Pro Bright Data Crawl API $15.00 pay as you go 100,000 rendered pages a month through residential IPs GcrawlAI $167.50 Growth Firecrawl $99.00 Standard Scrapfly not listed 3,000,000 credits: above Pro Bright Data Crawl API $150.00 pay as you go 1,000,000 rendered pages a month through residential IPs GcrawlAI $686.50 Scale Firecrawl $749.00 Scale Scrapfly not listed 30,000,000 credits: above Pro Bright Data Crawl API $1,500.00 pay as you go
Two things the list price hides. Firecrawl bills pages that come back 403 or 404, and Spider bills failed pages for what they used, so a crawl of a protected site can cost more than its page count. GcrawlAI and Scrapfly don't charge failed pages. GcrawlAI's plans, from the pricing page:
| Plan | Price | Requests/month | Concurrent | Per 1,000 | Overage per 1,000 |
|---|---|---|---|---|---|
| Free | $0, no card | 50 | 2 | – | – |
| Starter | $29 | 3,000 | 5 | $9.67 | $10.83 |
| Growth | $79 | 50,000 | 15 | $1.58 | $1.77 |
| Pro | $199 | 150,000 | 25 | $1.33 | $1.49 |
| Scale | $499 | 750,000 | 50 | $0.67 | $0.75 |
| Enterprise | Volume pricing | 2M+ | 300+ | – | – |
| Self-hosted | $0 (MIT) | Your servers | Your workers | Infrastructure only | – |
Annual billing charges 10 months for 12, unused requests on paid plans roll over to the next billing period, and Indian customers are billed in INR with a GST invoice (INR prices exclude 18% GST). Every plan, Free included, has every endpoint, rendering, residential IPs and anti-bot handling.
"If a site is open and you crawl it once, almost anything works and the cheapest list price wins. We built GcrawlAI for the crawl you run every week against sites that push back."
Rajesh Kannan, Co-Founder & CTO at Gramosoft
Which recursive crawling API should you choose in 2027?
Pick by the sites you crawl and how often. Open sites crawled once suit Cloudflare or Spider. Path-precise crawls under 500,000 pages suit Firecrawl, archives suit Scrapfly, and protected sites at volume suit GcrawlAI. GcrawlAI also fits every row below as a single fetcher with failed pages free.
| Your crawl | Good fit | Where GcrawlAI fits |
|---|---|---|
| Protected sites, a million pages a month or more | GcrawlAI | Scale plan at $0.67 per 1,000, failed pages never charged |
| Docs or blog sections with path rules, up to 500,000 pages | Firecrawl | Same Markdown; start from the section and filter results |
| Archives for SEO audits or training data | Scrapfly (WARC) | Offline bundles and HTML per page |
| Cheap one-off crawls of open sites | Spider, Cloudflare /crawl | 50 free requests to test, then pay per page |
| Small monthly crawls on a budget | Bright Data pay as you go | Starter or Growth with rollover |
| Self-hosted for data residency | GcrawlAI (MIT) | Same API on your servers, bring your own proxies |
Whichever you choose, crawl only public pages you're allowed to use, keep to robots.txt and sensible rates, and keep personal data out of what you store. For crawls that feed an LLM, our guide to web scraping for RAG covers cleaning and chunking.
Frequently asked questions
What is a recursive crawling API?
It's an API that takes one start URL, finds the site's other pages through the sitemap and links on each page, and fetches them all in one job, up to limits you set. You get every page back as Markdown, HTML or JSON without running a queue, browsers or proxies yourself. GcrawlAI's crawl endpoint is one example.
What is the best recursive crawling API?
It depends on the sites. For protected sites at volume, GcrawlAI: one request per page with rendering and residential IPs, failed pages free. Firecrawl offers the most scope options, Scrapfly adds WARC archives and webhooks, Spider prices by usage, and Cloudflare's /crawl suits open sites. At small volumes Bright Data's list price is lowest.
How is crawling different from scraping?
Scraping fetches pages you name. Crawling starts from one page and discovers the others by following links and reading sitemaps. A crawling API does both: it discovers URLs, then scrapes each one. If you only need the list of URLs, a map call returns it much more cheaply than a crawl that fetches every page.
How do I stop a crawl from costing too much?
Set a page cap on every job, start from the section you need rather than the homepage, and use depth and path filters where the API offers them. Check how failed pages are billed: Firecrawl bills 403 and 404 pages and Spider bills failures for what they used. GcrawlAI never charges failed requests.
Can a crawling API handle JavaScript and bot protection?
Most can render JavaScript, though Scrapfly turns rendering off by default and charges more for it. Bot protection varies more: Cloudflare says its /crawl can't bypass bot detection or CAPTCHAs. GcrawlAI renders every page in a real browser through residential IPs, with stealth escalation for Cloudflare, DataDome, Akamai and PerimeterX.
Do crawling APIs respect robots.txt?
Cloudflare's /crawl always honours robots.txt, including crawl-delay. Spider and Firecrawl respect it by default and let you change that, and Scrapfly makes it a toggle. Whatever the API does, you're responsible for what you crawl: follow robots.txt and the site's terms, keep request rates reasonable, and avoid personal data.
Is GcrawlAI open source, and what does it cost?
Yes. The core is MIT-licensed and self-hostable, alongside a managed Cloud API, Python SDK and MCP server. The free plan has 50 requests a month with no card, and paid plans cost $0.67 to $9.67 per 1,000 requests. Each crawled page is one request with rendering and proxies included, and failed requests are never charged.
Related guides
- How to Crawl an Entire Website: Sitemap and Link Discovery
- Best Web Crawling APIs for RAG in 2026: Recursive Crawl to Markdown and JSON
- Firecrawl vs Bright Data: Which Fits AI Data Pipelines?
- Best Open-Source Web Crawlers in 2026 (Self-Hosted)
- Web Scraping for RAG: The Complete Engineering Guide to Clean LLM Data Ingestion in 2026
- How to Download an Entire Website as a ZIP for Offline Use
- Crawlee for Python Tutorial With Examples
- How to Find Broken Links on Any Website With Python
- 7 Cheapest Reliable Web Scraping APIs for High Volume in 2026