Scraping Browser API
Scraping Browser API — JS-rendered, Anti-bot Ready
Render any site, bypass bot detection, return clean HTML or structured JSON. One credit per successful scrape — failures are free.
- JS rendering, residential proxies, captcha solving — included.
- Auto-escalation: HTTP fetch first, browser only if needed (saves credits).
- Return as HTML, Markdown, JSON, links, or screenshots in one call.
- Failures are free — you only pay when we deliver the data.
scrape.shcURL
curl -X POST https://api.browserforhire.com/scrape \
-H "Authorization: Bearer $BFH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.amazon.com/dp/B0BSHF7WHW",
"render": "auto",
"stealth": true,
"extract": {
"title": "h1#title",
"price": "span.a-price .a-offscreen",
"rating": "i.a-icon-star span.a-icon-alt"
}
}'What you get
98%+ on protected sites
Multi-vendor anti-bot rotation. Public weekly /benchmarks dashboard against Cloudflare, DataDome, PerimeterX, Akamai, Kasada, Shape.
Structured extraction
Pass &extract=schema and we return JSON matching your shape, powered by an LLM extractor under the hood.
Crawler & site map
POST to /crawl with rules, get a paginated stream of pages back via webhook or polled job.
Why this is better than the alternatives
| Capability | Most cloud browser APIs | BrowserForHire |
|---|---|---|
| Pricing on failures | Charged anyway | Free — pay only on success |
| Auto HTTP-or-browser | Forced browser every time | HTTP first, browser if needed |
| Structured extraction | Add-on or missing | Built in via &extract= |
FAQ
Does this work on Cloudflare Turnstile sites?+
Yes. Pass &stealth=true&solve=true. The gateway picks the right anti-bot vendor for the challenge type and rotates if one degrades. Public weekly success rate at /benchmarks.
How is this different from a generic scraping API?+
We return a real browser session you can drive interactively, not just a one-shot HTTP response. Combine /scrape for simple cases with WebSocket Puppeteer/Playwright for multi-step jobs.
Ship Chrome to production today.
Free 1,000 credits, no credit card. Drop-in replacement for Browserless.