Skip to content

Is Web Scraping Legal? A 2026 Guide for E-commerce

Scraping public product data and prices is broadly legal in 2026 — here's what the CFAA, GDPR, and recent court rulings actually say for e-commerce.

Visualization of publicly available product data collected for e-commerce price monitoring and analytics
On this page
  1. The Short Answer (2026)
  2. The Three Questions That Decide Legality
  3. The Court Cases Every E-commerce Team Should Know
  4. Web Scraping Laws in the US and the EU
  5. Is It Legal to Scrape Competitor Prices?
  6. Scraping Amazon and TikTok Shop
  7. robots.txt and Good-Faith Scraping
  8. A Compliance Checklist for E-commerce Scraping
  9. How ShopScraping Keeps Collection on the Safe Side
  10. The Bottom Line
  11. Sources
  12. FAQ

If you sell online, you've probably asked the question at some point: am I actually allowed to collect competitor prices and product data automatically? It's a fair thing to worry about — the internet is full of scary warnings, cease-and-desist stories, and terms of service pages that seem to ban everything.

Here's the reassuring part. The kind of data e-commerce teams care about most — public prices, stock status, product specifications — sits in the safest corner of scraping law. The legal risk lives elsewhere: in personal data, in bypassing logins, and in copyright. This guide walks through what the law actually says in 2026, why the recent court rulings matter for retailers and brands, and how to keep your data collection on the defensible side of the line.

The Short Answer (2026)

Scraping publicly available, non-personal data — like product prices and specifications — is broadly legal. There is no single global "yes" or "no," because courts and regulators don't judge scraping as one act. They look at three things: how you access the data, what you collect, and why you use it. Get those three right and you're standing on solid ground. Get them wrong — by logging in against the rules, harvesting people's personal information, or republishing copyrighted content — and the picture changes fast.

For most e-commerce use cases, all three levers point the same, safe way. Prices are public facts, you can read them without an account, and using them for internal pricing analysis is a well-established, legitimate purpose.

The Three Questions That Decide Legality

Instead of asking "is scraping legal," ask three sharper questions about your specific project. Almost every real-world dispute turns on the answers.

What you collect

The single biggest driver of legal exposure is the type of data, not the act of collecting it. Public facts like a product's price, its availability, or its technical specifications carry very little risk. Personal data — anything that identifies a specific person, such as a reviewer's name or a seller's contact details — is a different category entirely and pulls in privacy law. Creative works like product photography and long marketing copy can be protected by copyright.

Product prices and specs land squarely in the low-risk bucket. They're facts, and facts aren't owned.

How you access it

The clearest line drawn by courts in recent years is between logged-out and logged-in access. Public pages you can view without an account, a password, or a paywall are generally scrapable for internal analytics, price monitoring, and aggregation — as long as you don't hammer the server with harassment-scale traffic. The moment you log in, sign up, or work around a technical barrier to reach gated content, you take on contract risk and potential computer-access liability. Most disciplined teams keep production scrapers pointed only at unauthenticated pages for exactly this reason.

Why you use it

Purpose matters, and courts weigh it. Collecting data for research, competitive analysis, price tracking, or market insight is widely treated as legitimate. Collecting it to spam people, profile individuals, clone a catalog wholesale, or resell a copyrighted dataset crosses the line quickly. Same data, different intent, different legal footing.

The Court Cases Every E-commerce Team Should Know

You don't need a law degree to understand the handful of rulings that shaped today's rules. These are the ones worth knowing.

hiQ v. LinkedIn — public scraping isn't hacking, but contracts still bite

hiQ, a small analytics company, scraped public LinkedIn profiles. LinkedIn tried to shut it down using the Computer Fraud and Abuse Act (CFAA), the main U.S. anti-hacking statute. In 2022 the Ninth Circuit sided with hiQ on the headline question: accessing public pages that anyone can view isn't "unauthorized access," so it isn't a CFAA violation.

But hiQ didn't walk away clean. In November 2022 the district court found that hiQ had breached LinkedIn's User Agreement, both through its scraping and through the creation of fake accounts. The case ended in December 2022 with a consent judgment: $500,000 against hiQ and a permanent ban on scraping LinkedIn. The lesson: public scraping isn't hacking, but a contract you actually accepted is enforceable.

Van Buren v. United States — misusing data isn't hacking

This 2021 Supreme Court case wasn't about scraping at all, but it reshaped the landscape. The Court ruled that "exceeding authorized access" under the CFAA applies to people who reach data they have no right to see — not to people who misuse data they're otherwise allowed to access. The Court left open whether contract terms alone can set those limits, but the ruling made it much harder to turn a terms-of-service violation into a federal computer crime.

Meta v. Bright Data — logged-out public scraping holds up

In January 2024, a federal judge ruled in favor of Bright Data against Meta, finding that Meta's Facebook and Instagram terms don't prohibit scraping public data while logged out — because a logged-out visitor never entered into that contract. This is now the leading U.S. contract-law signal that the logged-out/logged-in distinction matters far more than the URL alone. X Corp's case against Bright Data shows that courts treat two kinds of claims separately. In May 2024 the court dismissed X's amended complaint: claims about scraping and selling public posts were preempted by copyright law, since X doesn't own its users' content, and claims about access to X's systems did not describe any harm specifically enough. In November 2024 the court refused to revive the scraping-and-selling claims but allowed X to amend its complaint with access-based claims built on alleged server impairment and access to non-public data. That ruling only lets those claims be pleaded; it does not establish liability. Still, it shows where the risk sits: not in collecting public data, but in burdening servers or reaching non-public areas.

The AI-era wave — where the fight is moving

Newer cases have shifted the battlefield. In late 2025 Reddit sued Perplexity AI and three scraping-related companies, including SerpApi and Oxylabs. Rather than arguing that its data was private, Reddit relied on the DMCA's anti-circumvention rule, alleging that the defendants got around Google's anti-bot protections to collect Reddit content from search results. In July 2026 the court let most of those claims go forward against SerpApi and Perplexity. Courts don't agree yet, though: days earlier, a California federal court dismissed Google's own DMCA claims against SerpApi over the same anti-bot system, holding that the anti-circumvention rule doesn't protect search results that contain no copyrighted content. Both are early rulings, not findings of liability. What they share is the focus: the fight is less about whether data is public and more about whether technical protections were defeated to get it. Scraping open product pages without bypassing protections stays outside that fight.

Web Scraping Laws in the US and the EU

The rules differ between the two, but in both, prices and product specifications sit in the low-risk category.

United States

CFAA. After Van Buren and hiQ, the federal anti-hacking law mainly applies when someone gets around an actual access control, such as a login. Reading open product pages doesn't fit that description.

Terms of service. Terms are a contract question, not a criminal one, and they bind people who accepted them. Clickwrap terms — ticking a box or pressing "I agree," usually at signup — are enforceable. Browsewrap terms that sit in a page footer are hard to enforce against a scraper who never saw them, but notice can come later: in Register.com v. Verio, a company that kept collecting data with full knowledge of the site's terms was held bound by them. That's another reason to stay logged out.

Trespass to chattels. Scraping heavy enough to burden a site's servers can support a trespass claim. In November 2024 the court allowed X to amend its complaint against Bright Data with such access-based claims; no liability has been established.

Copyright. Facts aren't copyrightable (Feist v. Rural, 1991), so prices and specifications are free to collect. Product photography and substantial original descriptions can be protected: collecting a price is fine, but republishing a competitor's image library or copying their long-form copy is where copyright problems start.

Privacy (CCPA). California's privacy law covers personal information about California residents and excludes some publicly available information. Prices and product data aren't personal information at all; reviewer names and seller contact details can be.

European Union

GDPR. It applies to processing carried out in the context of the activities of an establishment in the EU, wherever the processing takes place, and to businesses outside the EU when they offer goods or services to people in the EU or monitor their behaviour there. Where it applies, "public" is not on its own a lawful basis for processing. Scraping personal data usually relies on legitimate interest, which is available only after a documented balancing test shows that your interest is not overridden by the rights and interests of the people concerned. It also comes with obligations: collect only what you need, keep it no longer than necessary, inform people about the processing (the GDPR allows narrow exceptions, for example where informing them would take disproportionate effort) and respect their right to object. France's CNIL, in its guidance on scraping for AI development, adds concrete measures: define collection criteria in advance, exclude unneeded categories of data, delete irrelevant personal data as soon as it is identified, and skip sites that object through robots.txt or CAPTCHAs. Prices, stock and specifications are not personal data, so the GDPR usually doesn't touch them; reviews with customer names and seller contact details are where care is needed.

Database right. The EU protects databases that took substantial investment to build. In CV-Online Latvia (2021), the EU Court of Justice held that copying and indexing a substantial part of a freely accessible database can be prohibited where it puts the maker's investment at risk. Checking a set of competitor prices is very different from copying a substantial part of a competitor's catalogue.

Contracts. Where a database has neither copyright nor database-right protection, its owner can still restrict its use through contract terms, subject to national law (Ryanair v. PR Aviation, 2015).

Copyright works much as in the US: facts are free, product photos and original texts are not.

For the question most retailers and brands are really asking: yes, monitoring competitor prices is a legitimate and defensible use of scraping. It ticks every box on the safe side of the ledger. Prices are public facts, not personal data. You collect them from open product pages without logging in. And you use them for internal pricing analysis — one of the classic, accepted purposes.

Courts have treated logged-out collection from public pages as the strongest position: in hiQ, the Ninth Circuit found that scraping public pages likely isn't "unauthorized access" under the CFAA, and in Meta v. Bright Data, logged-out visitors weren't bound by Meta's terms. Marketplaces with explicit anti-scraping terms are a separate question — see the Amazon and TikTok section below. As long as you stay logged out, avoid overwhelming the target site, and don't lift copyrighted images or descriptions along with the prices, competitor price monitoring is about as low-risk as commercial scraping gets.

Scraping Amazon and TikTok Shop

Marketplaces deserve a separate look, because their terms are explicit.

  • Amazon. The licence in Amazon's Conditions of Use (updated August 14, 2026) excludes "any collection and use of any product listings, descriptions, or prices" and "any use of data mining, robots, or similar data gathering and extraction tools."

  • TikTok Shop. TikTok's Terms of Service (updated July 15, 2026) prohibit using automated systems to "scrape, crawl, export or otherwise extract any data" from the platform without written approval.

These are contract terms, but whether they bind a particular scraper — and whether they cover a particular way of collecting data — depends on how each platform forms its contract and on the applicable law. Having an account means you accepted the terms. Not having one doesn't settle the question: TikTok's terms say that by using the platform you are agreeing to them. Meta v. Bright Data turned on the wording of Meta's own terms, so it is not a precedent that frees logged-out collection from Amazon's or TikTok's restrictions, and no court has ruled on that question for either platform. Collecting data through a seller account or any logged-in session carries the clearest risk. Both platforms also use anti-bot protections, and getting around them is the kind of circumvention the Reddit case targets. Where an official API covers the data you need, it is the lowest-risk route.

robots.txt and Good-Faith Scraping

robots.txt is a technical convention — formalized as RFC 9309 — that lets a site signal which paths it prefers automated crawlers to leave alone. Ignoring a Disallow rule is not illegal in itself: RFC 9309 states that its rules "are not a form of access authorization." But ignoring it can be used as evidence that you knew the site objected, so respecting it is part of acting in good faith. In the EU the bar is higher where personal data is involved: France's CNIL, for example, expects AI developers to exclude sites that object to scraping through robots.txt or CAPTCHAs. If the terms are new, start with the difference between web crawling and web scraping.

Good-faith scraping in practice comes down to a few habits: throttle your request rate so you don't strain the server, identify your crawler with a real User-Agent that includes a contact address, and honor the site's stated crawling preferences. None of this is legally mandatory in most cases, but all of it strengthens your position if anyone ever asks questions.

A Compliance Checklist for E-commerce Scraping

A quick, practical gut-check before you scale up a scraping workflow:

  • Collect public, non-personal data — prices, stock, specs, identifiers. Leave out names and personal details.

  • Stay logged out. Don't create accounts or sign in to reach the data.

  • Don't bypass barriers. No working around logins, CAPTCHAs, or other access controls.

  • Respect robots.txt and rate limits. Crawl politely and identify yourself.

  • Be careful with images and long descriptions. Those can be copyrighted; facts and prices aren't.

  • Separate collection from use. How you obtained the data matters as much as what you do with it — document both.

  • When personal data is unavoidable, get advice. Reviews with names and similar fields pull in privacy law.

How ShopScraping Keeps Collection on the Safe Side

ShopScraping is built around exactly this low-risk model. It works with public product pages in a logged-out state, focuses on non-personal fields — prices, availability, specifications, product identifiers — and paces its requests rather than flooding a site. In other words, the design defaults sit on the defensible side of every line drawn above, so you can monitor the market without turning data collection into a legal project of its own.

The Bottom Line

The legal landscape around web scraping continues to evolve, but the core principles have remained remarkably consistent: collect publicly available data, avoid technical barriers, respect privacy and copyright, and use the information responsibly. For e-commerce teams focused on price monitoring and product intelligence, following those principles keeps web scraping both practical and defensible.

This article is an educational overview of the legal landscape around web scraping as of 2026. It is not legal advice. Laws and court rulings vary by jurisdiction and change over time — consult a qualified attorney about your specific use case.

Sources

FAQ

Can you go to jail for web scraping?

In the US, criminal charges under the Computer Fraud and Abuse Act require accessing a computer without authorization, and after Van Buren and hiQ, reading pages anyone can open does not fit that. Criminal risk comes from breaking into non-public systems — using someone else's credentials, getting around a login — or from deliberately disrupting a site. Other countries have their own computer-misuse laws, so check local rules if you scrape elsewhere.

Is it legal to scrape Amazon?

Amazon's Conditions of Use exclude data mining, robots and the collection of product listings and prices from the licence to use the site. That contract clearly applies to sellers and logged-in shoppers; how far it reaches logged-out collection of public product pages has not been tested in court. Scraping prices and product details for internal analysis sits at the low end of the risk scale; using an account, bypassing protections or copying images and descriptions raises it.

Is it legal to scrape TikTok Shop data?

TikTok's Terms of Service ban automated scraping without written approval, so collecting data through a TikTok account breaches a contract you accepted. TikTok's terms also say that using the platform means agreeing to them, so logged-out collection is not automatically outside the contract, and no court has ruled on that question. TikTok uses anti-bot protections, and bypassing them adds risk.

Do you need permission to scrape a website?

Not for public pages in most cases: US courts have held that reading public pages is not unauthorized access, and terms you never accepted are hard to enforce — though some platforms, such as TikTok, state that simply using the site counts as accepting their terms. You need permission — or an official API — for data behind a login you agreed to, and in the EU before copying a substantial part of a protected database. Your risk also rises if the site has asked you directly to stop.

Turn any website into a product data table

Every product page is a data source.