Scrape Cloudflare-protected pages through one API
Send a target URL in a single request and receive rendered, parse-ready data without managing proxy rotation or a headless browser yourself.
This guide explains when to use the basic call, when to add rendering or stealth options, and how to choose a plan by concurrency and credit use.
What one call handles
A single request is the core idea: you supply the URL, the service renders JavaScript, rotates proxies, and returns HTML ready to parse. That removes three recurring maintenance tasks — keeping a browser fleet current, rotating addresses, and writing bot-evasion logic for each target. Use this path when you need product details, pricing, stock levels, listings, articles, or directory entries from pages that render in a real browser.
Four-step workflow
Step 1: Create an account to obtain an API key and any trial credits offered. Step 2: Install the SDK for your stack, or use cURL — Python, Node, Go, PHP, Ruby and Java are listed. Step 3: Send a GET request with your key and the target URL; you receive rendered HTML. Step 4: Add parameters only when needed: render_js when content appears after JavaScript, stealth_proxy when CAPTCHA or stronger bot checks appear, country_code for geo-targeting, and ai_extract_rules for natural-language extraction. A practical check: start with the plain call, then add one option at a time and compare output and credit cost.
Choosing the right output
For structured output, map CSS selectors to field names with extract_rules, or describe the fields in natural language with ai_extract_rules; the response is parsed JSON. For visual verification, capture a full-page screenshot. For dynamic pages, run JavaScript scenarios that click or scroll before capture. For LLM or RAG pipelines, request clean Markdown instead of raw HTML. For no-code monitoring, connect the API inside an automation tool such as n8n to build change-detection without writing evasion code.
Typical jobs: products, pricing, and stock
Three common jobs recur: fetching product details for market and inventory work, gathering competitor pricing to refine pricing models, and monitoring stock availability to avoid shortages and time restocking. The same endpoint serves all three; what changes is the extraction rule and how often you poll. Polling frequently for stock changes costs more credits than a daily pricing sweep, so match frequency to the decision the data supports.
Pricing and plan selection
Plans are separated by monthly credit allowance, how many requests can run at once, and whether extras such as priority support, a named account contact, and team administration are part of the package. Credit balances are typically time-limited — often to a single billing month — and unused credits generally do not carry forward, so it is worth checking the current terms. The cost of a single request also depends on which features you switch on: JavaScript rendering, premium proxies, and stealth proxy each add to the base charge. A sensible way to pick a plan is to estimate your monthly request volume, multiply by the per-request cost for the options you expect to use, and confirm that the concurrency figure covers the number of jobs you want to run in parallel. Current prices and allowances should be taken from the provider's live pricing page rather than assumed.
Privacy, blocking, and performance notes
The service states it does not collect or store personal data from scraped sites unless explicitly requested, and describes proxy rotation plus headless rendering as its approach to reducing IP-based blocking. Results are described as arriving in 1–5 seconds with high accuracy on most sites, including JavaScript-heavy ones. Treat speed and accuracy as claims to verify against your own targets during a trial rather than guarantees.
| Option | Use it when | Trade-off |
|---|---|---|
| render_js | Content loads after JavaScript | Higher credit cost per request |
| stealth_proxy | CAPTCHA or stronger bot checks appear | Highest credit cost; reserve for hard targets |
| country_code | Results vary by geography | Check country coverage for your proxy type |
| extract_rules | You know the CSS selectors | Precise but brittle when markup changes |
| ai_extract_rules | You can describe fields in words | Flexible but validate output fields |
Options and credit costs are described in the source; exact per-request credit charges require owner confirmation before publication.
| Plan factor | What to compare | Owner-confirmed value |
|---|---|---|
| Monthly credits | Expected requests × option cost | Check the provider's current pricing page for the monthly credit allowance on each plan. |
| Concurrency | Parallel jobs you run at once | Check the provider's current pricing page for the concurrency limit on each plan. |
| Support and team features | Priority support, account manager, team management | Check the provider's current pricing page for which support and team features each plan includes. |
Plan names, prices, credits and concurrency are first-party commercial facts held as owner inputs.
Frequently asked questions
Do I need an account to scrape Cloudflare?
No separate target-site account is needed. You create an account with this service to obtain an API key, then send the target URL and let the API handle rendering and protection handling.
Is scraping Cloudflare legal?
Public-facing pages can usually be scraped, but you should review the target site's terms of service before deploying and avoid post-login content.
What's the rate limit for scraping Cloudflare?
Limits are based on concurrency per plan rather than a per-target rate limit. Space out requests or use multiple sessions if a target throttles aggressive patterns.
How do I get structured JSON from Cloudflare?
Pass extract_rules with CSS selectors mapped to field names, or ai_extract_rules with a natural-language specification. The response returns parsed JSON.
Which programming languages can I use to scrape Cloudflare?
Any language can call the HTTP API. SDKs are offered for Python, Node.js, Go, PHP, Ruby, and Java, and plain cURL also works.
How much does it cost to scrape Cloudflare?
Cost depends on the plan you choose and the options each request uses. A free starting allowance is often offered so you can test the service before paying, but the size of that allowance and whether a payment card is needed should be checked on the provider's current sign-up page. Paid plans are priced by monthly credit volume and concurrency, and per-request credit consumption rises when you enable features such as JavaScript rendering, premium proxies, or stealth proxy. To work out a realistic budget, estimate your monthly request count, multiply by the credit cost of the options you need, and compare that total against the plan allowances. Confirm exact prices, credit rates, and plan limits directly with the provider before committing.