Most guides on how to bypass Cloudflare web scraping give you the same list of tools: Camoufox, Patchright, residential proxies, maybe a CAPTCHA solver. What they don't explain is why a combination that works on one WAF falls over on another.
This post walks through how Cloudflare (standard and Enterprise tiers), Akamai Bot Manager v4, and PerimeterX (now HUMAN Security) detect automated traffic, which tool addresses which layer, and the decision framework to use before choosing a bypass approach on any new target. ScrapeWise publishes this blog and sells a scraping API, so read the vendor sections with that in mind.
Skip the stealth setup: one API call. If you need the data rather than the scraper, send the page URL to the Scrapewise API and get structured rows back. Each page is fetched plain first and moved to a real browser or residential IPs only when it is blocked, so there is no tuning a bypass per WAF on your side. Some sites still block automated visits or need a login, so no tool covers every target. You can also match the rows to your products for competitor price tracking by uploading your product list, or have the ScrapeWise team clean and match everything in Managed Data. Try it with 5 free requests.
The Decision Framework: Identify Your WAF Before You Pick a Tool
The single biggest mistake scrapers make is choosing a bypass tool before identifying the WAF. A technique that works well on Cloudflare can do very little on PerimeterX, because the detection architectures are fundamentally different.
Use the browser network tab or a WAF fingerprint tool to identify which system you're facing before writing any code:
| Signal | Likely WAF |
|---|---|
cf-ray header, IUAM challenge page, __cf_bm cookie |
Cloudflare |
_abck cookie, sensor_data POST payload, AkamaiGHost header |
Akamai Bot Manager |
_pxhd, _pxvid cookies, /api/v2/collector endpoint |
PerimeterX / HUMAN |
__ddg cookies, behavior-based JS challenge |
DataDome |
Getting this wrong means debugging a failed bypass against the wrong detection model for hours.
If you want a faster read on whether a given target is protected at all, paste its category page into our free product URL extractor. It makes one plain, unrendered request and tells you which of three things happened: the page came back directly, the direct request was refused and it had to retry through a proxy, or the HTML that came back contains almost no links — the signature of a grid that only exists after JavaScript runs. That is the first fork in the table above, answered in a few seconds and without writing any code.
The Six Common Approaches and What Each One Fixes
Most DIY setups are some mix of an HTTP client or a browser, plus a proxy tier. Here is what each combination changes, layer by layer:
| Approach | Fixes TLS fingerprint | Runs JavaScript challenges | IP reputation |
|---|---|---|---|
| Requests library + datacenter proxies | No | No | Low (datacenter ASN) |
| curl-cffi + datacenter proxies | Yes | No | Low (datacenter ASN) |
| curl-cffi + residential proxies | Yes | No | Higher (residential) |
| Patchright + residential proxies | Yes (real Chromium) | Yes | Higher (residential) |
| Camoufox + datacenter proxies | Yes (real Firefox) | Yes | Low (datacenter ASN) |
| Camoufox + residential proxies | Yes (real Firefox) | Yes | Higher (residential) |
A few things follow from the table. Datacenter proxies cap your ceiling on every WAF, because IP reputation is checked before anything else. Camoufox patches fingerprint signals in the Firefox C++ code rather than in injected JavaScript, which matters most against Cloudflare's JS challenges.
The one genuine reversal is Akamai: because TLS fingerprinting is Akamai's primary signal rather than a secondary one, curl-cffi with good proxies can get further than you would expect without a browser at all.
PerimeterX is the hardest of the three for DIY approaches. Read the PerimeterX section before assuming more engineering will fix it.
Bypassing Cloudflare in 2026: What the Detection Stack Actually Checks
Cloudflare's bot detection operates across four simultaneous layers. Understanding each explains why some approaches work and others don't.
Layer 1 — IP reputation. Datacenter ASNs are pre-flagged. Even a perfect TLS fingerprint gets a hard challenge if the IP is in a known cloud provider range. This is why the gap between datacenter and residential proxy results is so large. Mobile carrier IPs generally carry more trust than datacenter ranges, because many real users share them.
Layer 2 — TLS fingerprinting (JA3/JA4). Cloudflare checks the TLS handshake signature before any JavaScript runs (Cloudflare's JA3/JA4 docs explain how the fingerprint identifies TLS clients). A raw Python requests call produces a Python TLS fingerprint that Cloudflare has flagged globally. curl-cffi fixes this by impersonating Chrome or Safari TLS signatures at the socket level, which is often the single biggest step up from plain requests on standard Cloudflare. For what a JA3 hash is made of, how to check your own, and the install-and-one-argument version of this fix, see curl_cffi and TLS fingerprint impersonation.
Layer 3 — JavaScript challenges (IUAM / Turnstile). Cloudflare injects a JS challenge that checks browser environment signals: canvas fingerprint, WebGL renderer, navigator properties, timing behavior. Headless Chromium fails this by default because it leaks navigator.webdriver = true and produces anomalous canvas fingerprints. Camoufox patches this at the Firefox C++ level, not in JS — which is why it outperforms Patchright's JS-patch approach on Cloudflare Enterprise.
Layer 4 — Behavioral analysis. Request timing, scroll events, mouse movement patterns. This layer is what breaks purely technical approaches on Enterprise-tier targets. Randomizing request intervals (jitter, not a fixed sleep) helps on Enterprise-tier targets, because a perfectly regular rhythm is itself a signal.
Cloudflare Turnstile (CAPTCHA layer): When Cloudflare forces a Turnstile challenge, curl-cffi can't solve it — you need a full browser. Solver services such as 2Captcha and CapSolver both sell Turnstile solving. Their published prices, checked Nov 2026, are $1.45 per 1,000 on the 2Captcha pricing page and $1.20 per 1,000 for the proxyless Turnstile task on CapSolver's Cloudflare page. For catalogue scraping, though, a solver is usually the wrong purchase — the widget is grading the client that asked for it, so fixing the TLS fingerprint and the proxy tier removes most of the challenges before any token has to be bought. The full argument, and the cookie-reuse pattern that replaces it, is in bypassing Cloudflare Turnstile.
What doesn't work: FlareSolverr, the popular open-source Cloudflare helper, is not a production option for challenge-heavy targets. Its own README on GitHub says, as of Nov 2026, that "at this time none of the captcha solvers work".
For teams scraping e-commerce sites for competitor price tracking, Cloudflare is the most common protection layer on retailer and brand DTC sites. Getting this layer right has the highest ROI.
Bypassing Akamai Bot Manager v4: The TLS Problem
Full walkthrough: How to bypass Akamai Bot Manager v4 when web scraping covers the five detection layers in priority order, how to confirm you are facing Akamai, and the changes that matter most.
Akamai's detection model is architecturally different from Cloudflare's. The priority ordering is reversed: TLS fingerprinting is Akamai's primary detection signal, not a secondary one. This means curl-cffi alone (without a browser) tends to be more effective against Akamai than against Cloudflare.
What Akamai actually checks:
Akamai Bot Manager v4 blocks across five layers simultaneously: IP reputation, TLS fingerprinting (JA3/JA4), JavaScript telemetry, behavioral biometrics, and session continuity. The _abck cookie is generated by Akamai's sensor data script — each page load sends an encrypted payload with mouse events, keystroke timing, and device fingerprint data back to Akamai's servers.
The sensor data problem: If you're using a full browser (Camoufox, Patchright), Akamai's JS collects sensor data and validates it server-side. A browser that moves the mouse perfectly linearly or never generates scroll events will fail the behavioral check even with a clean IP and valid TLS fingerprint. Human-like mouse trajectories, for example along cubic bezier curves, look far less suspicious than straight-line movement.
curl-cffi approach: For Akamai targets that don't require a login session, curl-cffi with impersonated TLS plus residential proxies is worth trying first, and it is much cheaper to run than browser automation, since there is no browser process per request.
Where Akamai wins: Protected checkout flows and account-authenticated scraping. Akamai's session continuity tracking detects when a "new session" immediately navigates to high-value pages without natural browsing behavior. For these targets, a warm-up sequence (2–3 page loads with random dwell time before hitting the target URL) makes the session look more like a real visit.
This matters particularly for product data extraction on large fashion and electronics retailers, where Akamai is common. Check which protection your own targets use before you pick an approach.
PerimeterX / HUMAN: Why DIY Hits a Wall
Full walkthrough: How to bypass PerimeterX (HUMAN Security) when web scraping covers the four detection layers, the PRESS & HOLD challenge, and what a high failure rate costs at volume.
PerimeterX, which merged with HUMAN Security in July 2022 and is still widely called PerimeterX in the scraping community, is the hardest WAF to bypass reliably in 2026. That is not a tuning problem. It is architectural.
Why PerimeterX is different: Every PerimeterX deployment is trained on the specific website's historical traffic. The ML model has been fed months of real user behavior data for that specific domain — click patterns, session durations, navigation flows, device distributions. A bypass technique that works against a PerimeterX-protected fashion retailer may do much worse on a PerimeterX-protected pharmaceutical site because the behavioral baselines are completely different.
What PerimeterX checks:
- Browser fingerprint (canvas, WebGL, audio context, fonts)
- Behavioral signals (mouse trajectory, typing cadence, scroll velocity)
- Session graph (what pages were visited, in what order, with what dwell times)
- Network graph (does this IP's behavior across sessions match legitimate users?)
Browser choice is a per-site question here: there is no single winner between Camoufox and Patchright on PerimeterX. The reason is that PerimeterX's ML is trained predominantly on Chrome traffic from that site's real users. On a target where Chromium dominates the visitor mix, Camoufox's Firefox fingerprint is less common than the baseline and triggers minor statistical anomalies, and Patchright's Chromium base matches the expected distribution better. This is the one WAF where it is worth running both for a week and measuring rather than picking on principle.
Honest ceiling: If you need high, steady pass rates on PerimeterX-protected targets, you need large-scale IP rotation, continuously updated fingerprint profiles, and behavioral training data. That is hard to build and keep current as a small team.
For teams that would rather not run and maintain this stealth-tooling comparison themselves, a managed service absorbs the Camoufox/Patchright tuning work and just delivers the pricing data.
The Engineering Overhead Reality
Pass rate is only part of the cost equation. Here is a rough planning view of what maintaining each approach at production scale (10K+ pages/day) costs. These are estimates to plan against, not measurements:
| Approach | Monthly infra cost (10K/day) | Engineering maintenance | Failure mode |
|---|---|---|---|
| curl-cffi + residential proxies | ~$120–180 | 3–5 hrs/month | TLS fingerprint updates, proxy rotation tuning |
| Patchright + residential proxies | ~$380–520 | 8–12 hrs/month | WAF model updates, fingerprint drift, Chromium updates |
| Camoufox + residential proxies | ~$440–600 | 10–15 hrs/month | Firefox binary updates, memory pressure (200MB+ per instance) |
| Managed scraping infrastructure | Custom pricing | ~1 hr/month (config) | Handled by provider SLA |
The hidden cost is WAF updates. Cloudflare, Akamai and PerimeterX all change their detection over time, and a setup that worked last month can start failing overnight and need debugging time to recover. Teams running competitor price monitoring at scale often find that the first six months of DIY are manageable, but month 7–12 engineering time exceeds the cost of managed infrastructure.
For teams evaluating the anti-bot landscape more broadly, this maintenance overhead is the most underestimated cost in scraping infrastructure planning.
When to Stop DIY and Use Managed Infrastructure
A rough rule of thumb: once a scraping engineer spends more than a day a month on WAF maintenance, paying someone else to run the fetch layer is usually cheaper.
Stop maintaining your own bypass stack when:
- You're hitting PerimeterX at scale. Every failed request is either retried (more cost) or missed (data gaps), and at 10K requests/day even a modest failure rate adds up fast.
- You need steady reliability. Larger providers operate big proxy pools and keep fingerprint profiles current, which is hard for individual teams to replicate.
- Your scraping targets are authenticated. Session management across large proxy pools is complex engineering that rarely makes sense to build in-house.
- Your team is < 5 engineers. The maintenance burden of staying ahead of WAF updates takes a meaningful percentage of a senior engineer's time.
ScrapeWise (which publishes this blog) runs the fetch layer for you: each page is tried plain first and moved to a real browser or residential IPs only when it is blocked. That will not get through every site. Some block automated visits outright or need a login, and no tool covers all of them. The same stack answers our web scraping API with 35 ready endpoints, billed per page at €0.15 to €3.75 per 1,000 pages depending on page type.
You do not have to take this on trust, or talk to anyone, to find out. One call against the URL that is failing for you:
pip install scrapewise
from scrapewise import ScrapewiseClient
with ScrapewiseClient() as sw: # reads SCRAPEWISE_API_KEY from the environment
html = sw.load_site("https://www.example.com/the-page-your-crawler-cannot-reach")
print(len(html))
A page length instead of a challenge means that target sits on our side of the line. Run the URL that is failing for you through ScrapeWise: the first 5 requests are free, no card needed, then the per-page rates, with rendering and the residential tier priced separately.
Already have the URLs? Scrape a list of URLs in one run: upload the CSV and get back one clean row per link.
Paste a URL that blocks your scraper
ScrapeWise picks the route (plain request, browser or residential proxy) and returns clean data. 5 free requests, no card.
Not ready to sign up? See 12 real Amazon rows, 972 columns →
5 free requests no credit card · from €0.15 per 1,000 pages · or call it from Python or MCP →
