Blog/Explainer

Crawlee (2026): the open-source crawling library vs Scrapy and Crawl4AI

Crawlee is Apify's Apache-2.0 crawling library for JavaScript/TypeScript (26.7k stars) and Python (9.7k stars): HTTP and browser crawlers, request queues, proxy rotation and sessions. How it compares to Scrapy and Crawl4AI.

TL;DR

  • Crawlee is a free, Apache-2.0 library from Apify for building crawlers in JavaScript/TypeScript (~26.7k stars) and Python (~9.7k stars).
  • One API for fast HTTP crawling and full browser crawling with Playwright or Puppeteer, plus request queues, autoscaling, proxy rotation and session management.
  • Pick it over Scrapy for Node or browser-heavy sites; over Crawl4AI when you're building a crawler, not just turning pages into Markdown.
26.7kCrawlee (JS) GitHub stars
9.7kCrawlee for Python stars
Apache-2.0License
$0To use

Crawlee is an open-source web crawling and scraping library from Apify, under the Apache-2.0 license, available for JavaScript/TypeScript (about 26,700 GitHub stars) and Python (about 9,700); it gives you one API for fast HTTP crawlers and full headless-browser crawlers on Playwright or Puppeteer, with request queues, autoscaling, proxy rotation and session management built in. It’s free to run anywhere; Apify’s cloud is optional. Both repos were updated this week (checked December 4, 2026).

What Crawlee includes

  • HTTP crawlers that parse HTML without a browser: CheerioCrawler in JavaScript, BeautifulSoupCrawler and ParselCrawler in Python. Fast and cheap for static pages.
  • Browser crawlers: PlaywrightCrawler (both languages) and PuppeteerCrawler (JavaScript) for JavaScript-rendered sites.
  • Request queue: deduplicated URLs, retries and resumable crawls.
  • Autoscaling: runs as many pages in parallel as your CPU and memory allow.
  • Proxy rotation and sessions: rotate proxies and keep cookies per session to look like returning visitors.
  • Storage: datasets and key-value stores on disk, or on Apify when deployed there.

A minimal Crawlee crawler (Python)

import asyncio
from crawlee.crawlers import BeautifulSoupCrawler, BeautifulSoupCrawlingContext

async def main():
    crawler = BeautifulSoupCrawler(max_requests_per_crawl=50)

    @crawler.router.default_handler
    async def handler(ctx: BeautifulSoupCrawlingContext):
        await ctx.push_data({"url": ctx.request.url, "title": ctx.soup.title.string})
        await ctx.enqueue_links()

    await crawler.run(["https://example.com"])

asyncio.run(main())

Swap in PlaywrightCrawler when pages need JavaScript; the handler code stays almost the same.

Crawlee vs Scrapy vs Crawl4AI

CrawleeScrapyCrawl4AI
LanguagesJavaScript/TypeScript, PythonPythonPython
LicenseApache-2.0BSD-3-ClauseApache-2.0
GitHub stars~26.7k (JS) + ~9.7k (Python)~65.8k~88.5k
Browser crawlingBuilt in (Playwright, Puppeteer)Through pluginsBuilt in (Playwright)
Built forGeneral crawlers at scaleHigh-throughput HTTP crawlingLLM-ready Markdown and extraction
Hosted optionApifyZyte Scrapy CloudCrawl4AI Cloud
  • Scrapy is the mature Python standard for fast HTTP crawling, with a huge plugin ecosystem; browser rendering needs add-ons.
  • Crawl4AI focuses on turning pages into clean Markdown for LLMs and RAG, with content filters and LLM extraction. See Crawl4AI vs Firecrawl.
  • Crawlee sits between them: a full crawling framework with browser support as a first-class option, in Node or Python.

Running Crawlee in the cloud

Crawlee code runs on any server, container or function. Apify’s platform runs it as an “Actor” with storage, scheduling and proxies; it bills compute at $0.13–0.20 per compute unit (1 GB of RAM for an hour) depending on plan, with $5 of free usage a month. See Apify pricing.

Sources

FAQ

What is Crawlee?

An open-source (Apache-2.0) library from Apify for building web crawlers and scrapers in JavaScript/TypeScript or Python, with HTTP and headless-browser crawlers, request queues, proxy rotation and autoscaling.

Is Crawlee free?

Yes. The library is free and open source. Running it on Apify’s cloud is optional and billed by usage.

Crawlee or Scrapy?

Scrapy for high-throughput HTTP crawling in Python with its plugin ecosystem; Crawlee for browser-heavy sites, for Node.js, or if you want proxies, sessions and browser crawling built in.

Does Crawlee work with Python?

Yes. Crawlee for Python offers BeautifulSoup, Parsel and Playwright crawlers with the same concepts as the JavaScript version.

Topic hub

More on scraping and page content

  1. Web scraping API vs search API: which one do you actually need?Start here
  2. Apify alternatives (2026): crawl APIs and open-source tools compared by price
  3. Apify pricing (2026): plans, compute units, proxies and what Actors cost
  4. Best AI web scrapers (2026): prompt-to-JSON tools and what 1,000 pages cost
  5. Best website crawler APIs (2026): crawl a whole site, priced per 1,000 pages
  6. Browserbase pricing (2026): Free, $20 Developer, $99 Startup, and browser hours
  7. Cloudflare Browser Rendering /crawl (2026): crawl a site to Markdown, limits and price
  8. Crawl4AI vs Firecrawl (2026): open source, cloud prices and which to use
  9. ScrapeGraphAI (2026): the open-source library, API pricing and alternatives
  10. Spider (spider.cloud) pricing (2026): $1 per GB plus time, or unlimited from $40
  11. Firecrawl vs Jina Reader vs Tavily Extract (2026): which wins
  12. ZenRows vs Firecrawl (2026): price per 1,000 pages compared
  13. ScrapingBee pricing (2026): plans, credits per request, per 1,000
  14. Best ScrapingBee alternatives (2026): 8 APIs per 1,000
  15. Browserbase alternatives: Hyperbrowser, Steel and Browserless compared on price per browser hour
  16. Best Firecrawl alternatives (2026): 8 priced per 1,000 pages
  17. URL to markdown API (2026): 9 compared by price per 1,000 pages
  18. Best Jina Reader alternatives (2026): 8 URL-to-markdown APIs
  19. Jina Reader pricing (2026): cost per 1,000 requests and limits
  20. Firecrawl pricing per 1,000 requests (2026): plans and credits

Keep reading

WebSearch
APIs
Submit an API