
Browser Run is Cloudflare's hosted headless Chrome. You send a URL, Cloudflare loads the page in a real browser on its network, and you get back Markdown, HTML, a screenshot, a PDF or structured data. No browser to install, no Puppeteer server to keep alive.
Cloudflare launched it as Browser Rendering and later renamed it Browser Run. The old name still shows in the API reference and in older scripts, mine included.
What it does
There are 2 ways in:
| Method | What it is | Best for |
|---|---|---|
| Quick Actions | Stateless REST endpoints: 1 HTTP request, 1 result. No code to deploy | Markdown, screenshots, PDFs, scraping, crawls |
| Browser Sessions | Full browser control with Puppeteer, Playwright, CDP or Stagehand, from a Worker or any machine | Multi-step automation, logins, AI agents |
The Quick Actions endpoints:
| Endpoint | Returns |
|---|---|
/markdown |
The page as Markdown |
/content |
The rendered HTML |
/screenshot |
An image of the page |
/pdf |
The page as a PDF |
/scrape |
Selected HTML elements |
/json |
Structured data, extracted from a natural-language prompt |
/links |
Every link on the page |
/snapshot |
HTML and a screenshot together |
/crawl |
A whole site, following links, as an async job |
The crawl endpoint
/crawl starts at 1 URL and follows links up to a depth or page limit. It runs as a job: a POST returns a job ID, then you poll with GET until the status is completed.
curl -X POST "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/browser-run/crawl" \
-H "Authorization: Bearer $API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/", "limit": 1, "formats": ["markdown"], "render": false}'
curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/browser-run/crawl/<job_id>?limit=1" \
-H "Authorization: Bearer $API_TOKEN"
The token needs the Browser Run - Edit permission.
| Option | What it does |
|---|---|
limit |
Pages to crawl, 10 by default, up to 100,000 |
depth |
Link depth from the start URL |
formats |
HTML, Markdown or JSON |
render |
true (the default) runs the page's JavaScript in a browser. false is a fast HTML fetch on Workers |
⚠️ WARNING: render: false doesn't run JavaScript. A single-page app returns an empty shell. Use it only when the content is in the first HTML response.
Good to know:
- It respects
robots.txt, includingcrawl-delay, with 0.5 seconds between requests to 1 domain by default. Disallowed URLs come back with the statusdisallowed. - It identifies itself. The User-Agent is
CloudflareBrowserRenderingCrawler/1.0and you can't change it. Sites that block bots will block it. - Content Signals. If a site's
robots.txtsays no to AI input or training, a crawl that declares those purposes gets a400. - Results expire. A job runs for at most 7 days, and its results stay available for 14 days.
Pricing
| Plan | Browser hours | Concurrent browsers (Sessions only) |
|---|---|---|
| Workers Free | 10 minutes a day | 3 |
| Workers Paid | 10 hours a month, then $0.09 an hour | 10, then $2.00 per extra browser |
Quick Actions pay for browser time only. Requests that fail with a timeout aren't billed. During the beta, render: false crawls run on Workers and aren't billed at all. The Workers Paid plan itself starts at $5 a month. Source: Browser Run pricing.
Limits and alternatives
- No sessions you already have. It can't use my logins. Pages behind a login go through my own agent browser.
- 10 minutes a day on the free plan suits tests, not batches.
| Service | Choose it when |
|---|---|
| Cloudflare Browser Run | You want cheap, plain rendering and already have a Cloudflare account |
| Firecrawl | You want clean Markdown, JSON with a schema, search and crawl in 1 service (see Firecrawl ) |
| Browserbase | You need long browser sessions for agents (see browse.sh ) |
How I use it in NicAI
cloudflare.py, in my shared tools (see NicAI shared tools ), wraps /crawl for 1 page: it starts the job, polls for up to 2 minutes, and writes the Markdown to a file.
python3 cloudflare.py https://example.com --output page.json
python3 cloudflare.py https://example.com --output page.json --render
- Account research. My company research skill fetches a prospect's homepage through it first, and falls back to Firecrawl when the crawl fails.
- Plain fetch by default. The script sends
render: falseunless I pass--render, so most calls are a fast HTML fetch that costs nothing during the beta. For a JavaScript-heavy site,--renderswitches the browser on. - The old path. The script still calls
/browser-rendering/crawl, the pre-rename path. The current docs use/browser-run/crawl.
The same Cloudflare account runs Workers for my iPhone apps: the backend of Familee is a Cloudflare Worker with its data in SQLite inside a Durable Object (see Familee: my own family app for iPhone ).
Further Reading

