A proxy scraper is one of two quite different things. Most often it's a tool that hunts the web for free, publicly listed proxies, collects their addresses and tests which ones still work. The same words are also used for the opposite setup: a web scraper that sends its requests through proxies. This page covers both, because people who search for one usually end up needing to understand the other. If you're building a scraper, the short version is that a list of scraped free proxies is the least reliable thing you can put under it.
How a proxy scraper works
A typical free-proxy scraper runs in a loop:
- Collect. It downloads public proxy lists, forum posts and pages that publish open proxies, and pulls out anything that looks like an IP address and port.
- Clean. It removes duplicates and malformed entries, and often merges several sources into one list.
- Test. It tries to connect through each proxy, usually to a test page, and records whether it worked and how long it took.
- Classify. Many tools sort the survivors by protocol (HTTP, HTTPS-capable, SOCKS4, SOCKS5), by country and by anonymity level, based on which headers reach the test page.
- Publish. The working entries go into a text file or an API, and the loop starts again, because the list goes stale quickly.
Here's what a checker typically records for each entry:
| Field | What it tells you |
|---|---|
| Responds or not | Whether the proxy accepted a connection within the timeout |
| Protocol | HTTP only, HTTPS through CONNECT, or SOCKS |
| Response time | How long a test request took, on that run only |
| Exit IP and country | Where requests appear to come from |
| Anonymity level | Whether your real IP or proxy headers reached the test page |
| Last checked | How fresh the result is, which matters more than anything else on the list |
The tools themselves are simple. Writing one is a common programming exercise, because it touches every part of scraping: requests, parsing, concurrency, timeouts and deduplication. If you build one to learn, collect only from sources that allow it, and don't route real traffic through what you find. The code is the easy part. The problem is what it finds.
Why scraped proxies are a bad bet
- Nobody knows who runs them. An open proxy can be a server someone forgot to lock down, a device that malware turned into a proxy, or a machine set up on purpose to watch what passes through it. Some are honeypots built to collect traffic.
- Using them may not be lawful. Connecting through a device that its owner never meant to share can count as unauthorized use in some places, whatever the list says.
- The operator controls your traffic. Plain HTTP pages can be read, logged and rewritten, including injected ads or scripts. HTTPS protects the content but still exposes where you connect.
- They die fast. Public lists go stale quickly as servers get fixed, switched off or overloaded, so your scraper spends its time failing over instead of collecting data.
- Their IPs are worn out. Open proxies are used by many people at once, some of them abusive, so their addresses tend to be blocked or challenged everywhere.
- There's no login. Without authentication, anyone can pile onto the same proxy, and you can't control or predict its load.
- Nobody answers for them. There's no support, no refund and no one to report a problem to.
For a quick experiment with nothing sensitive attached, a free list might be fine. For anything you rely on, it's a liability.
Testing a proxy before you trust it
Whatever the source, test a proxy before you send real work through it. A quick check with curl shows whether it responds, what status it returns and how long it takes:
curl -x http://HOST:PORT -m 10 -s -o /dev/null -w "%{http_code} %{time_total}s\n" https://example.com
For an authenticated proxy, put the login in the URL as http://USERNAME:PASSWORD@HOST:PORT. The proxy checker goes further and shows the exit IP, its location and the headers that reach the site, which tells you whether the proxy leaks your real address. If you plan to rely on an IP for weeks, run it through the IP reputation check as well, since an address on common blocklists will struggle on many sites no matter how fast it is. Never send passwords, cookies or personal data through a proxy you haven't vetted.
Proxies for your scraper: what to use instead
If what you really need is a reliable way for your own scraper to send requests from many IPs, skip the list and use authenticated proxies from a provider you can identify:
- A rotating gateway replaces the whole list. You connect to one host and port, and each request can leave from a different IP. Our residential proxies work this way, with per-request rotation, sticky sessions and country targeting.
- Fixed IPs suit tolerant sites. Datacenter or ISP proxies give you a known set of addresses for 30 days that your code can cycle through.
- Formats are no longer a puzzle. If your tool expects
host:port:user:passor a full URL, the proxy formatter converts between the common layouts.
Our page on web scraping covers the wider workflow, from choosing targets to handling retries.
Moving a scraper from free lists to a gateway
- Remove the code that downloads, tests and refreshes proxy lists. You won't need it.
- Replace the list with a single proxy URL from your dashboard, using the format
http://USERNAME:PASSWORD@HOST:PORT. - Lower your retry count. With a working gateway, most retries become unnecessary, and fewer retries means less traffic.
- Add per-site rate limits, so your scraper stays polite even though it now has many IPs behind it.
- Measure a few days of real traffic, then pick a package that fits.
Residential traffic starts at $1.00/GB and datacenter IPs at $0.50/IP for 30 days on the largest packages. The pricing page lists every option, and there's no subscription, so you can start small and switch your scraper over one job at a time.