Is it legal to use proxies for web scraping?

Proxy use alone does not decide whether scraping is lawful. Check access rights, site terms, privacy law and data reuse before you collect.

Using a proxy is not what makes a scraping project legal or illegal. None of the laws discussed below prohibits routing requests through a proxy as such; each one turns on what you access, how you get past any restriction, whose data you collect and what you do with it afterwards. A proxy changes the route of a request, not your right to make it.

This page is a general overview, not legal advice, and the answer depends on jurisdiction. It covers United States computer-access law and the EU General Data Protection Regulation because those are the sources it links. The statutes, court opinions and regulator statements cited here were read on 15 October 2026, and the 3Taps order and the report of its settlement on 30 October 2026. Get advice from a lawyer in the relevant jurisdiction before collecting restricted content, processing sensitive personal data or continuing after a legal objection.

Four collection scenarios, four different questions

The same scraper raises different legal questions depending on how the content is reached. Classify each source before you think about exit addresses or rotation.

Collection scenarioWhat supports proceedingWhat still needs review
Public pages without authenticationNo login restriction on the requested contentTerms, privacy, copyright, database rights and server impact
Authenticated pages accessed with your accountValid credentials for the relevant accountWhether your authorization and contract cover automated collection
A documented API or licensed feedAn explicit access mechanism or agreementPermitted fields, reuse, retention and redistribution
Access after an explicit denial or restrictionNo automatic permission follows from changing IPsThe restriction, applicable law and whether collection must stop

Permission to retrieve a page and permission to use what is on it are separate. Being able to load a page does not, on its own, let you republish its text, build profiles of the people it describes or resell the dataset.

United States: the CFAA and hiQ v. LinkedIn

The Computer Fraud and Abuse Act makes it an offence to intentionally access a computer "without authorization" or to "exceed authorized access" and thereby obtain information from a protected computer (18 U.S.C. § 1030(a)(2)). It is primarily a criminal statute, but § 1030(g) also lets a person who suffers damage or loss bring a civil action, subject to conditions in the statute and a two-year limit.

In Van Buren v. United States (2021), the Supreme Court read "exceeds authorized access" narrowly. Someone exceeds authorized access when they enter parts of a computer, such as files, folders or databases, that are off-limits to them, not when they misuse information they were entitled to reach. The Court described the test as a "gates-up-or-down inquiry". In footnote 8 it expressly left open whether those gates are only technological limits or can also be limits written into contracts or policies.

The scraping case most often cited is hiQ Labs, Inc. v. LinkedIn Corp., decided by the Ninth Circuit on 18 April 2022 after the Supreme Court sent it back for reconsideration in light of Van Buren. hiQ scraped public LinkedIn profiles. LinkedIn sent a cease-and-desist letter, citing the CFAA among other laws, and said it had put technical measures in place to block hiQ. hiQ sued. The court affirmed a preliminary injunction that stopped LinkedIn from denying hiQ access to public profiles, and wrote: "It is likely that when a computer network generally permits public access to its data, a user's accessing that publicly available data will not constitute access without authorization under the CFAA."

The limits of that ruling matter more than the headline:

  • It is a preliminary-injunction decision. The court found that hiQ had raised "serious questions" about the CFAA, which is a lower bar than a final judgment on the merits.
  • It binds one circuit. The Ninth Circuit covers California and several other western states. Courts elsewhere are not bound by it.
  • It concerns one statute. The opinion itself says scraping targets "are not without resort, even if the CFAA does not apply", and lists trespass to chattels, copyright infringement, misappropriation, unjust enrichment, conversion, breach of contract and breach of privacy as possible claims.
  • Login-protected areas are different. A footnote states that even servers hosting public websites can contain areas that require authorization, and accessing those without authorization would violate the CFAA.

For anyone running proxies, the most useful passage is the court's contrast with Facebook v. Power Ventures. After a cease-and-desist letter, Power Ventures kept circumventing IP blocks to reach password-protected Facebook profiles, and the Ninth Circuit had held that this was access "without authorization". The same opinion describes Nosal II, where a former employee used current employees' login credentials, as plainly unauthorized. So the two facts that pushed earlier cases over the line were credentials the scraper was not entitled to use and continued access to gated content after an explicit revocation.

In practice, record three facts for every source: whether the content requires a login, whose credentials the job uses, and whether the operator has told you to stop. Those are the facts a CFAA analysis starts from.

When the restriction arrives mid-project

An IP block, account suspension or cease-and-desist letter is a legal event as well as a technical one. hiQ went to court after its letter and won a preliminary injunction covering public profiles (the case still ended in a December 2022 consent judgment against hiQ, after the district court ruled that its scraping and its fake accounts breached LinkedIn's user agreement); Power Ventures kept going after its letter, behind a password wall, and was held liable. The difference between those two was the kind of content, not the fact of rotating addresses. That does not make rotating around a block safe on public pages. In Craigslist Inc. v. 3Taps Inc., Craigslist alleged that 3Taps kept scraping its publicly available listings after a cease-and-desist letter, using different IP addresses and proxy servers to get past an IP block. Ruling on a motion to dismiss, which takes the complaint's allegations as true, a federal district court in California held in its order of 16 August 2013 that continuing to pull data after the site revoked permission in that way was access "without authorization" under the CFAA, and let the claim go forward. That was not a finding of liability after trial: the case settled in 2015 and no appeals court reviewed the ruling, so it binds no other court. hiQ points the other way on similar facts, a letter plus technical blocking of public pages, without discussing 3Taps, and courts outside the Ninth Circuit can read the CFAA differently again. Preserve the notice, pause the affected job and have the responsible owner and counsel decide before resuming. Switching to a new exit IP does not answer the objection.

Public personal data is still personal data

In August 2023, data protection authorities from twelve jurisdictions, including the UK Information Commissioner's Office and the Office of the Privacy Commissioner of Canada, issued a joint statement on data scraping. Its central point: "Personal information that is publicly accessible is still subject to data protection and privacy laws in most jurisdictions."

Where the GDPR applies, the Regulation's text on EUR-Lex sets out three provisions that bear directly on scraping:

  • Article 6(1) says processing is lawful "only if and to the extent that" at least one listed basis applies. Scrapers usually look at point (f), legitimate interests, which applies "except where such interests are overridden by the interests or fundamental rights and freedoms of the data subject". That is a balancing test you have to carry out and document, not an exemption for public data.
  • Article 5(1) sets principles including purpose limitation (collect for "specified, explicit and legitimate purposes"), data minimisation ("limited to what is necessary") and storage limitation (keep identifiable data no longer than necessary).
  • Article 14 applies when personal data was not obtained from the person it describes, which is the normal case for scraping. The controller must tell people who it is, why it is processing their data, the legal basis, and the source, including whether that source was publicly accessible. The deadline is a reasonable period and at the latest one month after obtaining the data. Article 14(5)(b) lifts the duty where informing people would be impossible or involve disproportionate effort, but the controller must then take other appropriate measures, including making the information publicly available.

These answer different questions. A lawful basis does not satisfy the transparency duty, and a privacy notice does not create a lawful basis.

Turn them into collection rules. Write the purpose down before you define fields: if the job is product availability analysis, reviewer names and profile histories need their own justification, so drop them at collection time instead of storing them by default. Set a retention period for every dataset and include copies and downstream exports in it, since deleting a row from the primary database does not remove it from files already delivered to a client.

Website terms and robots.txt

Terms of service are a contract question. Whether a site's terms bind you depends on how they were presented and accepted and on the law that governs them, and Van Buren left open whether contractual limits can count as "gates" under the CFAA. The terms-of-service guide covers how to read those clauses and record what a site permits; this page does not repeat it.

robots.txt is a different instrument. RFC 9309, which standardizes the Robots Exclusion Protocol, says plainly: "These rules are not a form of access authorization." Honoring robots.txt is good crawler behavior and worth logging, but an allowed path is not a license to copy content and does not waive privacy or copyright obligations.

What changes the answer from one project to the next

Approval for one source does not carry over to another, even on a site owned by the same company. Review these factors per source:

  • Jurisdiction: computer-access rules, privacy law and database protections differ between countries.
  • Access controls: public pages, account-only pages and content behind technical restrictions raise different authorization questions.
  • Contracts: site terms and negotiated agreements can restrict automation, storage or redistribution.
  • Personal data: names, contact details and other information about identifiable people bring privacy obligations separate from access permission.
  • Content rights: text, photographs and database contents need a reuse analysis, not just a retrieval decision.
  • Collection behavior: request volume, disruption to the service and conduct after an objection all affect how the operation is judged.

Put the decision in the job, not only in a document

A scraping specification should carry its permission decisions next to its selectors, so a developer can see the approved source and purpose without digging through chat history:

  1. Purpose and recipients. The business question, who receives the results and whether they stay internal or become a customer-facing dataset.
  2. Approved sources. Domains, page types and whether authentication is involved. Discovery must not silently widen the scope.
  3. Data classes. Product facts, personal data, copyrighted material and database contents, each with its own reuse and retention rule.
  4. Operating limits. Concurrency, delays, retry caps and the conditions that pause collection.
  5. Owner and review triggers. A named accountable person, plus the events that reopen the review: a new login wall, new fields, a new use or a notice from the operator.

Status codes are how most of those stop conditions show up in a running job. Under RFC 9110, 401 means the request lacks valid authentication credentials and 403 means the server understood the request and refuses to fulfil it. RFC 6585 defines 429 as rate limiting and allows a Retry-After header saying how long to wait. None of them is a legal ruling, but repeated 401s and 403s are exactly the signals that should stop a job rather than trigger a fresh exit. Before deploying, test that a run of denials actually pauses collection instead of cycling through new addresses.

Choose proxy infrastructure after permission is clear

Node4 is a proxy provider for developers and data teams, not a substitute for scraping authorization. Its dedicated and shared datacenter products, plus rotating datacenter, use owned IP blocks in the United States, Italy and Spain. Its residential product uses upstream-supplied addresses across 170+ countries, not residential addresses owned by the provider.

Once a source is approved, the infrastructure question is technical: whether you need requests from a particular country, how much concurrency the approved limits allow, and whether the target's rate limits suit a static address or a rotating pool. The rotating proxies for web scraping guide covers that configuration.

Ask any provider how traffic is routed, what account and request records it keeps and what data-protection terms apply. A residential or rotating exit changes the address a site sees. It does not guarantee anonymity, does not create immunity and does not move responsibility for the collection onto the network provider.