NEWStandard createTask and in.php APIs. Change the address and you are connected.View API docs
GATESOLVER

Web scraping

Is web scraping legal? The general principles

Scraping is a technique, and its legality depends on what you collect, how you collect it and what you do with it. This page explains the general principles; it is not legal advice, and rules differ by country.

The honest short answer

Collecting publicly available information with automated tools is widely done and is lawful in many situations. It can also break laws or contracts, depending on the data, the method and the use. There is no single yes or no, because several separate bodies of law apply at once: contract law through the site's terms, data protection law for anything about people, intellectual property law for the content itself, and computer misuse law for how you access the system. A project can be fine under one and problematic under another.

This article is general information to help you ask better questions. It is not legal advice. Laws and court decisions differ between countries and change over time, so for a real project, talk to a lawyer qualified where you operate.

Public data versus restricted data

The most important line is whether the information is available to anyone without signing in. Pages that any visitor can open, such as product listings, public prices, published articles and search results, are the usual ground for scraping. Many legal discussions start from the idea that reading what is openly published is not, by itself, unauthorized access.

The picture changes once a login, a paywall or another access control is involved. Getting past a password, using someone else's account, or ignoring an explicit technical block can bring computer misuse laws into play in many countries. Collecting from behind your own login is a contract question at minimum, because you accepted the site's terms to get that login.

Terms of service

Most sites have terms that restrict automated access, copying or commercial reuse. Whether those terms bind you depends on how they were presented and accepted. Terms you clicked through to open an account are generally treated as a contract you agreed to. Terms linked at the bottom of a public page, which you never actively accepted, are on weaker footing in many legal systems, though not powerless.

Practical consequences matter too. Even where a breach of terms is not a crime, a site can block you, close accounts and in some cases sue for breach of contract. Reading the terms before a project is cheap, and it tells you how the site sees automated access.

Where robots.txt fits

robots.txt is a technical convention, not a contract. It expresses the site's wishes for crawlers, and honoring it is a strong sign of good faith. Ignoring it is not automatically illegal, but it can count against you if a dispute arises, and it is simply poor manners.

Personal data

Information that identifies people, such as names, emails, phone numbers, photos and profile details, is regulated in many places regardless of whether it is publicly visible. Under the EU's GDPR and similar laws elsewhere, public availability does not remove the need for a lawful basis, purpose limits, minimization and respect for individuals' rights. Building a database of people from public profiles can create obligations you did not plan for.

The simplest safe design is not to collect personal data at all unless the project truly needs it. Price monitoring, stock tracking and market research usually do not. If you do need it, decide the legal basis first, collect the minimum, store it securely, and know how you will answer deletion requests.

Copyright and database rights

Facts are generally not protected by copyright: a price, a date, a product size. Creative expression is: article text, photographs, reviews written by users, original descriptions. Copying facts to analyze them is very different from republishing someone's articles or images.

Some jurisdictions, notably in Europe, also protect databases themselves when substantial investment went into building them. Extracting a large part of such a database can be restricted even if each individual fact is free. The safer pattern is to collect what you need for analysis, transform it into your own results, and avoid republishing the source content in bulk.

How you collect matters

Even lawful collection can become a problem if it harms the site. Sending so many requests that the service slows down for real visitors can lead to claims of interference, and in extreme cases looks like an attack. Pace requests, cache responses, and run heavy jobs when traffic is low. These habits are part of the legal picture, not only the technical one.

CAPTCHAs and other checks

A CAPTCHA is a signal that the site wants to filter automated traffic, so it deserves thought. Solving one to read public pages for monitoring, research or accessibility is common practice, and it is the use GateSolver is built for. Solving them to create fake accounts, take over accounts, stuff credentials, send spam or reach data you have no right to see is fraud or abuse, and our terms forbid it. The is CAPTCHA solving legal answer covers this narrower question.

Questions to ask before a project

  • Is all the data I need visible without signing in?
  • Have I read the site's terms and robots.txt, and do they say anything about automated access?
  • Does the data include anything about identifiable people? If so, do I truly need it, and on what basis?
  • Will I republish content, or only use facts and derived results?
  • Is there an official API or data license that would make the question moot?
  • Is my request rate gentle enough that the site would not notice a performance impact?
  • Could I explain this project comfortably to the site owner, a customer and a regulator?

If the last answer is no, that is usually the most reliable signal of all.

Patterns that tend to be lower risk

Projects that collect public, non-personal facts at a polite pace, honor robots.txt, use the results for analysis rather than republication, and stop when asked are on the most comfortable ground. Price and availability monitoring, search ranking checks, academic research on public content and testing your own sites fall here. The comparison with official sources is in web scraping vs official APIs.

Patterns that tend to be higher risk

Collecting personal profiles at scale, scraping behind logins against the terms, copying and republishing creative content, ignoring explicit requests to stop, and loading a site heavily enough to disrupt it all carry real legal and practical risk. So does any project whose purpose is deception, such as fake reviews or impersonation.

Keep records

Whatever you decide, write it down: what you collect, why, from where, at what rate, and how you handle personal data. Good records show good faith, help you respond quickly if a site contacts you, and make it easy to adjust when rules change. They also make the conversation with a lawyer shorter and cheaper when you need one.

Common questions

Is scraping public pages legal everywhere?

No single rule applies everywhere. Many countries treat reading public pages as lawful in principle, but contract, data protection and copyright rules can still apply.

Does a site's terms of service make scraping illegal?

Breaking terms is usually a contract matter rather than a crime, and enforceability depends on how the terms were accepted. It can still lead to blocks or lawsuits.

Can I scrape personal data if it is public?

Public visibility does not remove data protection duties in many places. Avoid collecting it unless you need it and have a lawful basis.

Is solving a CAPTCHA illegal?

Solving one to read public pages for monitoring or accessibility is common. Using it for fraud, account takeover or spam is abuse, and that is what makes it unlawful.

Should I talk to a lawyer before scraping?

For a commercial project, especially one involving personal data or large-scale copying, yes. A short consultation is cheaper than a dispute.

Keep reading