by unclecode
Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.
# Add to your Claude Code skills
git clone https://github.com/unclecode/crawl4aicrawl4ai is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by unclecode. Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it. It has 88,287 GitHub stars.
crawl4ai's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/unclecode/crawl4ai" and add it to your Claude Code skills directory (see the Installation section above).
crawl4ai is primarily written in Python. It is open-source under unclecode on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh crawl4ai against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Crawl4AI Cloud is a hosted web scraping, extraction, and search API for AI agents and data pipelines. Turn pages into clean Markdown for RAG, extract structured JSON, or search the live web with one API key. Crawl4AI runs the browsers and manages the proxies.
Get a free API key · 1,000 free credits every month. No credit card required.
Try a URL in the playground · Set up Crawl4AI Cloud in Claude Code, Cursor, or Codex
This repository is home to the Apache-2.0 crawler that powers Crawl4AI Cloud. Run it yourself with Python or Docker.
Hosted API base URL: https://api.crawl4ai.com.
Cloud API reference · Agent setup and MCP
Set CRAWL4AI_KEY to your API key, then scrape a page as Markdown:
curl -s https://api.crawl4ai.com/scrape \
-H "Authorization: Bearer $CRAWL4AI_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://news.ycombinator.com"}' | jq -r .markdown
import json
import os
from urllib.request import Request, urlopen
request = Request(
"https://api.crawl4ai.com/scrape",
data=json.dumps({"url": "https://news.ycombinator.com"}).encode("utf-8"),
headers={
"Authorization": f"Bearer {os.environ['CRAWL4AI_KEY']}",
"Content-Type": "application/json",
},
method="POST",
)
with urlopen(request) as response:
print(json.load(response)["markdown"])
async function main() {
const key = process.env.CRAWL4AI_KEY;
if (!key) throw new Error("Set CRAWL4AI_KEY first.");
const response = await fetch("https://api.crawl4ai.com/scrape", {
method: "POST",
headers: {
Authorization: `Bearer ${key}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ url: "https://news.ycombinator.com" }),
});
if (!response.ok) {
throw new Error(`Scrape failed (HTTP ${response.status}): ${await response.text()}`);
}
const { markdown } = await response.json();
console.log(markdown);
}
main().catch((error) => {
console.error(error.message);
process.exitCode = 1;
});
Example Markdown output (illustrative excerpt):
# Hacker News
1. [Example story title](https://example.com/story)
2. [Another story title](https://example.com/another-story)
The same key works for /extract, /search, /serp, /answer and many URLs at once (/scrape/batch, /scrape/jobs). Pay as you go: live prices.
For Claude Code, connect to the hosted MCP server:
claude mcp add --transport http crawl4ai https://api.crawl4ai.com/mcp \
--header "Authorization: Bearer $CRAWL4AI_KEY"
Latest: v0.9.6 (20 Nov 2026) · all releases →
pip install -U crawl4ai
crawl4ai-setup # installs the browser, once
import asyncio
from crawl4ai import AsyncWebCrawler
async def main():
async with AsyncWebCrawler() as crawler:
result = await crawler.arun(url="https://news.ycombinator.com")
print(result.markdown)
asyncio.run(main())
Docker server, CLI and every option: Installation · Self-hosted docs
| ☁️ Crawl4AI Cloud | 🐍 Library | 🐳 Your own server | |
|---|---|---|---|
| Runs the browsers | we do | you, in your Python process | you, in Docker on your machine |
| JS-heavy pages and bot walls | handled for you, automatically | your settings, your proxies | your settings, your proxies |
| Web search | /search, /serp and /answer |
– | – |
| Price | 1,000 free credits a month; plans from $10 | Free, Apache-2.0. You cover infrastructure. | Free, Apache-2.0. You cover hosting. |
I grew up on an Amstrad, thanks to my dad, and never stopped building. In grad school I specialized in NLP and built crawlers for research. That’s where I learned how much extraction matters.
In 2023, I needed web-to-Markdown. The “open source” option wanted an account, API token, and $16, and still under-delivered. I went turbo anger mode, built Crawl4AI in days, and it went viral.
I made it open source for availability, anyone can use it without a gate. Now I’m building the platform for affordability, anyone can run serious crawls without breaking the bank. If that resonates, join in, send feedback, or just crawl something amazing.
That platform is live now: Crawl4AI Cloud.
PruningContentFilterLXML, BM25ContentFilter (for a query) and LLMContentFilter.☁️ Same in the cloud: POST /scrape returns this Markdown, with no browser to run. Docs →
JsonCssExtractionStrategy, JsonXPathExtractionStrategy, RegexExtractionStrategy).generate_schema writes a reusable schema.LLMExtractionStrategy).CosineStrategy).☁️ Same in the cloud: POST /extract, with no LLM key of your own. Docs →
enable_stealth, and an undetected-browser adapter for sites that detect automation.resume_state) for long crawls.AdaptiveCrawler stops when it has learned enough to answer your query.AsyncUrlSeeder (sitemaps, Common Crawl) and DomainMapper; prefetch=True finds URLs 5 to 10 times faster.scan_full_page) for infinite scroll and lazy images.srcset, internal and external links, iframes, metadata.raw: and file://.arun_many with a memory-adaptive dispatcher.☁️ Same in the cloud: up to 50 URLs in one streamed call, or 10,000 in a background job. Docs →
CRAWL4AI_API_TOKEN./md, /html, /crawl, /crawl/stream, /screenshot, /pdf, /execute_js.