Scraping a website is not automatically illegal, but it’s also not automatically legal. The answer depends on what data you’re collecting, how you’re collecting it, and whether the site owner has restricted access.
This matters more in 2026 than ever before. Courts have been actively reshaping the rules around web scraping since 2022, and federal prosecutors have used the Computer Fraud and Abuse Act to bring criminal charges against scrapers who crossed the wrong lines.
Most people assume that if data is publicly visible, it’s free to take. That’s not always true. Copyright law, privacy regulations, and terms of service agreements can all complicate things fast.
This article breaks down every major legal angle: federal statutes, landmark court cases, state laws, GDPR, CCPA, and practical steps for scraping without landing in legal trouble.
Is It Legal to Scrape a Website
Scraping a website is legal in some circumstances and illegal in others, depending on the type of data, the method used, and whether the website owner has restricted access. There is no single federal law that says “web scraping is illegal,” but several laws can apply.
The legal analysis typically centers on three questions. Did you bypass any access controls to get the data? Does the data include copyrighted content or personal information? Did the website’s terms of service prohibit scraping?
If you scrape freely available public data without bypassing any barriers, and the data is factual rather than creative, you’re on fairly solid legal ground. The moment you start logging into accounts, bypassing CAPTCHAs, or ignoring clear legal restrictions, the risk profile changes sharply.
| Scraping Scenario | Legal Risk Level | Primary Legal Concern |
|---|---|---|
| Scraping public, factual data | Low | ToS violation possible |
| Scraping copyrighted creative content | High | 17 U.S.C. 102 copyright infringement |
| Bypassing login/authentication | Very High | 18 U.S.C. 1030 CFAA violation |
| Scraping personal data (names, emails) | High | CCPA, GDPR, privacy laws |
| Scraping after receiving cease-and-desist | Extreme | CFAA criminal charges possible |
| Scraping via publicly documented API | Very Low | ToS dependent |
The bottom line: scraping exists in legal gray territory, and the specific facts of every situation determine which side of the line you’re on.
Is Web Scraping Legal
Web scraping is legal in the United States when it involves publicly accessible data and doesn’t violate specific statutes, court orders, or binding contractual restrictions. It is not legal when it involves unauthorized access, copyright infringement, or scraping of protected personal data.
The U.S. has no law that specifically addresses “web scraping” by name. Instead, several existing laws get applied: the Computer Fraud and Abuse Act, copyright law, contract law (through terms of service), and state computer crime statutes.
Courts have generally ruled that scraping public data, the kind anyone can see without logging in, does not constitute “unauthorized access” under the CFAA. That’s a meaningful protection for researchers, journalists, and data analysts.
What courts have not protected is scraping that involves bypassing technical access controls, harvesting personal data at scale, or continuing to scrape after a website operator has explicitly revoked permission.
- Public data scraping: generally legal under current case law
- Login-required data scraping: high legal risk, CFAA exposure
- Personal data harvesting at scale: triggers CCPA and GDPR exposure
- Scraping after explicit prohibition: strongest legal risk category
Think of it like looking through a store window versus breaking in through the back door. Watching what’s visible from the street is fine. Bypassing the lock is a different matter entirely.
Is Scraping Public Data Legal
Scraping publicly available data is generally legal in the United States as of 2026. The 9th Circuit Court of Appeals confirmed this principle in its landmark hiQ v. LinkedIn ruling, finding that scraping data accessible to the general public does not violate the Computer Fraud and Abuse Act.
“Public data” means content that any user can view without creating an account, logging in, or paying a fee. Think of product prices on a retail site, news headlines, publicly posted job listings, or sports scores.
The legal logic is straightforward. If a website makes data freely available to anyone with a browser, the owner has effectively chosen to make it public. Scraping it doesn’t constitute unauthorized access because there’s no access restriction to breach.
However, even public data scraping can run into legal issues. If the content is protected by copyright (original articles, photographs, software code), scraping and reproducing it can trigger infringement claims under 17 U.S.C. 102. Public availability doesn’t strip away copyright protection.

Key legal threshold: Copyright protection applies to creative works, not raw facts. Scraping a list of product prices (facts) is different from scraping a collection of original product reviews (creative expression).
- Public factual data: scraping is generally legal
- Publicly posted copyrighted content: scraping may infringe copyright
- Publicly posted personal data (emails, phone numbers): privacy laws apply
- Publicly available data protected by database rights: varies by jurisdiction
Key Takeaway: Scraping publicly accessible factual data is legal under current U.S. case law, but copyright and privacy laws can still apply to public content depending on what type of data it is.
Computer Fraud and Abuse Act Web Scraping
The Computer Fraud and Abuse Act (18 U.S.C. 1030) is the primary federal law prosecutors and civil plaintiffs use in web scraping cases. It makes it a crime to access a computer “without authorization” or to “exceed authorized access.”
The CFAA was originally passed in 1986 to combat hacking. Applying it to web scraping is more recent and more contested. The key legal debate: does scraping a public website count as “unauthorized access” if the site is open to everyone?
The Supreme Court weighed in on CFAA interpretation in Van Buren v. United States (2021). The Court ruled 6-3 that “exceeds authorized access” means accessing data in parts of a computer system you’re not permitted to access, not just using authorized access for improper purposes. That narrowed the CFAA’s reach for certain scraping activities.
| CFAA Violation Type | Charge Level | Maximum Prison Term | Maximum Fine |
|---|---|---|---|
| Basic unauthorized access | Misdemeanor | 1 year | $100,000 |
| Unauthorized access for financial gain | Felony | 5 years | $250,000 |
| Unauthorized access causing damage | Felony | 10 years | $250,000 |
| Repeat CFAA offenses | Felony | 20 years | $250,000 |
| Access related to espionage or national security | Felony | Life imprisonment | Varies |
The critical distinction for scrapers: accessing data on a system you have no permission to access at all (breaking through a login wall) is clearly covered by the CFAA. Scraping data from a page any anonymous visitor can see is much less clearly covered, per Van Buren and hiQ.
Can You Go to Jail for Web Scraping
Yes, you can go to jail for web scraping in specific circumstances. The most direct path to criminal charges is scraping systems you’re not authorized to access, which can be prosecuted under the Computer Fraud and Abuse Act (18 U.S.C. 1030).
Several real cases have ended in prosecution. In 2011, Aaron Swartz was indicted under the CFAA for downloading millions of academic articles from JSTOR through MIT’s network, even though he was an authorized MIT network user. The case became a landmark in the debate over CFAA overreach. Swartz faced up to 35 years in federal prison before his death in 2013.
Another example: Andrew Auernheimer (weev) was convicted in 2012 for scraping AT&T’s website and collecting 114,000 iPad user email addresses. A federal appeals court later overturned the conviction on jurisdictional grounds, not because scraping was legal.
- Scraping login-protected systems without authorization: criminal CFAA exposure
- Scraping causing measurable damage to servers: criminal CFAA exposure
- Scraping personal data and using it for fraud: multiple criminal statutes apply
- Scraping public data for personal research: criminal charges are very unlikely
Prison sentences for CFAA violations range from 1 year (basic misdemeanor) to 10 years per count for felony charges involving damage or financial gain. Repeat offenses can reach 20 years.
The realistic risk for most people: if you’re scraping public data responsibly, criminal prosecution is extremely unlikely. The cases that led to charges all involved unauthorized system access or large-scale data theft.
hiQ v. LinkedIn Ruling Explained
The hiQ v. LinkedIn case is the most important court ruling on web scraping legality in U.S. history. The 9th Circuit Court of Appeals ruled in 2022 that scraping publicly accessible data does not violate the Computer Fraud and Abuse Act.
Here’s what happened: hiQ Labs was a data analytics company that scraped public LinkedIn profiles to analyze employee data for businesses. LinkedIn sent hiQ a cease-and-desist letter and used technical measures to block the scraping. hiQ sued, arguing LinkedIn had no right to block access to public data.
The 9th Circuit sided with hiQ. The court held that the CFAA’s prohibition on “unauthorized access” does not apply to data that is accessible to anyone on the internet without a password. LinkedIn profiles visible to the general public are, by definition, not restricted.
| Case Timeline | Event | Legal Significance |
|---|---|---|
| 2017 | hiQ files lawsuit, wins preliminary injunction | First major ruling favoring public data scraping |
| 2019 | 9th Circuit affirms preliminary injunction | CFAA doesn’t cover public data scraping |
| 2021 | Supreme Court vacates and remands (post-Van Buren) | Sent back for reconsideration |
| 2022 | 9th Circuit reaffirms: public scraping not CFAA violation | Strongest legal protection to date for scrapers |
| 2023 | Case settled | hiQ ruling stands as precedent in 9th Circuit |
The hiQ ruling is binding in the 9th Circuit (California, Oregon, Washington, and other western states). Other circuits have not all adopted the same standard, so legal risk can vary by jurisdiction.
Key Takeaway: The hiQ v. LinkedIn decision is the strongest legal protection for web scraping in U.S. history, but it only covers public data and is only binding in the 9th Circuit.
Web Scraping Terms of Service Violation
Violating a website’s terms of service (ToS) by scraping is not automatically a crime, but it can lead to civil liability, account termination, and in some cases, grounds for a CFAA lawsuit. The legal picture here is genuinely mixed.
Courts have historically disagreed on whether a ToS violation converts scraping into “unauthorized access” under the CFAA. The Van Buren v. United States Supreme Court ruling in 2021 made it harder to use ToS violations alone as the basis for CFAA criminal charges. The Court suggested that violating a ToS is a contractual breach, not a federal crime.
However, ToS violations can still trigger civil lawsuits for breach of contract. If you agreed to a website’s ToS and then scraped in violation of it, the site operator can sue you in civil court. The damages in such suits vary widely, from nominal amounts to significant judgments if the scraping caused demonstrable harm to the business.
- ToS violation alone is generally not a federal crime post-Van Buren (2021)
- ToS violation can be the basis for a civil breach of contract lawsuit
- Some ToS terms explicitly prohibit scraping with specific penalty language
- Courts may still combine ToS violations with other legal theories to find liability
The practical reality: most large websites (Google, Facebook, Amazon, LinkedIn) have explicit anti-scraping language in their ToS. Violating these terms means you’re operating against the expressed wishes of the site owner, which adds legal risk even if it’s not automatically criminal.
Robots.txt Legal Status
A website’s robots.txt file is not a legally binding document, but ignoring it can complicate your legal position significantly. It does not have the force of law on its own.
Robots.txt is a standard text file that website operators use to signal to automated bots which pages they’d prefer not to be crawled. Complying with it is a widely accepted technical courtesy, not a legal requirement.
The case Sandvig v. Barr (D.C. Circuit, 2022) addressed whether violating a website’s ToS or technical restrictions (like robots.txt) constitutes a CFAA violation. The court found that violating automated rules alone doesn’t automatically equal criminal unauthorized access.
That said, ignoring robots.txt has legal implications in at least two ways. First, it can be evidence of willfulness in a copyright or ToS lawsuit, showing the scraper deliberately disregarded the site owner’s restrictions. Second, some courts have treated systematic disregard of robots.txt as part of a broader “unauthorized access” argument alongside other factors.
- Robots.txt has no direct legal enforcement power on its own.
- Ignoring it can be used as evidence of bad faith in civil litigation.
- Major search engines (Google, Bing) voluntarily respect robots.txt as industry practice.
- Courts have not established robots.txt as a legal barrier equivalent to a login wall.
Think of robots.txt like a “No Soliciting” sign on a door. It’s not a locked gate. But ignoring it openly is the kind of thing that looks bad in front of a judge.
Web Scraping Copyright Law
Scraping copyrighted content and reproducing or republishing it can constitute copyright infringement under 17 U.S.C. 102 of the U.S. Copyright Act. Copyright protects original creative works, not raw facts.
The legal distinction is important. A database of stock prices contains facts. No one owns the price of a stock. But a collection of original market analysis articles, product reviews, or photographs is protected by copyright. Scraping and republishing those without permission is infringement.
Courts apply the “originality” threshold from Feist Publications v. Rural Telephone Service (1991). The Supreme Court held in that case that a mere listing of facts, even if it required effort to compile, does not receive copyright protection. This is called the “sweat of the brow” doctrine, and U.S. courts have rejected it.
| Content Type | Copyright Protected? | Scraping Risk Level |
|---|---|---|
| Raw factual data (prices, dates, names) | No | Low |
| Original articles and blog posts | Yes | High |
| Photographs and images | Yes | High |
| Software source code | Yes | High |
| Database structure and selection | Potentially | Medium |
| User-generated reviews | Yes (by author) | Medium-High |
| Government public records | Generally No | Low |
| Sports scores and statistics | No | Low |
The Digital Millennium Copyright Act (DMCA) adds another layer. If you bypass a technical protection measure (like a paywall or CAPTCHA) to access copyrighted content, the DMCA’s anti-circumvention provisions (17 U.S.C. 1201) may apply independently of the copyright violation itself.
Key Takeaway: Copyright law makes scraping and reproducing original creative content legally risky, even when the content is publicly accessible. Facts are not copyrightable, but the creative expression surrounding them usually is.
Is Web Scraping Legal for Personal Use
Web scraping for personal use carries lower legal risk than commercial scraping, but it is not automatically exempt from legal liability. The purpose of scraping matters, but it’s not the only factor courts consider.
Personal use scraping means collecting data for your own research, learning, or private reference, with no intent to publish, sell, or redistribute the data. This dramatically reduces the harm to website operators, which reduces their legal incentive and ability to sue you.
Copyright law includes a “fair use” defense under 17 U.S.C. 107. Courts weigh four factors: the purpose and character of the use (commercial vs. educational), the nature of the copyrighted work, the amount copied, and the effect on the market for the original work. Personal, non-commercial use often, but not always, qualifies as fair use.
- Personal research scraping: lower risk, fair use defense often available
- Personal use scraping of login-protected systems: still potentially a CFAA violation
- Scraping to build a personal database you later monetize: risk increases significantly
- Scraping personal data about other people for personal use: CCPA and privacy laws still apply
The scale of personal use also matters. Scraping 100 product pages for a personal price comparison is different from running an automated bot that hits a server 50,000 times per day. The latter can be characterized as a denial-of-service-style attack, even if that’s not your intent.
Is Scraping Social Media Legal
Scraping social media platforms is one of the highest-risk forms of web scraping in 2026. Major platforms like LinkedIn, Facebook, X (formerly Twitter), and Instagram all have explicit anti-scraping terms of service, aggressive technical defenses, and legal teams that actively pursue scrapers.
The hiQ v. LinkedIn case (discussed earlier) gave some protection to scraping publicly visible social media profiles. But that ruling applies specifically to public data in the 9th Circuit. Scraping private profiles, friend lists, private messages, or data only accessible after logging in remains firmly illegal under the CFAA.
Facebook (Meta) has been particularly aggressive. In 2020, Facebook sued two Ukrainian companies for scraping 178 million user profiles. The case settled with judgments totaling $9 billion, though collection from those defendants was uncertain. In 2021, Facebook won a $500,000 judgment against a scraper in a California court.
| Platform | Public Scraping Risk | Private/Login Scraping Risk | Notable Action Taken |
|---|---|---|---|
| Yes, hiQ ruling (9th Circuit) | Very High, CFAA applies | Sued hiQ, won against others | |
| Facebook/Meta | High, aggressive enforcement | Very High, active prosecution | $9 billion judgment (2020) |
| High, ToS prohibits it | Very High | Cease-and-desist letters | |
| X/Twitter | Medium (API changes 2023) | High | API access restricted 2023 |
| TikTok | Medium | High | Cease-and-desist actions |
Even scraping public social media posts can trigger platform-specific violations. X (Twitter) drastically restricted its API in 2023, making large-scale data collection far more legally and technically constrained.
Unauthorized Access Web Scraping Penalty
The penalties for unauthorized access through web scraping can be both criminal and civil. The Computer Fraud and Abuse Act (18 U.S.C. 1030) is the main criminal statute, and it carries serious consequences.
For a basic CFAA violation (unauthorized access without additional aggravating factors), a first offense is a misdemeanor carrying up to one year in federal prison and fines up to $100,000. Most scraping-related cases that proceed criminally are charged as felonies because they involve financial gain or damage to systems.
Felony CFAA charges for scraping carry up to 5 years in prison per count for unauthorized access with intent to defraud, and up to 10 years per count when the scraping causes measurable damage to computer systems. Repeat offenses double those maximums.
Civil penalties are separate and often more likely to actually materialize. Website operators can sue for:
- Actual damages (lost revenue, server costs, investigation expenses)
- Injunctive relief (court orders to stop scraping)
- Statutory damages under the DMCA (17 U.S.C. 1203) of up to $25,000 per violation when technical protection measures are bypassed
| Violation | Criminal or Civil | Penalty Range |
|---|---|---|
| Basic unauthorized access (CFAA) | Criminal | Up to 1 year, $100,000 fine |
| Unauthorized access for fraud (CFAA) | Criminal Felony | Up to 5 years, $250,000 fine |
| Access causing damage (CFAA) | Criminal Felony | Up to 10 years, $250,000 fine |
| DMCA anti-circumvention violation | Civil/Criminal | Up to $25,000 civil; up to 5 years criminal |
| Copyright infringement (scraping content) | Civil | Up to $150,000 per work (willful) |
| State computer crime violations | Varies | Varies by state |
Key Takeaway: Criminal penalties for scraping-related CFAA violations can reach 10 years in prison per count, and civil copyright damages can hit $150,000 per infringed work, making unauthorized scraping a serious financial and legal risk.
GDPR and Web Scraping
The General Data Protection Regulation (GDPR) applies to web scraping when the collected data includes personal information about individuals in the European Union, regardless of where the scraper is located. If you scrape EU residents’ data and you’re based in the U.S., GDPR still applies to you.
GDPR defines personal data broadly: any information that can identify a living person. Names, email addresses, IP addresses, social media profiles, phone numbers, location data, all of it counts.
Scraping personal data under GDPR requires a lawful basis. The most commonly cited bases are consent (the person agreed to data collection), legitimate interests (you have a valid reason that outweighs the individual’s rights), or legal obligation. Scraping strangers’ personal data from the web rarely meets any of these bases easily.
| GDPR Violation Category | Maximum Penalty |
|---|---|
| Minor violations (technical requirements) | Up to 10 million euros or 2% of global annual revenue |
| Serious violations (processing without lawful basis) | Up to 20 million euros or 4% of global annual revenue |
| Scraping children’s data without consent | Top-tier penalty category |
In 2022, the Italian data protection authority (Garante) fined an AI company 20 million euros for scraping Italian citizens’ personal data from the web without a lawful basis. In 2024, several EU regulators issued guidance specifically calling out web scraping of personal data as a common GDPR violation.
American businesses that scrape personal data from EU websites or target EU users need to treat GDPR as directly applicable to their activities. The fines are among the largest in any area of data law.
CCPA and Web Scraping
The California Consumer Privacy Act (CCPA), now enhanced by the California Privacy Rights Act (CPRA) effective 2023, applies to web scraping that involves collecting personal information about California residents. If you scrape data that includes personal information about California residents and you meet certain revenue or data volume thresholds, CCPA applies.
CCPA gives California residents rights over their personal data: the right to know what’s collected, the right to delete it, and the right to opt out of its sale. If you scrape personal data about Californians and use or sell it, you become a “business” under CCPA and must comply with all of those obligations.
Violations of the CCPA are enforced by the California Privacy Protection Agency (CPPA) and the California Attorney General. Penalties are:
- $2,500 per unintentional violation
- $7,500 per intentional violation or violation involving a minor’s data
There is no private right of action for most CCPA violations (individuals can’t sue you directly), except in the case of data breaches. But the CPPA has broad investigation authority and can impose penalties per violation, meaning large-scale scraping of California residents’ data could generate enormous aggregate penalties.
California Penal Code Section 502 is a separate state computer crime law that can apply to unauthorized scraping of computer systems in California. Penalties under Section 502 range from misdemeanor charges to felony charges with up to three years in state prison.
- CCPA: $2,500 per unintentional violation; $7,500 per intentional violation
- Cal. Penal Code 502: up to 3 years in state prison for felony unauthorized access
- Texas and New York have their own computer crime statutes with similar structures
- Multi-state scraping operations face cumulative exposure across all relevant states
Web Scraping vs API Use Legality
Using a website’s official API is the most legally safe method of collecting data from a web service. It is fundamentally different from scraping in legal terms, and most legal risks associated with scraping simply don’t apply when you use an API as intended.
An API (Application Programming Interface) is an officially provided data access channel. When a company publishes an API, it is expressly authorizing data access within defined parameters. There’s no unauthorized access issue. There’s no CFAA risk. The terms of service for the API define exactly what you can and cannot do with the data.
Scraping, by contrast, involves automated collection of data from a website’s front end without the site’s express invitation. Even when the data is public, the method bypasses the controlled access channel the operator intended.
| Factor | Official API Use | Web Scraping |
|---|---|---|
| Authorization | Express authorization from operator | Implied (public data) or disputed |
| CFAA risk | Very low, access is permitted | Medium to high depending on method |
| ToS compliance | Governed by API ToS | Potential ToS violation |
| Data volume | Rate limits enforced | Can be unlimited (and problematic) |
| Personal data rules | GDPR/CCPA still apply | GDPR/CCPA apply |
| Legal stability | High | Variable, case-law dependent |
Some companies restrict or eliminate their APIs to prevent bulk data access (X/Twitter did this in 2023), effectively forcing researchers to choose between scraping and going without data. That policy change created a significant legal gray zone for academic and journalistic researchers who had relied on the Twitter API.
When an API is available, use it. The legal protection that comes with using authorized channels is worth far more than whatever marginal data advantage scraping might provide.
Legal Ways to Scrape a Website
Scraping a website legally in 2026 requires following a clear set of principles. None of them are technically complex, but skipping them can turn a routine data collection task into a CFAA case or a copyright lawsuit.
Step 1: Check for an official API first. If the site offers an API, use it. This is the cleanest legal path and eliminates most risk.
Step 2: Read the terms of service carefully. Look specifically for anti-scraping language, data use restrictions, and any clauses about automated access. If the ToS prohibits scraping, you’re accepting legal risk by proceeding.
Step 3: Respect robots.txt. Even though it’s not legally binding, honoring robots.txt demonstrates good faith. Courts and opposing counsel take note of whether scrapers respected or ignored it.
Step 4: Only collect what you need. Limit the data you collect to the minimum necessary for your purpose. Mass collection of personal data triggers CCPA and GDPR exposure.
Step 5: Don’t bypass technical controls. Never circumvent CAPTCHAs, login walls, paywalls, or IP blocking measures. Doing so moves you from gray area into clear CFAA territory.
Step 6: Don’t copy and republish copyrighted content. Collecting data for analysis is different from reproducing articles, photos, or creative content.
- Use official APIs when available.
- Read and comply with the site’s terms of service.
- Respect robots.txt directives.
- Limit collection to factual, non-personal data where possible.
- Never bypass authentication or access controls.
- Store and use scraped data responsibly and securely.
- Get legal review before scraping at commercial scale.
If you’re scraping at commercial scale, get a legal review of your specific use case. The law here is genuinely evolving, and what’s settled in the 9th Circuit may not be the rule in your jurisdiction.
Frequently Asked Questions
Is it illegal to scrape a website without permission?
Scraping a website without permission is not automatically illegal, but it depends on the method and data type.
Scraping publicly accessible data without bypassing any technical controls is generally legal under current U.S. case law.
Scraping login-protected systems, bypassing security measures, or violating terms of service can trigger CFAA charges or civil liability.
The hiQ v. LinkedIn ruling (9th Circuit, 2022) is the strongest legal protection for public data scraping to date.
Can you get sued for web scraping?
Yes, you can be sued for web scraping in both civil and criminal contexts.
Civil lawsuits can be brought for copyright infringement, breach of contract (ToS violation), or trespass to chattels.
Criminal charges under the Computer Fraud and Abuse Act are possible when unauthorized access is involved.
Facebook, LinkedIn, and other major platforms have all filed and won lawsuits against scrapers in recent years.
Does robots.txt make scraping illegal?
No, robots.txt does not make scraping illegal on its own.
It is a technical standard, not a law, and courts have not treated it as a legal access barrier.
Ignoring robots.txt can be used as evidence of bad faith in civil litigation, which can hurt your case.
Respecting robots.txt is considered best practice and reduces legal risk, even if it isn’t required by law.
Is scraping publicly available data protected by law?
Publicly available factual data is not protected by copyright, and scraping it is generally legal under U.S. law.
The Supreme Court’s Feist Publications ruling (1991) confirmed that raw facts don’t receive copyright protection.
The hiQ v. LinkedIn ruling (2022) confirmed that scraping public data doesn’t violate the Computer Fraud and Abuse Act.
Personal data, even when publicly posted, is protected by CCPA and GDPR regardless of its public accessibility.
What is the difference between legal and illegal web scraping?
Legal scraping targets publicly accessible, non-personal factual data without bypassing any technical controls or violating binding terms.
Illegal scraping involves unauthorized access to restricted systems, bypassing authentication, reproducing copyrighted content, or harvesting personal data without a lawful basis.
The method of access matters as much as the data itself; scraping the same page can be legal or illegal depending on whether you broke through a security measure to reach it.
Receiving a cease-and-desist and continuing to scrape afterward is one of the most reliable ways to convert a borderline situation into a clear CFAA violation.
The legal rules around web scraping are genuinely evolving, and 2026 is not the final word. Courts are still working through the implications of the Van Buren and hiQ rulings, and new privacy laws are being enacted regularly.
Bookmark this article and revisit it as the law continues to develop. Knowing exactly where the legal lines are is the best protection any scraper, researcher, or developer can have.







