Most legal trouble with scraping does not come from reading a web page. It comes from the circumstances around it: getting past a login or a block, breaking terms you agreed to, republishing protected content, collecting personal data without a lawful basis, or putting a heavy load on someone else's servers. The sections below follow the questions worth settling, with qualified counsel, before a collection project starts.
1. How you access the data matters most
In the United States, the Computer Fraud and Abuse Act prohibits accessing a computer without authorization or exceeding authorized access. In Van Buren v. United States (2021), the Supreme Court read exceeding authorized access narrowly, as entering parts of a system that are off limits to you rather than misusing information you were entitled to reach. In hiQ Labs v. LinkedIn, the Ninth Circuit concluded in 2022 that collecting data from pages anyone can view likely does not violate the CFAA. The picture changes when collection goes behind a login, uses someone else's credentials, or defeats a technical barrier, and the United Kingdom's Computer Misuse Act draws a similar line around unauthorized access.
Public pages
Pages anyone can load without an account are the lowest-risk access path, although the contract, copyright, and privacy questions below still apply.
Logins and accounts
Collecting behind a login usually means you passed an authentication gate and agreed to the site's terms. Treat it as a separate legal question, not a variation of public scraping.
Blocks and challenges
Getting around IP blocks, CAPTCHAs, or other technical measures bears directly on whether access was authorized, and it can raise the legal risk considerably. Take advice before relying on it.
Primary sources
- Van Buren v. United States (2021)The Supreme Court's opinion on the meaning of exceeding authorized access under the CFAA.
- hiQ Labs v. LinkedIn (9th Cir. 2022)The Ninth Circuit's opinion on the CFAA and data on publicly accessible web pages.
2. Website terms and contracts
A site's terms of service can prohibit automated collection. Whether those terms bind you depends on whether you accepted them, for example by creating an account or clicking to agree, and on the law of the place where the dispute is heard. The hiQ dispute shows the pattern: the computer-misuse argument went the scraper's way, but the case later turned against it on breach of contract and ended in a settlement. Courts have also distinguished collection while logged out from collection by an account holder who agreed to the terms. Read the terms of every source, prefer official APIs and data licenses where they exist, and record what you decided and why.
Accepted terms versus displayed terms
Terms you agreed to when signing up are far easier to enforce than a link in a footer, although both deserve a careful read.
Official access first
Where a site offers an API, a bulk export, or a data license, that route is usually safer, more stable, and cheaper to maintain.
Take objections seriously
A cease-and-desist letter, a block, or a complaint changes the risk. Pause collection from that source, review, and document the response.
3. Copyright, database rights, and what you republish
Facts are generally not protected by copyright, but the way they are expressed is: articles, photos, reviews, and product descriptions belong to their authors. In the European Union, the Database Directive gives the maker of a database built with substantial investment a separate right against extracting or reusing all or a substantial part of it, and the Court of Justice has held that a site may restrict use of a database by contract even where neither copyright nor that right applies. The EU text and data mining exception allows mining of lawfully accessed content unless the rightsholder has reserved that use, for example in machine-readable form.
Collect facts, not expression
Prices, availability, specifications, and other factual fields are lower risk than copying articles, images, or reviews wholesale.
Avoid substantial extraction
In the EU, systematically copying most of a database can infringe the database right even when each record is a plain fact.
Respect reservations
Honor machine-readable reservations of text and data mining rights and robots.txt rules, especially when data could feed AI training.
Primary sources
- Directive 96/9/EC on the legal protection of databasesThe EU law that creates the database right against substantial extraction and reuse.
- Directive (EU) 2019/790 on copyright in the Digital Single MarketArticle 4 sets out the text and data mining exception and the rightsholder's reservation.
4. Personal data: public does not mean free to use
If the data identifies people, privacy law applies even when the information is public. Under the GDPR and the UK GDPR you need a lawful basis for collecting and using personal data, you must limit it to a defined purpose and to the minimum needed, and you generally must tell people that you hold their data. In 2023, twelve data protection authorities issued a joint statement that publicly accessible personal information is still subject to data protection and privacy laws in most jurisdictions, and that sites should protect it from unlawful scraping. European regulators have fined a facial recognition company that built its database by scraping images from the web. In the United States, obligations vary by state, and California's exclusion for publicly available information is narrower than it sounds.
Minimize
Collect only the personal fields the purpose needs, such as a business role, and leave everything else out.
Assess before building
For large-scale or sensitive collection, complete a data protection impact assessment and a legitimate-interest balancing test first.
Plan retention and rights
Decide how long data is kept, how people are informed, and how access, objection, and deletion requests are handled.
Primary sources
- General Data Protection Regulation (EU) 2016/679Lawful basis, purpose limitation, minimization, and transparency duties for personal data.
- Joint statement on data scraping (August 2023)Twelve data protection authorities on why publicly accessible personal data remains protected.
5. Polite collection reduces risk and breakage
How a collector behaves affects both the legal picture and the relationship with the site. Heavy crawling that burdens a service has supported claims such as trespass to chattels in US courts. Robots.txt, standardized in 2022 as RFC 9309, states plainly that its rules are not a form of access authorization, but ignoring them signals disregard for the owner's stated wishes and can weigh against you in a dispute. A well-behaved collector identifies itself, respects robots.txt and rate limits, caches what it already has, and backs off when a site struggles.
Identify the client
Use an honest user agent with a contact address, so a site owner can reach you instead of simply blocking you.
Throttle and cache
Limit request rates, back off on errors, and avoid fetching pages again when they have not changed.
Keep an audit trail
Log sources, times, and decisions so you can show what was collected, how, and for which purpose.
Primary sources
- RFC 9309: Robots Exclusion ProtocolThe 2022 standard for robots.txt, including its note that the rules are not access authorization.
6. A pre-project checklist
Before any collection project starts, write down the answers to six questions. What is the business purpose, and could licensed data or an API serve it? Which fields will be collected, and do any of them identify people? Is every source public, or does any sit behind a login? What do each source's terms say, and were they accepted? Will anything be republished, and is it factual or creative? Which countries' laws apply to the sources, to the people in the data, and to your business? Review the answers with qualified counsel for your markets, and keep them with the project.
Purpose and alternatives
State the purpose in one sentence and check for official APIs, licensed datasets, or partnerships before building a collector.
Data inventory
List every field, flag personal data, and drop anything the purpose does not need.
Sign-off and an owner
Record the legal review and the decisions, and name the person who can pause collection when something changes.
Frequently asked questions
Is it legal to scrape publicly available data?
Often, but not automatically. Public, non-personal data collected without defeating access controls is the lowest-risk case. Website terms, copyright, database rights, and privacy law can still apply.
Does ignoring robots.txt make scraping illegal?
Robots.txt is a standard, not a law or an access control. Ignoring it is still a bad sign: it can weigh against you in a dispute, and in the EU a machine-readable reservation can withdraw content from the text and data mining exception.
Can I scrape personal data from public profiles?
Only with a lawful basis and proper safeguards where laws such as the GDPR apply. Public availability does not remove those duties, and regulators have acted against large-scale scraping of personal data.
Is collecting behind a login riskier than public scraping?
Usually. Logging in generally means accepting the site's terms and passing an authentication gate, so contract and computer-misuse questions move to the center. Take legal advice on the specific sources before collecting from authenticated areas.
Related implementation paths
- service
Data Scraping and Lead Research
See how Blaron designs compliant collection, verification, and monitoring for public data.
Open page - guide
How to Automate Lead Generation
Plan sources, enrichment, and outreach around lawful data and clear ownership.
Open page - solution
Lead Enrichment Services
Add only the fields a decision needs, with provenance, retention, and update rules.
Open page
