BOT PROTECTION FOR TICKETING

Detecting web scraping and price scraping: the signals that give it away in your logs

A scraper reads your store the way nobody shops: every product, in order, at a steady pace, buying nothing, remembering everything. Your logs already contain that reader's portrait.

Scraping detection is pattern recognition over ordinary logs: traversal that follows catalogue structure rather than human interest, page fetches without the assets a browser loads, request rates that are steady rather than bursty, origins concentrated in hosting ranges or proxy pools, and claimed crawler identities that fail reverse DNS verification. The most diagnostic signal is coverage: a session or population that touches every variant of every product is building a database, and nobody comparison-shops like that.

Traversal tells

Humans enter through search and links, narrow quickly, and leave most of your catalogue unread. Scrapers enumerate: category pages in order, product IDs in sequence, pagination walked to the end. Log the path structure, not just the volume, and the enumeration shows as unnaturally complete coverage from related sessions. The asset test sharpens it: a browser fetching a product page requests its images, styles, and scripts; a parser requests the document alone, or the JSON endpoint alone, hundreds of times an hour. Cloudflare's verified-bot model supplies the identity check to pair with this: a crawler claiming to be a search engine should resolve, by reverse DNS, to that engine's domain. One that does not is a scraper in a borrowed coat, and the coat is the confession.

Schedule tells

Commercial scraping runs on clocks. Price feeds refresh at fixed intervals, often aligned to the hour, from rotating origins that share behavior. Aggregate your catalogue traffic by minute and look for the metronome under the noise: a steady baseline of product fetches that never sleeps, never spikes with your marketing, and never converts. Diffing behavior is another tell: requests concentrated on items whose prices changed since the last pass means the operator stores your history and targets updates, which is a more serious operation than a one-off crawl and worth a different response.

Measure before you mitigate

Quantify the scrape before fighting it: what share of catalogue requests is automated, which endpoints feed it, and what it would cost the operator to lose your current access pattern. That measurement decides the response tier, from quiet rate limits on the structured endpoints to serving suspected scrapers a slower lane, and it protects you from the classic own goal of blocking a partner or a search crawler misclassified by an eager rule. The load-spike discipline applies: know which traffic is weather and which is an adversary before you start shedding either. Keep a named owner for the scraping metric; unowned leaks run for years.

Frequently asked questions

What is the asset test for scraping?

Compare document requests to asset requests per session. Browsers load images, stylesheets, and scripts with pages; simple scrapers fetch documents alone. A population with hundreds of product-page fetches and near-zero asset loads is parsing, not shopping. Headless-browser scrapers defeat this test, which is why it is one signal among several.

How do we verify a search crawler?

By reverse DNS: the crawler's address should resolve to the operator's domain, and that name should resolve back to the address. Cloudflare describes this as the basis of verified bot status. A crawler failing the check while claiming a search identity can be treated as hostile with confidence.

Why does coverage matter more than rate?

Rate can be throttled into invisibility by spreading requests across proxies and hours. Coverage cannot: the operator needs the whole catalogue, so the population-level footprint, every product touched on a schedule, remains visible in aggregate even when each session looks gentle.

Should we alert on scraping in real time?

For pricing and availability endpoints during launches, yes, because that scrape feeds live arbitrage. For general catalogue scraping, a daily metric and a weekly review serve better than alerts nobody acts on; reserve paging for the endpoints where an hour's data is worth money.