Web access APIs for Cloudflare and DataDome

Challenge handling: Process Cloudflare JS Challenge, Turnstile, supported DataDome slider and puzzle CAPTCHA, and Imperva / Incapsula verification workflows.

Proxy routing: Use rotating residential or datacenter proxies, HTTP/SOCKS5, or your own provider. Match regions and keep IPs and sessions consistent.

Request configuration: Configure TLS fingerprints, User-Agent and request headers to match your session and target requirements.

Developer integration: Use cURL, Python, Go, Node.js or Java request examples with your existing scraper.

Response handling: Retrieve HTML or JSON through protocol-level requests, then check response status and content before passing results to your parser.

Scrapingbypass web access and proxy workflow
cloudflare unblock

Rotating Residential & Datacenter Proxies

Route requests through rotating residential, datacenter or custom proxies. Match the region and keep IPs consistent for Cloudflare and DataDome sessions. Proxy routing and CAPTCHA solving are separate functions.

OpenClaw x Scrapingbypass API Automation

Connect OpenClaw to verification APIs, proxy routing and scheduled extraction. Use the supported Cloudflare or DataDome integration workflow, then pass validated responses to your automation tasks.

HTTP API examples

V2 Part mode for Cloudflare JS Challenge and DataDome challenges.

request.sh
#!/usr/bin/env bash
set -euo pipefail
: "${CLOUDBYPASS_APIKEY:?Set CLOUDBYPASS_APIKEY first}"
: "${CLOUDBYPASS_PROXY:?Set CLOUDBYPASS_PROXY first}"
headers=$(mktemp)
body=$(mktemp)
trap 'rm -f "$headers" "$body"' EXIT

curl --fail-with-body --silent --show-error --max-time 130 \
  --dump-header "$headers" --output "$body" \
  "https://api.cloudbypass.com/your/path" \
  --header "x-cb-apikey: $CLOUDBYPASS_APIKEY" \
  --header "x-cb-host: example.com" \
  --header "x-cb-version: 2" \
  --header "x-cb-proxy: $CLOUDBYPASS_PROXY" \
  --header "x-cb-part: 0" \
  --header "x-cb-timeout: 120"

if ! grep -iq '^x-cb-status: *ok[[:space:]]*$' "$headers"; then
  cat "$body" >&2
  exit 1
fi
cat "$body"
API Key
CLOUDBYPASS_APIKEY
Fixed or sticky proxy
CLOUDBYPASS_PROXY
Target
example.com
Runtime
Bash + cURL 7.76+

V1 includes rotating proxies. V2 requires a fixed or sticky proxy. V2s uses x-cb-version: 2s for streaming responses.

For Turnstile, set x-cb-sitekey and place [cf_token] where the target request expects the token.

Keep the same proxy within a session partition. Use a different x-cb-part (0–999) for each concurrent worker.

API documentation




Start Scrapingbypass in Four Practical Steps

1.Create Your Account

Register a Scrapingbypass API account - Sign Up Now

Register a Scrapingbypass Proxy account - Sign Up Now

One account gives you API and proxy access. Log in within 30 days and open Trial Activity from the gift icon to claim trial credits and traffic.

2.Test with the Code Generator

Use the Code Generator to test Cloudflare requests. For DataDome slider or puzzle CAPTCHA, follow the DataDome CAPTCHA solver API integration workflow and keep the target request, proxy IP and session parameters consistent.

V1 includes a rotating proxy. V2 requires a stable proxy IP; configure a sticky session of at least 10 minutes when using Scrapingbypass rotating proxies.

For assistance, see the API documentation or contact Scrapingbypass Support.

3.Integrate the Scrapingbypass API

Integrate the configured Cloudflare or DataDome workflow into your existing application. Check response status, content and session context before continuing with pagination, parsing or automation.

4.Select a Pricing Plan

Choose a plan based on your usage - View Pricing

Use the relevant API credit plan for Cloudflare requests. For DataDome CAPTCHA handling, follow the support and billing information for the DataDome CAPTCHA solver API.

For proxy traffic, select a Rotating Datacenter or Rotating Residential proxy plan.

Cloudflare and DataDome verification may require proxy routing. API credits and proxy traffic are billed separately; changing an IP alone does not solve a CAPTCHA.

cloudflare bypass Onboarding Workflow




Bypass Cloudflare bot protection for large-scale web scraping

A web scraping API for Cloudflare and DataDome workflows

Keep verification handling separate from your parser. Scrapingbypass handles Cloudflare JS Challenge, Turnstile and supported DataDome slider or puzzle CAPTCHA. Integrate the relevant workflow, then extract business data from the returned content.

  • Cloudflare and DataDome challenge handling

    Distinguish JS Challenge, Turnstile and DataDome slider or puzzle CAPTCHA. Use the corresponding workflow and preserve its session context.

  • HTML / JSON response validation

    Check the status and content for block or CAPTCHA pages before passing the response to your parser. Retrieving HTML is not the same as extracting structured business data.

  • Configurable headers

    Customize Referer and headers to fit the target verification flow.

  • Custom request body

    Send business data via JSON payloads or form parameters.

  • Query parameters support

    Handle URL query parameters for search, paging, and filtering.

  • HTTP/SOCKS5 proxy support

    Use external proxy IP and rotating IP pools for geo-matching access.

Get Scrapingbypass API

Integrate with Python, Go, Node.js, Java or cURL

Use standard HTTP requests for the relevant Cloudflare or DataDome API workflow without replacing your scraper framework. Configure parameters and response checks for each integration rather than repeating verification logic in your business code.

  • cURL CLI Call

    Test with native cURL in one command to verify Cloudflare challenge handling, with minimal setup.

  • Python SDK (Official)

    Use requests or aiohttp for HTTP requests and asynchronous collection.

  • Go SDK (High-Throughput)

    Leverages Go concurrency with fast, type-safe APIs for large-scale scraping workloads.

  • Node.js SDK

    Fits full-stack apps and automation tools, enabling fast request routing in services or scripts.

  • Java API Integration

    Built for enterprise standards, supports multithreaded calls for steady access in complex flows.

  • TypeScript Support

    Includes full type definitions to improve reliability across modern web scraping pipelines.

Get Scrapingbypass API


Scrapingbypass API integration modes: HTTP API and Proxy



Advanced tools to bypass Cloudflare anti-bot protection
Advanced Cloudflare bot verification bypass technology

Consistent fingerprints, IPs and sessions for Cloudflare and DataDome

Keep TLS fingerprints, User-Agent, request headers, cookies and proxy IPs consistent throughout verification. When investigating a DataDome CAPTCHA loop, 403 or 429 response, check the target response, routing and session parameters together.

  • Match anti-automation protection

    Syncs updates fast and supports protocol-level handling for new bot checks.

  • Full Cloudflare verification flow

    Handle Cloudflare JS Challenge and Turnstile in supported workflows.

  • Configurable Referer params

    Mimics traffic source paths for sites with strict origin validation.

  • Configurable User-Agent

    Large real-device UA pool for desktop and mobile, with easy switching.

  • WAF / edge security ready

    Works with Web Application Firewall (WAF) and CDN protection layers, including Imperva and Akamai.

  • Supports headless browser mode

    Protocol-level headless browser simulation with JavaScript rendering efficiency for faster data extraction.

Get Scrapingbypass API

HTTP API access across platforms

Use HTTP requests from Windows, macOS, Linux or cloud services to integrate supported Cloudflare and DataDome verification workflows. The access layer retrieves HTML or JSON; your application remains responsible for parsing, retries and task scheduling.

  • Windows Deployment Support

    Fits Windows workflows for local debugging and fast delivery of small-to-mid data extraction jobs.

  • macOS Dev & Production Ready

    Works smoothly on Apple Silicon, making scripting, testing, and iteration faster for developers.

  • Linux Servers (Recommended)

    Optimized for mainstream Linux, with Docker deployments and horizontal cluster scaling.

  • Enterprise CentOS Support

    Meets enterprise stability needs and runs long-term in traditional IDC environments.

  • iOS Mobile Request Routing

    Supports mobile protocol forwarding for iOS testing and mobile data extraction access.

  • Android Proxy-Based Access

    Fits Android API calls and helps automated access pass cloud firewall checks reliably.

Get Scrapingbypass API



Proxy mode with cross-platform support and high concurrency
Bypass cloudflare verification
Shape
Use Cases

Data collection with Cloudflare and DataDome verification

For permitted retail, inventory and ticketing data collection, combine supported DataDome CAPTCHA handling with the appropriate proxy route. Keep the region, session and request parameters consistent before pagination and parsing.

E-commerce & Retail Data Collection

Monitor product listings, prices, stock, promotions and reviews across permitted retail sources.

Marketing & Advertising Data Collection

Track permitted ad creatives, landing-page changes and campaign signals for market research.

Social Media Data Collection

Monitor permitted public posts, engagement and sentiment for social listening and trend analysis.

Video & Image Asset Collection

Organize permitted media metadata and licensed assets into searchable reference libraries.

News & Publishing Data Collection (News / Fiction)

Collect permitted publication updates, topic pages and release information for research and monitoring.

Financial Market Data Collection (Stocks / FX / Crypto)

Collect permitted market prices, historical records and timestamps for research, alerts and analytics.

Jobs & Talent Data Collection

Monitor job listings, hiring demand, skills and salary ranges across permitted sources.

Real Estate & Local Services Data Collection

Track permitted property listings, local businesses and pricing changes for regional market research.

Travel, Visa & Ticketing Data Collection

Monitor permitted fares, availability and policy updates with dates, currency and region preserved.

Coupons & Promotions Data Collection

Track permitted offers, discount changes and expiry dates for campaign comparisons.

Logistics & Supply Chain Data Collection (Shipping / Vessels / Containers)

Monitor permitted schedules, container events and freight rates with shipment IDs and timestamps.

Security & Risk Intelligence Data Collection

Collect permitted public risk indicators and source evidence for review, scoring and alerts.

Scrapingbypass Product FAQ

Find answers to common usage questions or contact our technical support team for assistance.

How are Scrapingbypass API credits consumed?

Each successful API request consumes credits, while failed requests do not deduct any credits.
V1: Each successful request consumes 1 credit.
V2: Each successful request consumes 3 credits. One credit is used for the API request itself, and two additional credits are consumed during JavaScript polling. The session remains valid for 10 minutes. During this period, the same proxy and session parameters can be reused to avoid repeated Cloudflare verification. This means no additional credits are charged for subsequent requests within the same session window.

Scrapingbypass API credits expire if not used within their validity period. Each recharge is calculated independently, and credits are consumed on a first-in, first-out basis.

Scrapingbypass operates as a request-forwarding service. You submit an HTTP request to the Scrapingbypass API, and the API executes the request on your behalf. This approach significantly reduces the likelihood of your traffic being identified as automated. The system focuses on preventing Cloudflare challenges from being triggered, allowing direct access to the target URL instead of programmatically interacting with challenge pages.

The Scrapingbypass API is designed to be simple and developer-friendly. You only need to submit the HTTP request intended for the target website, and Scrapingbypass will forward it exactly as provided.
You can use the online code generator to generate request examples in cURL, JavaScript, TypeScript, Java, Python, and more.
Scrapingbypass API and Proxy integration examples are available here: View code examples

Scrapingbypass V2 supports JavaScript rendering and polling, making it suitable for more advanced Cloudflare challenges.
V2 does not include a default proxy. You must use a Scrapingbypass Proxy with V2.
V1 includes a built-in rotating proxy by default.

Session partitions are used to manage Cloudflare cookies and verified sessions. Once a session is successfully verified, the proxy IP, browser fingerprint, and related parameters must remain unchanged for 10 minutes. This prevents additional Cloudflare challenges from being triggered during the session.

Session partition values range from 0 to 999, allowing up to 1,000 concurrent session partitions per account. After a successful request, the proxy IP is locked to the session partition. Changing the partition value allows you to switch proxies. Each successful request refreshes the 10-minute session duration.

Start by testing your target URL using the code generator with Scrapingbypass V1.
If V1 fails, switch to Scrapingbypass V2 and configure your own proxy IP. A test proxy is available in the backend for validation. It is recommended to set the proxy extraction duration to more than 10 minutes.

All Scrapingbypass API plans currently support up to 30 concurrent requests per second.

This error indicates that your Scrapingbypass API account has no remaining credits.

You can purchase credits in the Scrapingbypass API console: Scrapingbypass API Console, or contact customer support to request test credits.

Error description:
This error occurs when the current session partition is already processing a Cloudflare challenge.

Common causes:
The same session partition is used concurrently by multiple threads.
Multiple users are operating on the same account and partition.
A previous request is still holding the verification lock.

Recommended solutions:
Wait for the lock to be released and retry the request.
Switch to a different session partition (range: 0-99).

Recommended actions:
1. Set the proxy IP extraction duration to at least 10 minutes.
2. Switch to proxy IPs from different countries or regions. Using IPs from the same region repeatedly may increase the risk of restriction.

These errors usually indicate that a proxy is required. You can use either API mode or Proxy mode to access Scrapingbypass services. API mode is recommended for domestic users. Currently, only HTTP proxies are supported.

Browser automation tools such as Selenium and Puppeteer are not supported. Scrapingbypass operates at the HTTP request level and simulates browser requests without launching a real browser.

Yes, for supported targets and challenge types. DataDome and Cloudflare use different verification flows. Follow the DataDome CAPTCHA solver API integration, keep the proxy IP, cookies and session consistent, and validate the returned content. A proxy provides routing; it does not solve CAPTCHA by itself.

Do you offer monthly subscription plans?

Scrapingbypass does not use monthly subscriptions. All Scrapingbypass Proxy services follow a traffic-based pricing model with no expiration. You can purchase traffic packages on demand, and unused bandwidth will never expire.

Scrapingbypass Proxy supports multiple payment methods, including Alipay, USDT, and other supported options depending on your region.

For Scrapingbypass Rotating Proxies, traffic usage is calculated based on the total volume of uploaded and downloaded data through the proxy connection.

IP geolocation results may vary depending on the detection database used. Please verify the proxy IP location using the official Scrapingbypass IP check tool: http://ipinfo.cloudbypass.com .

Scrapingbypass offers two core proxy networks: Rotating Residential Proxies and Rotating Datacenter Proxies. Both proxy types are designed for Cloudflare bypass scenarios and can be managed from a single unified platform.

Scrapingbypass Proxy currently supports both HTTP and SOCKS5 proxy protocols, ensuring compatibility with most scraping tools, browsers, and automation frameworks.

Scrapingbypass Proxy uses a traffic-based billing model for both rotating residential and datacenter proxies. All traffic packages do not expire. You may request a free trial to evaluate Cloudflare bypass performance before purchasing.

Direct connections from mainland China IP addresses are not supported. To use Scrapingbypass Proxy services, you must deploy a global network environment, such as a server or VPS located in Hong Kong or other overseas regions.

Desktop users may connect via a global network accelerator, while mobile users can access through a router configured with a global network environment.

If you are unable to set up a compatible global network environment, please do not proceed with a purchase. Refunds are not available for unsupported direct connections.

User reviews of our Scrapingbypass products and services

Trusted by developers and data professionals worldwide

Scrapingbypass Help Center

Cloudflare and DataDome integration guides

Common Issues with Cloudflare Bypass API
Common Issues with Cloudflare Bypass API

Review Cloudflare and DataDome API integration, credit rules and session configuration. Diagnose errors through response status and content rather than mixing parameters or billing assumptions between verification types.

View More
Common Issues with Scrapingbypass Global Proxy
Common Issues with Scrapingbypass Global Proxy

Choose residential or datacenter traffic plans for HTTP, SOCKS5 and session routing. Proxy traffic and API verification serve different purposes and can be combined for the relevant workflow.

View More
Tutorial for Using Scrapingbypass API/Proxy
Tutorial for Using Scrapingbypass API/Proxy

Explore Cloudflare and DataDome verification guides, code examples and proxy setup, including request headers, TLS, User-Agent and response validation.

View More
Latest Articles

Cloudflare and DataDome integration guides

Trial Offer
+ 200 API Credits
+ Rotating Proxies
Claim Now ›