"Is web scraping legal?" has no one-word answer, and anyone who gives you one is guessing. This post helps you split the question into the parts a lawyer would separate, so you know what to check in your own project and what to bring to counsel.
It is written by an API vendor for engineers. It describes questions, not outcomes. The statutes and decisions named below are entry points for your own reading, not answers: each belongs to one jurisdiction, each was decided on its own facts, and each can be narrowed or distinguished by a later court. Read the not legal advice section before you rely on any of it.
Why there is no single answer
Scraping is a technique: your code requests pages and extracts data. The law does not regulate the technique as such. It regulates things around it: how you got access, what you agreed to, what the data is, and what you do with it afterwards. Different rules apply to each, they come from different bodies of law, and the answer can differ by country, by the kind of data and by the site.
A useful habit is to keep four questions apart, because "yes" to one says nothing about the others.
Question 1: What did you agree to?
Most sites publish terms of service. Whether those terms bind you depends on how you came to be subject to them. An account you registered by accepting terms is a different situation from reading a public page with no login. Whether a site's terms bind a visitor who never signed in is a matter the law treats differently in different places, and you should not assume either way.
Contract is also its own layer. In Ryanair Ltd v PR Aviation BV (Court of Justice of the EU, C-30/14, 2015), the court held that the Database Directive does not preclude a database maker from contractually limiting what users may do with its data even where the database enjoys neither copyright nor the sui generis database right. The case says nothing about whether such a clause actually binds a visitor who never accepted it — that is exactly the question to ask for your facts and your jurisdiction.
What you can do as an engineer: find the terms, read the sections on automated access, data collection and reuse, and write down what you found and when. If you scrape behind a login, you usually accepted terms at registration. Read them.
Question 2: Is the access authorised?
Many countries have computer-misuse laws that make unauthorised access to a computer system an offence or a civil wrong. In the United States, the Computer Fraud and Abuse Act, 18 U.S.C. § 1030, punishes intentionally accessing a "protected computer" "without authorization or exceeding authorized access". Van Buren v. United States (593 U.S. 374, 2021) read the "exceeds authorized access" clause narrowly: someone permitted to retrieve certain data does not violate the statute by misusing it. The separate "without authorization" clause is what scraping disputes argue about. In hiQ Labs, Inc. v. LinkedIn Corp. (9th Circuit, 18 April 2022), decided on remand from Van Buren, the court affirmed a preliminary injunction because hiQ had raised serious questions whether the CFAA's "without authorization" concept reaches a bot refused access to data on servers that are otherwise open to the public — a preliminary assessment under the injunction standard, not a final merits ruling, and the wider dispute continued on other claims. In Meta Platforms, Inc. v. Bright Data Ltd. (N.D. Cal., No. 3:23-cv-00077), Meta pursued a breach-of-contract theory over automated collection of publicly visible Facebook data; the court granted Bright Data summary judgment in January 2024. Both cases are US law on specific terms; neither binds any other court, and later decisions keep adjusting the line. Other jurisdictions have their own equivalents — the UK's Computer Misuse Act 1990, for example, criminalises unauthorised access to a computer — each interpreted by its own courts. Whether any of this applies to you depends on your jurisdiction and your facts, and nothing in this post is legal advice.
The engineering signals are worth knowing even though they do not settle it:
- Is the data behind a login, a paywall or an explicit access control?
- Has the operator told you, by a technical block, a cease-and-desist letter or a message, that your access is not allowed? Continuing after that is a different position from not having been told.
- Are you getting around a technical barrier, or only reading what the site serves to every visitor?
US copyright law adds a separate hook: 17 U.S.C. § 1201 (the DMCA's anti-circumvention provision) addresses circumventing, and trafficking in tools that circumvent, technological measures protecting copyrighted works. Whether a captcha or bot check qualifies as such a measure, and whether solving one matters, depends on the court and the facts, and we do not claim an answer. Treat the statute as a reason to ask, not as a rule.
Question 3: What is the data?
Even when access is fine, the content may be protected. Text, images and databases can carry copyright or, in the EU and UK, the sui generis database right: Directive 96/9/EC, Article 7 gives a database maker that has made a substantial investment in obtaining, verifying or presenting its contents a right to prevent extraction or re-utilisation of the whole or a substantial part of those contents. Facts alone are treated differently from creative expression, and the line varies by jurisdiction. Collecting data is one act; republishing it, training a model on it or reselling it are others, and each can raise its own issue.
Practical consequence: decide up front what you will keep and what you will do with it. "We store prices to compute a trend" and "we republish product descriptions" are not the same activity.
Question 4: Is any of it personal data?
Privacy law such as the EU's GDPR (Regulation (EU) 2016/679) concerns personal data, and the fact that something is publicly visible does not by itself take it out of scope: Article 6 requires a lawful basis — consent, contract, legal obligation, vital interests, public task or legitimate interests — for processing it. The European Data Protection Board's Opinion 28/2024 (adopted 17 December 2024) treats web scraping as a way of collecting personal data and sets out how a legitimate-interest assessment balances that collection against people's rights; it is written about AI models rather than a price crawler, but it is a current, concrete example of how EU regulators reason about scraped personal data. Names, emails, profile details and anything that can identify a person can bring obligations: a lawful basis for processing, limits on what you keep, rights for the people concerned.
Engineers can do a lot here without a lawyer. Do not collect personal fields you do not need. Drop or hash them early. Keep a record of what you hold and why.
Where captcha solving fits
A captcha is one of the controls a site operator may put in place to limit automated traffic. Whether solving it changes your position under any of the four questions is not something we can answer for you, and we are not going to guess.
What we can say concerns SurSolver itself. Its Terms of Service state that the service is intended for lawful purposes and that you are solely responsible for obtaining any permission required from the owner or operator of the website you apply an output to. The API returns a technical result for the task you submit. It does not tell you whether you are allowed to use it.
A practical checklist
None of this makes a project lawful. It makes your decisions visible and easier to review.
- Name the data source and the purpose in one sentence each.
- Find the site's terms and read the automated-access and reuse clauses. Save a copy with the date.
- Check whether any official API, data feed or licence exists for what you want. An agreed route replaces the whole question for that source.
- Note whether the data is behind a login, paywall or access control.
- Look at
robots.txt. It states the operator's crawling preferences. Whether it has legal effect depends on jurisdiction and context, but ignoring it is a poor position to explain later. - List the fields you collect and mark any that are personal data. Remove the ones you do not need.
- Limit your own load: low request rates, backoff on errors, no hammering. Stopping getting blocked covers the mechanics.
- Decide what you will do with the data and write it down.
- If the operator contacts you, stop and take advice before you continue.
Keep a dated data-source record alongside your project: the site and purpose, the terms you checked, the access method, the fields you collect, and the planned reuse. Record unresolved questions and who reviewed them. A completed record documents the review; it does not itself grant permission to scrape.
This is not legal advice
This post is general information written by engineers. It is not legal advice, it creates no lawyer-client relationship, and it may be wrong or out of date for your country and your facts. Laws and court decisions differ between jurisdictions and change over time.
Ask qualified counsel when any of these apply:
- You scrape behind a login or after receiving any complaint or notice.
- The data includes personal information or you operate in or target the EU or UK.
- You plan to republish, resell or train a model on what you collect.
- You are building a product, not a one-off script.
- The site is a competitor or the operator has signalled that automated access is unwelcome.
Bring the data-source record and any unresolved questions to counsel so they can review the access and reuse you actually plan.
If your review clears a project
If your legal review clears a project, solving captchas in web scraping with Python walks through the createTask and getTaskResult flow. The Task lifecycle guide lists the statuses and what each means. If you are still deciding whether to use a solving service at all, how to choose a CAPTCHA solving service gives you a method.