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.
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:
CheerioCrawlerin JavaScript,BeautifulSoupCrawlerandParselCrawlerin Python. Fast and cheap for static pages. - Browser crawlers:
PlaywrightCrawler(both languages) andPuppeteerCrawler(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
| Crawlee | Scrapy | Crawl4AI | |
|---|---|---|---|
| Languages | JavaScript/TypeScript, Python | Python | Python |
| License | Apache-2.0 | BSD-3-Clause | Apache-2.0 |
| GitHub stars | ~26.7k (JS) + ~9.7k (Python) | ~65.8k | ~88.5k |
| Browser crawling | Built in (Playwright, Puppeteer) | Through plugins | Built in (Playwright) |
| Built for | General crawlers at scale | High-throughput HTTP crawling | LLM-ready Markdown and extraction |
| Hosted option | Apify | Zyte Scrapy Cloud | Crawl4AI 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
- Crawlee on GitHub, Crawlee for Python, Scrapy, Crawl4AI; Apify pricing. Checked December 4, 2026.
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.