Application Security

Someone Is Scraping Our Prices and Stock. What Kind of Problem Is This?

Bulk scraping is not automatically an attack. Classify it as permitted collection, grey-area bulk collection, or scraping with demonstrable business harm before discussing any purchase — then map it to the control layer that actually applies.

Short answer: “Our data is being copied” is not one problem. Separate three cases: permitted collection (search engines, comparison services, agreed partners), grey-area bulk collection that breaks your terms but causes no visible harm, and scraping with demonstrable business harm — price matching against you, stock exposure, coupon or checkout abuse, account risk. Only the third enters a buying conversation. Then note that WAF rules, rate limits, human verification, behavioural bot control and application-side quotas each judge a different thing. Classify first, then choose a layer.

Three kinds of scraping; only one justifies buying anything

Scraping itself is a technique, not a verdict. A crawler fetching a public product page is doing the same mechanical thing as a comparison engine, a partner integration, a search indexer and a competitor’s price sync. What separates them is permission and impact.

Category Typical source Business impact Usual response Does it need a purchase?
Permitted or negotiable collection Search engines, comparison platforms, contracted partners None, or positive (discovery, distribution) Agree a rate, an identifier, or a feed No
Grey-area bulk collection Unknown crawlers, aggregators, one-off scripts Load or freshness concerns, no clear loss robots directives, terms, a polite rate limit, or simply monitoring Usually no
Scraping with demonstrable harm Coordinated extraction feeding price matching, copy listings or abuse Prices undercut in near real time, stock exposed, coupons drained, endpoints abused Evidence → classify the traffic → choose a control layer Possibly

This is a classification aid, not legal advice. Whether a particular collector is permitted depends on your terms, jurisdiction and the data involved; that question belongs with counsel, not with a security vendor.

The most common mistake is treating row two as row three. A crawler that appears in your logs is not yet a loss. Before any procurement step, write down what changed in the business: did a competitor’s price move after yours, did a listing appear before your launch, did a limited coupon get drained, did inventory data show up elsewhere, did login attempts rise? “It feels like someone is scraping us” is not evidence, and controls bought on that basis tend to be tuned against the wrong traffic.

How to classify it from your own logs

Work through these in order:

  1. Path concentration. Is the crawler walking categories with varied parameters, or hitting one price or stock endpoint repeatedly?
  2. Request rhythm. Are there human-like gaps between requests, or a mechanical cadence with very low variance?
  3. Static assets. A browser fetches styles, scripts and images alongside the page; a script that only wants data often does not.
  4. Session state. Does it carry cookies, complete a normal journey, or touch authenticated endpoints at all?
  5. Source spread. Are addresses concentrated in hosting ranges, or scattered across consumer and mobile networks?
  6. Business correlation. Does any of this line up with a price change, a copied listing, an exhausted coupon, or a support complaint?

Request headers such as User-Agent, Referer and Cookie are optional and client-supplied, so a missing or odd value is a weak signal by itself. So is an address: an address is not a stable identity — carrier networks, corporate NAT and rotating proxies all break the assumption that one address equals one actor. Several signals together are what make a classification defensible, and defensibility matters because whatever you block will at some point include a real buyer or a legitimate comparison service.

If the symptom is a stalled checkout rather than copied catalogue data, that is a peak-versus-attack triage question instead. If the crawling has moved into logins and accounts, the account-takeover path applies.

Five scenarios, five different bottlenecks

Scenario What the traffic looks like What is actually being consumed Class of capability that fits Can rules alone solve it?
Catalogue and detail pages pulled in bulk Wide path spread, steady cadence Origin rendering, database reads, crawl budget Cache, pagination limits, agreed feed Often yes
Prices and stock polled on a schedule Narrow paths, regular intervals Freshness of your data, competitive position Application-side data policy, terms, selective rate limits Partly
Coupon, cart or checkout endpoints abused A few expensive endpoints, no browsing Inventory, discounts, payment authorisation Endpoint authentication, quotas, idempotency Usually no
Registration and login automated Identity endpoints, repeated attempts Account integrity and downstream fraud Human verification, credential checks, rate limits Usually no
Distributed low-and-slow extraction Many sources, each quiet, valid-looking requests Your ability to tell automation from people Behavioural classification No

The last row is the one that changes the buying decision. Everything above it can be reduced substantially inside your own application. The last row cannot, because each individual request is indistinguishable from a legitimate one.

Which control judges what

Class of capability What it judges What it stops well What it does not stop When it becomes worth evaluating
WAF custom rules The shape of the request and known signatures Known attack patterns, malformed parameters, obvious tool fingerprints Valid-looking bulk requests, rotating sources There are identifiable patterns to match
Rate limiting How often a key appears Bursts against a specific endpoint Low-and-slow traffic spread across many sources A small set of expensive endpoints is being hit hard
Human verification Whether the client has a real browser environment Simple scripts and headless clients Automation with a full browser, and any impact on conversion if overused A challenge is acceptable on the affected path
Behavioural bot control Whether the caller behaves like a person Distributed, valid-looking automation Business-logic abuse, stolen credentials Sources rotate and requests themselves are legitimate
Application identity and quotas Who is entitled to how much of what Over-use of data and discounts regardless of source Anything before the request reaches your app The data itself should be gated
Terms, robots directives and agreed feeds Permission, technically Nothing, on their own A party that ignores them Always, as a baseline and as evidence
Logging and attribution All of the above Nothing, on its own — Before any of the above can be tuned

A WAF and bot control are not substitutes

A WAF asks “what does this request look like?” — payload, parameters, known signatures. Bot control asks “who is making it?” — client environment, behaviour over time, consistency across a session. A scraper sending a perfectly normal GET for a public product page gives the first question nothing to match, while the second may still notice that a large volume of such requests arrives in a mechanical cadence from hosting ranges. They stack: keep the WAF for injection and known-bad patterns, add classification when the requests themselves are valid. The detailed boundary is in why rule-based controls miss bots, and the underlying signals are described in how automation differs from real users.

Three structural reasons rule-based blocking runs out: an address is no longer a stable identity; a data request can be entirely legal HTTP with no payload to match; and low-and-slow traffic stays below any static threshold you would dare set on a commercial endpoint. None of those are configuration mistakes. They are limits of what a rule can judge.

What you can fix yourself, and when to bring in a provider

Yours to fix: authentication and per-account quotas on sensitive endpoints, idempotency on coupon and cart operations, minimising what a public endpoint returns, pagination and cache behaviour, log retention long enough to reconstruct a campaign, a clear terms-of-use position, robots directives, and a documented feed or rate agreement with partners you actually want collecting your data.

Needs outside capability: sources that rotate across many networks, a need to classify before requests reach your application, path-by-path handling that your stack cannot express, or a situation where your own blocking has already started hurting conversion.

A usable dividing line: if the requests are individually valid, sources are widely distributed, and the business harm is evidenced, classification belongs at the edge; if any of those three is missing, the fix is inside your application or in a conversation with the collector. Once classification is settled, the order in which controls are applied matters more than which product is chosen.

A decision checklist

  • Have we written down the actual harm, with an example and a timestamp?
  • Is the collector permitted, contractual, or a known comparison service?
  • Do at least two log signals support the classification?
  • Are the affected endpoints public data, or gated business operations?
  • Have we tried an agreed feed, a rate agreement, or a terms conversation?
  • Can our application reduce the exposure without any new service?
  • Would a false positive here cost us a real buyer or a distribution partner?

When not to buy anything: the crawler is a search engine or an agreed partner; the harm cannot be evidenced; the request volume sits inside normal business variation; or the whole problem is that a public endpoint returns more data than it needs to. Each of those has a cheaper, more precise fix.

Boundaries and non-applicable cases

This page classifies scraping and maps it to control classes. It is not a rule-writing tutorial, a legal opinion on data rights, or a vendor comparison. It offers no detection-rate figures, and no control guarantees zero false positives — every classification signal is probabilistic, which is why a challenge should precede a hard block on paths that convert. Bot control does not solve business-logic fraud such as refund abuse or fake orders, and it does not recover credentials that were already stolen. A robots directive is a statement of preference, not enforcement. If the affected traffic is volumetric enough to take the site down, that is an availability question rather than a scraping one.

FAQ

Is a competitor scraping our prices illegal, or an attack? Neither question has a universal answer from a log file. Permission depends on your terms and jurisdiction; “attack” is a technical classification that depends on impact. What you can establish internally is whether harm is evidenced and whether the traffic is permitted.

We already have a WAF. Why is it still getting through? A WAF matches what a request looks like. A normal GET for a public product page has nothing malicious to match. That is a classification problem about the caller, not a missing rule.

Is blocking the addresses enough? Rarely for long. Addresses are not stable identities — carrier networks, NAT and rotating proxies break the mapping. Blocking works as a short-term measure for a concentrated burst, not as a policy.

Will stricter controls block real buyers and comparison platforms too? They can, especially on commercial paths. Check challenge pass rates and keep an allow path for known partners; prefer a challenge before a block, and measure conversion on the affected endpoints afterwards.

Options worth evaluating

Once the harm is evidenced and the traffic is classified as distributed, valid-looking automation, an edge layer able to classify callers before the request reaches your application is one of several classes of capability to shortlist — alongside application-side quotas, identity checks and a rate agreement with legitimate collectors. It is not the answer when the collector is a partner, when the harm is unverified, or when a smaller public response would remove the exposure altogether. The useful question for a vendor conversation is what signal the control judges, what happens when it is wrong, and how known-good partners stay reachable.

More on this cluster is in the bot topic index.

Run the same check on your domain

Enter a domain and see its DNS hosting, mail authentication and Cloudflare status in 30 seconds. Free, public records only.

Public DNS records only. No intrusive scanning. · Used only to send this diagnosis — no marketing blasts.

← Back to articles

Authorized Cloudflare Partner

Making an architecture decision for overseas markets?

Enterprise tier selection, architecture consulting, risk assessment — tell us the scenario and we will map a concrete path.

As a Cloudflare partner, we provide:

Book a consultation