Is it legal to use proxies?

In many countries, using a proxy is legal in itself. The law usually considers what you do through the proxy and where you are. Common situations that can create legal risk include using a proxy to commit or hide a crime and continuing to access a website after it has told you to stop.

This page is general information, not legal advice. For advice about a specific situation, ask a lawyer.

What is a proxy?

A proxy is a server that forwards your requests to other servers, so the website you visit usually sees the proxy's IP address instead of yours. People use proxies for privacy, to see how a website looks from another country, and to distribute automated requests across many IP addresses. For the common types, see What are examples of proxies?

  • Committing or hiding a crime. Fraud, unauthorized access and other crimes stay illegal when someone commits them through a proxy.
  • Continuing after a cease-and-desist letter, or bypassing logins and paywalls. Using proxy pools for web scraping is routine. The legal risk increases when a website sends you a cease-and-desist letter, or when you bypass a login or a paywall to reach content that isn't public. After a cease-and-desist letter, switching IP addresses to continue can strengthen a legal claim against you. Get legal advice before you continue.
  • Using proxies in countries that restrict them. Some countries, such as China and Russia, restrict VPN and proxy services. Check the local law before you use a proxy there.

Know the limits of free public proxies

Free public proxies can work for quick tests. For sources, see the best free proxy lists for web scraping. You usually can't tell who operates a free public proxy. Some free proxies change the pages they return, for example by injecting ads. Many proxies on public lists also don't respond at all. Avoid sending passwords, personal data or file downloads through free proxies.

Proxies and web scraping

A proxy changes the IP address a website sees, not the rules that apply to the data you collect. Terms of service, copyright and data protection laws may still apply. Scraping publicly accessible pages without logging in can reduce some legal risks, but it does not automatically make scraping lawful or remove potential contractual obligations.

Personal data needs extra care. Applicable data protection laws may cover personal data even when it is publicly accessible. Where the GDPR applies, you need a lawful basis for collecting and using that data and must meet its other requirements.

The ScrapingBee API handles headless browsers and rotates proxies for you, so you don't have to manage proxies yourself. For harder websites, you can use premium (residential) proxies and choose the proxy country with country_code. When you choose what to scrape, follow the guidance on this page and ScrapingBee's terms and conditions. You can start with 1,000 free API credits.

Related Proxy web scraping questions: