Cloud Browser API

Cloud Browser API for Puppeteer, Playwright & AI Agents

Run managed Chrome, Firefox, WebKit and Edge browsers over WebSocket. Connect from any CDP client in three lines. Self-host or use our cloud.

  • Standard Chrome DevTools Protocol over WebSocket — works with Puppeteer, Playwright and Stagehand.
  • Per-request credits (one credit = one successful request up to 30s) — no surprise unit math.
  • 98%+ success on Cloudflare Turnstile, DataDome and PerimeterX with public weekly benchmarks.
  • Apache-2.0 self-host Docker image and Helm chart. SOC2 Type II roadmap.
connect.tsTypeScript
import { chromium } from 'playwright'

const browser = await chromium.connectOverCDP(
  'wss://cloud.browserforhire.com?token=' + process.env.BFH_API_KEY
)

const ctx = await browser.newContext()
const page = await ctx.newPage()
await page.goto('https://example.com', { waitUntil: 'networkidle' })
console.log(await page.title())
await browser.close()

What you get

Managed Chromium fleet

Pre-warmed Chrome, Firefox and WebKit pools across SF, London and Amsterdam regions. Auto-scaled by queue depth.

Anti-bot included

Native fingerprints + 2Captcha + CapSolver + AntiCaptcha rotation. When one engine degrades, traffic reroutes within 15 minutes.

Persistent sessions

Pass ?session=name and your cookies, localStorage and authenticated context follow you across calls.

Why this is better than the alternatives

CapabilityMost cloud browser APIsBrowserForHire
Pricing unitPer 30-second time blockPer successful request (up to 30s)
Premium-domain surchargesCommon, undocumentedNone
Anti-bot transparencyNo public success ratePublic weekly /benchmarks dashboard
Self-host licensePaid commercial licenseApache-2.0, free
AI-agent SDKOften missing or limitedMCP, LangChain, Stagehand-compat, Vercel AI SDK

FAQ

Which protocols do you support?+
Chrome DevTools Protocol over WebSocket (used by Puppeteer, Playwright, Stagehand and any CDP-speaking client) plus REST endpoints for /screenshot, /pdf, /content, /scrape, /search, /map, /crawl.
Can I use my own proxies?+
Yes. Pass &proxy=<url> on the connect URL or set per-request via REST. We also bundle datacenter, residential and mobile proxies priced transparently per MB.
Do you support Firefox and WebKit?+
Yes. Pass &browser=firefox or &browser=webkit. Chromium is the default.
Where do browsers run?+
San Francisco (us-west), London (eu-west) and Amsterdam (eu-central) at launch, with Singapore and São Paulo on the Phase-2 roadmap.

Ship Chrome to production today.

Free 1,000 credits, no credit card. Drop-in replacement for Browserless.