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.
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.
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.
On routes a scraper cannot avoid but readers touch rarely: search submit, export. Not catalog pages.
Verify the token server-to-server at /api/v1/siteverify before the query. Decide how many rows one token buys.
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.
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.