Artificial Intelligence

Cloudflare Adds Website Crawling API

Cloudflare launches a new /crawl endpoint for its Browser Rendering service, enabling automated website crawling via a single API call for developers.

Daniel Singer

By Daniel Singer, Editor, StartupHub.ai

2 min read

Cloudflare Adds Website Crawling API
Credit: Cloudflare Docs

Cloudflare is rolling out a new feature for its Browser Rendering service that allows developers to crawl entire websites with a single API call. The new /crawl endpoint, now in open beta, simplifies the process of gathering website data.

Users submit a starting URL, and the service automatically discovers, renders pages in a headless browser, and returns content in multiple formats, including HTML, Markdown, and structured JSON. This capability is particularly useful for training large language models, extracting data for RAG pipeline data extraction, or conducting site-wide research and monitoring. The service, detailed on Cloudflare Docs, operates asynchronously, providing a job ID upon submission and allowing users to check results as pages are processed.

Key Features for Web Scraping and AI

The Cloudflare Browser Rendering crawl endpoint offers several key features for efficient web scraping with AI and data collection. Output formats include HTML, Markdown, and structured JSON, leveraging Workers AI for processing.

Users can control the crawl scope with options for depth, page limits, and URL pattern matching. Automatic page discovery pulls URLs from sitemaps and links, while incremental crawling features like modifiedSince and maxAge prevent redundant fetches, saving time and cost. A static mode allows fetching plain HTML without rendering, speeding up crawls for static sites.

The service also functions as a well-behaved bot, respecting robots.txt directives, including crawl delays. This enhancement is available on both Cloudflare Workers Free and Paid plans, offering a streamlined approach to comprehensive website data acquisition for various applications, from web scraping with AI to building complex RAG pipeline data extraction systems.

Mentioned in this story

Markets

CloudflareNYSE:NET

Sources

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

TopicsCloudflareBrowser RenderingAPIWeb ScrapingAILLMsRAGServerless

Daniel Singer

Written by

Daniel Singer

Editor, StartupHub.ai

Daniel Singer is the editor of StartupHub.ai, a technology expert and thought leader on AI and its applications across sectors, from fintech and healthcare to developer tooling and consumer software. He writes and tests the tools covered here thoroughly and regularly, and built StartupHub.ai to give founders, operators and buyers a clearer read on what they are actually being sold.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute, free.

Watch

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.