The Short Answer
Not legal advice
This article is general information about how courts and regulators have treated web scraping, current as of November 2026. It is not legal advice, the law differs by country and changes quickly, and the outcome of any dispute depends on its facts. If scraping matters to your business, talk to a lawyer in your jurisdiction.
Scraping publicly available data is generally legal in the United States, and often legal in the EU and UK, but "legal to access" is not the same as "legal to use". The real risk usually comes from four places rather than from scraping itself:
- Contracts. If you created an account and accepted terms that forbid scraping, scraping while logged in can be a breach of contract. This is how LinkedIn ultimately won against hiQ.
- Personal data. In the EU and UK, GDPR applies to personal data even when it is publicly visible. Regulators have fined companies for scraping it.
- Copyright and database rights. Facts are free to use; copying and republishing articles, photos or substantial parts of a protected database is not.
- How you access. Getting around a login, ignoring a cease-and-desist and an IP block, or loading a server hard enough to cause harm all move you from "reading a public page" toward claims such as unauthorized access or trespass to chattels.
| Situation | Typical risk | Why |
|---|---|---|
| Public pages, no login, facts (prices, specs, listings), modest rate | Low | CFAA unlikely after Van Buren and hiQ; facts not copyrightable; no account terms accepted |
| Public pages that include personal data (names, profiles) of people in the EU/UK | Medium to high | GDPR needs a lawful basis, transparency and minimization even for public data |
| Scraping while logged in to an account whose terms forbid it | High | Breach of contract (hiQ 2022), possible unauthorized-access claims |
| Continuing after a cease-and-desist and a block | High | Contract, trespass and, in some US courts, CFAA theories |
| Republishing scraped articles, images or a competitor's database | High | Copyright, EU/UK database right |
US: The CFAA and Van Buren
The Computer Fraud and Abuse Act (CFAA) makes it a crime, and a basis for civil lawsuits, to access a computer "without authorization" or to "exceed authorized access". For years websites argued that breaking their terms of service made any scraping "unauthorized".
In Van Buren v. United States (2021) the Supreme Court rejected the broad reading of "exceeds authorized access". It described the question as whether the "gates" to a part of a system are up or down for you, not whether you used information you were entitled to see for a forbidden purpose. The case was not about scraping, but courts have since applied that reasoning to it: if a page is open to anyone on the internet, there is no gate to break through.
What Van Buren did not settle: whether a website can revoke your authorization individually (for example with a cease-and-desist letter plus an IP block) for otherwise public pages. Before Van Buren, a district court in Craigslist v. 3Taps (2013) said it could. The Ninth Circuit in hiQ (below) said public pages are not covered at all. Courts outside the Ninth Circuit have not all addressed it, which is why ignoring an explicit block is still a bad idea.
hiQ v. LinkedIn: What Actually Happened
hiQ Labs v. LinkedIn is the case most often cited as "scraping is legal". The full history is more useful than the headline, because hiQ won the CFAA argument and still lost the case.
- 2017: LinkedIn sent hiQ a cease-and-desist and blocked it. hiQ, which scraped public LinkedIn profiles for HR analytics, sued and won a preliminary injunction stopping LinkedIn from blocking it.
- 2019: The Ninth Circuit affirmed, saying the CFAA's "without authorization" likely does not apply to data that is publicly available without a login.
- 2021: The Supreme Court sent the case back for reconsideration in light of Van Buren.
- April 2022: The Ninth Circuit reached the same conclusion again. This is the decision people mean when they say hiQ v. LinkedIn made public scraping legal. It was a ruling on a preliminary injunction, not a final judgment, and it is binding only in the Ninth Circuit. (It was not a Supreme Court ruling.)
- November 2022: The district court granted LinkedIn summary judgment on breach of contract: LinkedIn's User Agreement prohibited scraping and fake accounts, and hiQ had breached it, including by using contractors who created fake profiles to access the site while logged in.
- December 2022: The parties settled. A consent judgment required hiQ to pay $500,000, stop scraping LinkedIn and destroy the scraped data and the code and algorithms derived from it.
The lesson: for public pages, the CFAA is a much weaker weapon than it used to be, but the terms you agreed to when you created an account are enforceable. Logged-in scraping, fake accounts and "turkers" turned a winning position into a losing one.
Meta v. Bright Data (2024) and X v. Bright Data
Two 2024 decisions from the Northern District of California pushed in the same direction for logged-off scraping:
- Meta v. Bright Data (January 2024): Meta sued Bright Data for scraping public Facebook and Instagram data. The court granted Bright Data summary judgment on the contract claim, holding that Meta's terms govern people's use of Meta's products as users and did not cover scraping of public data while logged out. Weight was given to the fact that Meta had removed language from its terms in 2009 that bound mere visitors. Meta dropped its remaining claims shortly after. (Analysis.)
- X Corp. v. Bright Data (May 2024): The court dismissed X's contract and related state-law claims over scraping of public posts, reasoning in part that using contract law to control copying of public content the platform does not own conflicts with federal copyright law (Skadden summary). X was allowed to amend; a later ruling reportedly let a narrower trespass claim about server burden proceed.
Both are district court decisions, so they persuade rather than bind other courts, and both turned on the specific terms and facts. Neither says anything good about scraping while logged in. Read together with hiQ, the US picture is: logged-out scraping of public pages is on fairly solid ground; logged-in scraping in breach of terms you accepted is not.
Terms of Service, robots.txt and Server Load
Terms of service
Whether a site's terms bind you depends largely on whether you agreed to them. Clickwrap terms (you clicked "I agree" when signing up) are generally enforceable. Browsewrap terms (a link in the footer you never saw) often are not, unless you had actual notice, and Meta v. Bright Data shows even clickwrap terms may not reach what you do while logged out. A cease-and-desist letter gives you actual notice of the site's position, which strengthens its hand on several theories.
In the EU, the Court of Justice held in Ryanair v. PR Aviation (2015) that a site can restrict use of a database by contract where the database is not protected by copyright or the database right, so terms of use can matter more there, not less.
robots.txt
robots.txt was standardized as RFC 9309 in 2022. The RFC itself says its rules are not a form of access authorization, and US courts have not treated ignoring robots.txt as unlawful on its own. It still matters: it is the clearest evidence of what the site owner wants, it is commonly used in the EU as a machine-readable opt-out from text and data mining under the copyright rules for AI training, and ignoring it looks bad in any dispute. Respect it unless you have a specific reason and permission not to.
Server load
Sending enough requests to slow a site down can support a trespass to chattels claim (the theory used in eBay v. Bidder's Edge back in 2000), independent of whether the data is public. Rate-limit, cache and scrape off-peak.
EU and UK: GDPR Applies to Public Personal Data
The biggest difference between the US and Europe is that in Europe, "publicly available" does not mean "free to collect" when the data is about people. GDPR (and UK GDPR) applies to any personal data: names, usernames, photos, job titles, email addresses, even if they are on a public profile.
- You need a lawful basis, usually legitimate interests, backed by a documented balancing test. The French regulator CNIL published guidance in June 2025 accepting legitimate interests for scraping in AI development only with safeguards such as defining collection criteria in advance, excluding sensitive data and respecting robots.txt. The Dutch regulator (AP) has taken a much stricter line, saying purely commercial interests are not enough.
- You must tell people (Article 14). In 2019 the Polish regulator fined Bisnode roughly PLN 943,000 (about €220,000) for collecting public business-register data on millions of people without informing them. Poland's Supreme Administrative Court later confirmed the duty to inform, although the fine itself did not survive the appeals intact.
- Large-scale scraping of faces or profiles draws the biggest fines. Clearview AI, which scraped billions of public photos, has been fined by several EU regulators, including €30.5 million by the Dutch AP in 2024.
- Minimize and secure. Collect only the fields you need, set retention limits, and be ready for access and erasure requests.
Scraping non-personal data (prices, product specs, weather, company financials) does not trigger GDPR. Elsewhere, Brazil's LGPD, Canada's PIPEDA, Australia's Privacy Act and California's CCPA/CPRA have their own rules on collecting personal information; check them if you scrape people in those places.
Copyright and the EU Database Right
Facts are not copyrightable (in the US since Feist v. Rural Telephone, 1991). Prices, dates, specifications and addresses can be extracted and used. The creative expression around them (articles, reviews, photos, product descriptions) is protected, so republishing scraped content is the clearest legal risk in scraping, attribution or not.
Copying for analysis is on stronger ground: in the US it is often argued as fair use, and the EU has a text and data mining exception, but for commercial mining rights holders can opt out in a machine-readable way, and AI training on scraped content is the subject of active litigation in several countries. See web scraping for AI training and RAG.
The EU (and UK) database right protects databases built with substantial investment, even when the individual entries are facts. Extracting or reusing a substantial part, or repeatedly extracting small parts, can infringe it. In CV-Online Latvia v. Melons (2021) the Court of Justice added that infringement requires a risk to the maker's investment, which is why a search engine that links back to the source can be treated differently from a site that clones a competitor's listings. The US has no equivalent right.
A Practical Checklist
Most legal problems with scraping are avoidable with a few habits:
- Check for an API, feed or export first. If the site offers one, use it; you get cleaner data and clear permission.
- Stay logged out unless you have permission. If you must use an account, read the terms you agreed to. Never use fake accounts.
- Collect facts, not content. Store prices and specs, not full articles and images. Link to the source instead of copying it.
- Treat personal data as regulated. If people in the EU/UK are in your dataset, document a lawful basis, minimize fields, set retention and be able to delete.
- Be gentle. Low concurrency, delays between requests, honour HTTP 429 and Retry-After, cache, and respect robots.txt.
- Stop when asked. If you receive a cease-and-desist or get blocked, pause and get advice before continuing; that is when US contract, trespass and CFAA risks increase.
- Write it down. Keep a short record of what you collect, why, from where and how long you keep it.
Our web scraping best practices guide covers the technical side of polite scraping.
Where tools fit in
No scraping tool, Autonoly included, makes a given scrape legal or illegal; that depends on what you collect, how and what you do with it. If you use Autonoly, you control which sites the browser visits, whether it signs in (only the AI agent in chat can use credentials you provide; saved, scheduled workflows cannot sign in with stored credentials), how often workflows run and where the data goes. Autonoly does not use proxy rotation or residential IPs to disguise traffic.