Key takeaways
- In the US, collecting prices that anyone can see without logging in is on fairly solid ground under federal anti-hacking law. Contract and other state-law claims are the larger risk, above all if you have an account on the site.
- In the EU, a database can be protected even when each price in it is not. Repeated copying of small parts can be a problem, and site terms can bind you where the database has no protection.
- Robots.txt is not a law, but ignoring it looks bad in any dispute. Logins, CAPTCHAs and blocks are where you should stop.
- For up to a few thousand products, a price monitoring tool at $99 to $399 a month is nearly always cheaper than your own scraper. In our example, building costs more over three years.
- Most price projects fail on product matching, and fetching pages is the easier half.
Is web scraping legal? For the case most shops care about, reading public competitor prices without logging in, the short answer is: usually yes in the United States, with conditions, and more carefully in the European Union. The law mostly looks at how you get the data, whether you agreed to terms, and what you do with it afterwards. It cares much less about the fact that a script did the reading.
That’s the legal half. The practical half is whether you should build a scraper at all. We build data pipelines for a living, and for a typical online store our first recommendation is an off-the-shelf tool. This post covers both halves, with the court decisions linked so your lawyer can check them. We’re engineers and this isn’t legal advice. If the project matters to your business, pay for an hour with a lawyer who knows your market.
Four questions that decide most cases
Before any case law, answer these about the site you want to read.
- Can anyone see the price without an account?
- Did you, or anyone in your company, accept terms that forbid automated collection?
- Has the site tried to stop you, by blocking, by a CAPTCHA or by letter?
- Is there any personal data in what you collect?
A “yes” followed by three “no” answers describes an ordinary public product page, and it’s the situation where scraping has done best in court. Each answer that flips moves the risk up. The sections below explain why.
Is web scraping legal in the United States?
There’s no single US statute on scraping. Disputes usually combine the Computer Fraud and Abuse Act (CFAA), contract law and copyright, with a few state-law claims on top.
The anti-hacking law
The CFAA makes it unlawful to access a computer “without authorization”. In Van Buren v. United States (2021), the Supreme Court described the question as “gates-up-or-down”: either you can get into a system, or you can’t.
The Ninth Circuit applied that thinking to scraping in hiQ Labs v. LinkedIn (2022). It found serious questions about whether “without authorization” even applies to pages that anyone can open. Two limits get lost when this case is quoted. It was a preliminary injunction ruling, so it didn’t settle the dispute. And the same opinion says that site owners who suffer from scraping may still have other claims, including trespass to chattels, breach of contract and copyright infringement.
The ending is worth knowing too. By the time the case closed, hiQ faced a ruling that it had breached LinkedIn’s user agreement, and the parties agreed a judgment of $500,000 against hiQ. The stipulation pointed at direct access to password-protected pages through fake accounts. The public pages were never the weak spot.
A newer dispute looks closer to price monitoring. Ryanair sued Booking over automated access to its fares, and a jury found for the airline in 2024. The judge later overturned that verdict because Ryanair had not proved the $5,000 in losses the statute asks for. Ryanair appealed, and the EFF’s account of the case notes that some of the prices were visible only to logged-in users. We found no appeal decision when we checked in November 2026.
The contract question
Terms of service are where more of the real risk sits. Two decisions from the Northern District of California favour scrapers, with reasons that matter.
In Meta v. Bright Data (January 2024), the judge held that Meta’s terms couldn’t be read to prohibit logged-off scraping of public data. A visitor who isn’t logged in wasn’t a “user” under those terms. Meta dropped the case a month later. The ruling turned on Meta’s own wording, so another company with other terms can get another answer. One detailed commentary points out that scrapers who knew about the terms have historically tended to lose.
In X Corp. v. Bright Data (May 2024), the court went further and held that X’s breach-of-terms claims over scraping conflicted with the Copyright Act. Both are trial-court decisions, which other courts are free to ignore.
The working rule we take from this: don’t log in. If your buyer has a wholesale account with a competitor or a distributor, the prices behind that login are off limits for a scraper, whatever the technology allows.
Copyright, and the newer bot-blocking argument
A price is a fact. The Supreme Court said in Feist that facts are not copyrightable, however much work went into collecting them. Product descriptions and photos are different. They can be protected, and a price project has no reason to copy them.
The argument to watch is that getting around bot protection is itself illegal under the Digital Millennium Copyright Act. Google tried it against SerpApi. In July 2026 a federal judge dismissed the claims, reasoning that a system guarding results with no copyrighted content isn’t protecting a copyrighted work. An amended complaint was dismissed again in November, with a deadline to refile, and the court didn’t declare the scraping lawful. Treat this one as unfinished.
What changes in the European Union
European law adds a right that the US doesn’t have. Under the Database Directive, whoever made a substantial investment in obtaining, verifying or presenting the contents of a database can prevent others from extracting a substantial part of it. Article 7(5) also covers the repeated and systematic extraction of small parts when it conflicts with the normal use of the database. A daily price crawl is repeated and systematic by design, so that sentence deserves a careful read.
The Court of Justice narrowed the right in CV-Online Latvia (2021). Copying a substantial part of a freely accessible database can be prohibited where it harms the maker’s investment, meaning it puts at risk the chance of earning that investment back. Reading a competitor’s 400 overlapping products for your own pricing decisions is a long way from republishing their catalogue on a comparison site. Both use the same code.
Then there’s the twist that surprises people. In Ryanair v. PR Aviation (2015), the court dealt with a price-comparison site and an airline whose terms banned screen scraping. It held that when a database isn’t protected by the directive, the directive’s user rights don’t apply either, so the owner may set contractual limits, subject to national law. A weaker database can end up with stricter terms.
Two more European rules matter here. Article 4 of the 2019 copyright directive allows text and data mining unless the owner has reserved that right, for example in a machine-readable way. And the GDPR applies as soon as you collect information relating to an identifiable person. Prices aren’t that. Reviewer names, marketplace sellers who trade under their own name and “sold by” contact details can be. The simplest compliance measure is to not collect them.
Robots.txt, rate limits and blocks
The standard behind robots.txt says it outright: its rules are not a form of access authorization. Crawlers are requested to honour them. So a robots.txt line doesn’t make your crawl illegal by itself, and following it doesn’t make the crawl legal.
We still follow it, for a dull reason. If a dispute ever starts, the record of how your crawler behaved is the evidence. A crawler that reads robots.txt, identifies itself, spreads its requests and slows down on errors looks like a careful business. One that rotates through residential IP addresses to get past a block looks like what it is.
Our own line is simple: no logins, no solving CAPTCHAs, no working around a block. When a site stops a crawler, the next step is a conversation. Ask for a feed, an API or a partner price list. Competitors will say no, but distributors, marketplaces and brands whose products you sell often say yes, because correct prices help them too.
Ask for the feed first
Scraping is what you do when no better source exists, and people skip the check.
One booking platform we built shows live prices and availability from suppliers’ own systems. Pulling those numbers from web pages would have been fragile, and the first wrong price at checkout would have cost a customer. The suppliers’ system has an API, so the platform reads from that, keeps an indexed copy for searching and confirms the price again before payment. The write-up on that kind of integration shows what it takes. An agreed source with a contract beats a clever parser every time.
If you only need to compare prices, look in this order: a supplier or marketplace API, a product feed, a commercial price tool, and only then your own crawler. Our guide to API integration services covers the first option.
What competitor price monitoring costs
Let’s do the maths on a concrete case. Take a store with 2,000 products that wants to watch five competitors, once a day. That’s 10,000 product pages a day, about 300,000 a month. All list prices below were checked in November 2026.
| Route | What it costs | Three years |
|---|---|---|
| Pricefy Pro, up to 2,000 SKUs | $99 a month | $3,564 |
| Prisync Platinum, up to 5,000 products | $399 a month on the cheapest path | $14,364 |
| Prisync Platinum with API access | $399 plus 20% | $17,237 |
| Own crawler on a scraping API | see below | about $37,000 |
The tool prices come from the Pricefy and Prisync pricing pages. Prisync’s Premium plan stops at 1,000 products, which is why this store needs the next one up.
For the own-crawler row, we assume the pages are fetched through a service such as Zyte, which lists $0.13 to $1.27 per 1,000 plain requests and $1.01 to $16.08 per 1,000 when a page has to be rendered in a browser. At the middle plain tier of $0.44, 300,000 requests cost $132 a month. If every page needed rendering at that same middle tier ($4.02), it would be $1,206, so test this before you budget.
Fetching is the small number. We also assume a $15,000 build and six hours of upkeep a month at $80 an hour, which is $480. Over three years that’s $15,000 plus 36 × $612, or $37,032. Change any assumption you like. For a store of this size the tool still wins by a wide margin, and we’d tell you so on the first call.
Where a tool stops being enough
The balance shifts when the job is no longer “show me prices”. These are the situations where we’d build.
- The prices feed something else: your ERP, your quoting tool, a purchasing decision that runs at night.
- Products don’t match one to one. You sell a kit, they sell the parts. You sell per metre, they sell per roll.
- The sources aren’t shops. Tender portals, PDF price lists and supplier sites with odd formats are outside what price tools read.
- The data itself is your product, and you resell it or build a service on it.
- You need to prove where each number came from, with the page as it looked at that moment.
In those cases the crawler is a small part of the system. Storage, matching rules, review screens and alerts are the rest, which is why we treat it as custom software and plan it that way. The general test in our post on build vs buy applies unchanged: buy the standard part and build the part that is yours.
There’s a middle route as well. Workflow tools such as n8n can call a scraping API, store the result and send an alert, and for a few dozen products that’s a weekend’s work. We compared the options in our piece on Zapier alternatives.
What breaks after launch
Scrapers rarely fail loudly. They keep running and return something slightly wrong.
The classic failure is a redesign. The page still loads, the selector now matches the “was” price, and your report says the competitor raised prices by 30%. If someone has wired that report to automatic repricing, you’ve just changed your own prices because of a CSS class. Reading the product’s structured data is steadier than reading the layout, because shops publish it for search engines. Google’s product documentation shows the fields, and its Merchant Center rules require the submitted price to match the landing page and checkout, which gives shops a reason to keep it right.
Matching is the harder problem. Two shops can describe the same item with different titles, pack sizes and bundles. A GTIN, the number behind the barcode, solves it when both sides publish one. When they don’t, you need rules plus a person who approves uncertain matches. Budget for that person. A match that’s wrong for a year is worse than no match, since every decision built on it looks well founded.
Then come the quiet distortions: prices with and without tax, shipping folded into one shop’s price and charged separately in the other, member prices, regional prices, and an out-of-stock item that still displays a bargain. Store the currency, the tax status, the availability and the time next to every price. Without those four fields, a comparison is a guess.
So the minimum we’d put around any price pipeline is short. Log every fetch with its source page. Reject values that move more than a set percentage until someone looks. Alert when the number of successful pages drops. Name one person who owns it. And never let a scraped price change your own price without a floor that protects the margin.
When not to do this
Skip price scraping if you sell mostly your own brand, because there’s little to compare. Skip it when you compete on delivery, advice or stock, since daily price data pulls attention to the one thing you don’t want to win on. If you have fewer than a hundred overlapping products, a free plan or a person with a list on Monday morning is enough.
And skip it when the only way in is through a login, a block or somebody else’s account. No pricing advantage is worth explaining that to a judge.
Where to start this week
Pick fifty products that decide your margin and three competitors. Write down, for each site, the answers to the four questions at the top, with a copy of the terms and the robots.txt on that date. Put the fifty products into a free or entry-level price tool and run it for a month. You’ll learn how often prices really move, how many products match cleanly and whether anyone acts on the report.
If nobody acts on it, you’ve saved the cost of a system. If the team starts asking for things the tool can’t do, that list is the specification for a custom data pipeline, and we’re happy to read it and say which parts need building. When the output has to land in your shop or ERP, the integration side deserves the same care.



