Browser Rendering
Run headless Chrome on Cloudflare's global network. Capture screenshots, generate PDFs, scrape content, extract structured data with AI, and crawl entire websites.
REST API Endpoints
Screenshot
/screenshot
Capture PNG, WebP, or JPEG screenshots of any webpage. Supports full-page capture and custom viewports.
PDF Generation
Generate PDF documents from URLs or custom HTML. Configure page format, orientation, and background printing.
HTML Content
/content
Fetch the fully-rendered HTML of a page after JavaScript execution. Get the DOM as the browser sees it.
Markdown Extraction
/markdown
Convert any webpage into clean Markdown format. Ideal for feeding content into LLMs and RAG pipelines.
Web Scraping
/scrape
Extract structured data from specific HTML elements using CSS selectors. Get text, HTML, and attributes.
AI JSON Extraction
/json
Use AI to extract structured data from any webpage. Define output with a prompt or JSON schema.
Link Discovery
/links
Retrieve all links from a webpage. Useful for site mapping, SEO analysis, and content discovery.
Snapshot
/snapshot
Capture both the rendered HTML and a screenshot in a single request. Two outputs, one API call.
Crawl
BETA/crawl
Crawl entire websites with a single API call. Follow links, respect robots.txt, and return content in multiple formats.