PrivCaptcha.com

Prevent web scraping at search, filters and export

Scraping reads your catalog at a rate and coverage no reader produces: every SKU, every price, once a day. Anti scraping protection belongs on the routes that hand that data out.

How a scraping run works

A scraper walks your pagination and calls search and filter endpoints with generated query strings. Cheap ones are a Scrapy spider on cloud hosts, expensive ones headless Chrome through residential proxies.

Signs of scraping in your logs
Page 40 gets about as many hits as page 2.
Search and export endpoints hit more than the pages linking to them.
Clients that fetch HTML or JSON and never an image or stylesheet.

How to prevent web scraping without blocking readers

How to prevent web scraping comes down to one trade: make bulk access expensive while a single page view stays free. Scraper bots want coverage, every product and every price, and coverage means hitting search, filters, pagination and export far more often than any reader does.

Price scraping by competitors and content scraping by copy sites and AI crawlers both work this way. Bot scraping through headless browsers and residential proxies gets past IP blocks and user-agent rules, so scraping prevention has to price the request itself.

To stop web scraping without hurting search engines, leave catalog pages crawlable and put the challenge where data is served in bulk: the search submit, the filter API and the export button. A reader touches those now and then; a scraper needs them on every request.

Anti scraping methods compared

Each method below stops some scrapers and misses others.

Method Stops Misses
robots.txt Polite crawlers that choose to obey it Every scraper that ignores it
IP rate limits Scrapers running from one machine Residential proxy pools that rotate addresses
User-agent blocking Default HTTP libraries Any client that sends a browser user-agent
Login walls Anonymous bulk access Scrapers with throwaway accounts, and your own search traffic
A PrivCaptcha challenge per result set Bulk access at any address count, because every result set pays a puzzle and proof-of-work Data already in the HTML of public pages

No method makes public data private. The aim is a price per page that a scraper notices and a reader never does.

Commercial anti scraping tools add fingerprinting and behavior analysis on top. PrivCaptcha deliberately stays with the request and its price, so it adds nothing to your privacy policy.

What scraping costs a business

Scraping takes three things: your data, your margin and your server capacity. A competitor that reads every price each morning can undercut you automatically, a copy site that takes your listings or articles competes with you in search, and a large crawl of search and filter pages can cost more in compute than the visitors it slows down.

AI crawlers have added a fourth: content used for training or answers without a visit to your site. Robots.txt rules cover the crawlers that honor them; the routes that serve data in bulk need a cost per request instead.

How PrivCaptcha stops scraping

Four steps, with the numbers the server uses. Nothing here is configured by you.

The header set prices the first page

Scoring starts at 20. A matched crawler user-agent adds 40, Accept-Language 15. 20 + 40 + 15 = 75: level 4.

Level 4 tolerances on every page

Level 4, and the client cannot lower it. 10 shapes, 6 pixels, 10 degrees. Proof-of-work rises to 18 bits: 16 times the hashing.

Careful crawlers start at the floor

Real Chrome headers start at 20, level 2. Failures add 8 points each, capped at 40. A fresh proxy IP resets it.

One token, one response

One token per challenge, and it buys one result set, not the run. Solve caps at 10 requests per second per IP.

What the attacker pays for scraping now: At 18 bits each page costs about 262,000 SHA-256 attempts, and it does not amortize. A 500,000-page catalog is roughly 10^11 hashes, a few CPU-hours and far more in a browser. Scraping needs all of it, not 90%.

Add PrivCaptcha to your search or export endpoint in two lines of code

Script tag, container in front of the submit button, and your existing verify call. Already on reCAPTCHA or hCaptcha? That backend code stays exactly as it is.

reCAPTCHA siteverify hCaptcha siteverify
Server SDKs
<!-- search or export endpoint -->
<script src="https://privcaptcha.com/1/api.js" async defer></script>
<div class="privcaptcha" data-sitekey="your-site-key"></div>
<!-- server side, unchanged -->
POST https://privcaptcha.com/api/v1/siteverify
Where it goes

On routes a scraper cannot avoid but readers touch rarely: search submit, export. Not catalog pages.

What the backend does

Verify the token server-to-server at /api/v1/siteverify before the query. Decide how many rows one token buys.

The usual mistake

Mistake: gating the render, not the response. The rows are already in the HTML. Serialize only after verify succeeds.

What this does not solve about scraping

Captchas do nothing for pages not behind them, or against a solve farm. A proxy pool keeps the score near the floor.

Common questions about scraping

How PrivCaptcha prices scraping, and where it stops.

No. Put it on search, filter and export. Those are the routes a scraper needs and a reader touches occasionally, and challenging every page view would punish the readers you want.
Going faster costs more, not less. The puzzle and the proof-of-work are per request and there is no cached pass to reuse, so throughput is exactly what the design charges for.
Enough for one real search: one page of results, or one export a person would ask for. A token that unlocks a whole session lets a scraper solve once and read until it expires; a token per result set makes it pay on every page.
Yes. Leave catalog and product pages without a challenge and crawlers read them as before. The challenge sits on search submit, filters and export, which crawlers do not need.
Not on pages anyone can read: a crawler that only fetches HTML never meets the widget. What it stops is bulk use of search, filters and export by any client, AI crawler or not. To keep AI crawlers off public pages, add robots.txt rules for the ones that honor them and block the rest on your server.

Put PrivCaptcha in front of your search or export endpoint

10,000 verifications a month are free, and the integration is the one you already have.