Cloudflare's new API crawls entire sites for AI
Cloudflare just launched an open beta for its /crawl endpoint in Browser Rendering, letting developers scrape an entire website into Markdown or structured JSON with a single API call. The tool automatically obeys robots.txt and is built specifically to make gathering clean data for RAG pipelines and model training headache-free.

For years, anyone who has ever written a web scraper has run face-first into Cloudflare's aggressive bot-blocking walls. The company made its reputation building some of the toughest defenses on the web, intercepting non-human traffic with relentless captchas and browser fingerprinting.
Now comes the ultimate character development. Cloudflare has just launched an official /crawl endpoint in open beta for its Browser Rendering service, effectively inviting developers to crawl entire websites using Cloudflare's own infrastructure.
One call, entire sites, straight to Markdown
Building a modern scraping pipeline usually means wrestling with headless browsers, setting up proxy rotations, rendering JavaScript, and painstakingly parsing messy HTML. Cloudflare basically collapsed that whole nightmare into a single asynchronous API request.
You hand the /crawl endpoint a starting URL, and it takes it from there. It discovers pages through sitemaps and on-page links, spins up headless browsers to render dynamic content, and tracks the job with an ID you can poll. Community reports note it can handle crawls up to 100,000 pages.
What makes it an immediate win for AI builders is the output flexibility. Instead of spitting out raw, tag-heavy HTML, it can return clean Markdown ready for LLM consumption, or even structured JSON extracted on the fly via Cloudflare's Workers AI.
It also packs sensible performance controls. You can restrict crawl depth, cap page numbers, and set wildcard path filters. For simple blogs or documentation, flipping a render: false flag bypasses the heavy headless browser for fast static HTML. Incremental crawling is built in too: passing modifiedSince or maxAge parameters ensures you don't burn credits re-fetching unchanged content.
The bot that plays by the rules
Before anyone asks: no, you cannot use Cloudflare's crawler to bypass Cloudflare's own bot protection.
The company emphasized that this endpoint acts as a verified, polite intermediary. It explicitly identifies itself as a bot, strictly honors robots.txt directives, observes crawl-delay timers, and respects Cloudflare's AI Crawl Control headers. If a site owner puts up a no-AI fence or a captcha, the crawler stops.
The feature is available immediately in open beta across both Workers Free and Paid plans, meaning independent hackers and enterprises can test it right away.
Why it matters
We think this is a masterclass in market positioning. Cloudflare spent a decade positioning itself as the internet's shield; now it wants to be the official, polite delivery van for the AI era.
For developers building RAG pipelines, internal search, or content monitors, this eliminates the operational headache of maintaining Puppeteer or Playwright clusters. You get rendered, cleaned, and structured content straight out of the box at the edge, saving days of pipeline plumbing.
More broadly, it forces a truce in the messy web scraping wars. Instead of bad-faith scrapers slamming servers and ignoring site owners, Cloudflare offers a trade-off: unmatched convenience and speed, provided you respect webmasters' boundaries. While that makes it useless against closed-off data moats, it is arguably the cleanest solution yet for ingesting the open web.
Sources (1)
- developers.cloudflare.com(opens in a new tab)Originaldevelopers.cloudflare.com