More unique IPs than any network on the planet, in the world's largest residential pool. That's Shifter.More unique IPs than any network, in the world's largest pool. That's Shifter.

See the numbers

Building an Async Proxy Checker in Python, and What Public Proxy Lists Actually Return

A tested async proxy checker in Python, run against 7,210 proxies from five public lists. 8.5% answered, 1% worked over HTTPS, and most leaked the caller's IP.

Data Science · Updated November 26, 2026 · 9 min read
listed7,210answered616HTTPS73HTTPS, no leak12
Of 7,210 listed proxies, amber 12 worked over HTTPS without exposing the caller.
Knowledge
On this page
  1. What a proxy checker should test
  2. The checker
  3. What we tested
  4. The results
  5. What this means
  6. Extending the checker
  7. How we tested
  8. The bottom line
  9. Sources and references

Search for “free proxy list” and you will find files with thousands of addresses, refreshed every few minutes. We have written before about what paid proxies buy over free ones; this time we measured. How many of them work, and what do they do with your traffic? We built an asynchronous proxy checker in Python, the full code is below, and ran it against every proxy in five popular public lists. The short answer: very few work, fewer still work over HTTPS, and most of the ones that work tell the website who you are.

What a proxy checker should test

“Does it connect?” is the least interesting question. A useful checker answers six:

TestHowWhy it matters
HTTPFetch an echo service through the proxyThe basic check
HTTPSFetch an HTTPS page, which needs the CONNECT methodMost of the web is HTTPS, and many proxies cannot tunnel it
AnonymityLook for your own IP in what the target receivedA transparent proxy passes your IP on
ContentFetch a known page and compare it with the originalProxies can return stale, altered or replaced pages
SpeedTime each requestFree proxies are often slow
ExitLook up the address the target sawWhere the traffic really comes from

Our guide to transparent, anonymous and elite proxies explains the anonymity levels in detail, including why the labels apply only to plain HTTP.

The checker

This is the checker we ran, trimmed slightly for length. It uses asyncio and aiohttp, with a semaphore to cap how many checks run at once:

import asyncio, hashlib, json, sys, time
import aiohttp

ECHO_URL = "http://httpbin.org/get"          # shows the IP and headers the target received
HTTPS_URL = "https://ip-info.com/json"       # proves CONNECT works, and shows the exit's location
PAGE_URL = "http://example.com/"             # a static page to detect modified content
LEAK_HEADERS = ("X-Forwarded-For", "X-Real-Ip", "Via", "Forwarded", "X-Proxy-Id", "Client-Ip")

async def fetch(session, url, proxy, timeout=10):
    t = time.monotonic()
    async with session.get(url, proxy=proxy, timeout=aiohttp.ClientTimeout(total=timeout)) as r:
        body = await r.read()
        return r.status, body, time.monotonic() - t

async def check(session, sem, addr, my_ip, page_hash):
    proxy = f"http://{addr}"
    res = {"proxy": addr, "http": False}
    async with sem:
        try:
            status, body, secs = await fetch(session, ECHO_URL, proxy)
            data = json.loads(body)
            res.update(http=status == 200, latency=round(secs, 2),
                       exit_ip=data["origin"].split(",")[-1].strip())  # last hop, never yours
            headers = data.get("headers", {})
            seen = " ".join([data["origin"]] + list(headers.values()))
            res["anonymity"] = ("transparent" if my_ip in seen
                                else "anonymous" if any(h in headers for h in LEAK_HEADERS)
                                else "elite")
        except Exception as e:
            res["error"] = type(e).__name__
            return res
        try:
            status, body, _ = await fetch(session, HTTPS_URL, proxy)
            info = json.loads(body)
            res.update(https=status == 200, country=info.get("country"),
                       conn=info.get("connection_type"))
        except Exception:
            res["https"] = False
        try:
            status, body, _ = await fetch(session, PAGE_URL, proxy)
            res["modified"] = hashlib.sha256(body).hexdigest() != page_hash
        except Exception:
            res["modified"] = None
    return res

async def main(infile, outfile, concurrency=300):
    proxies = sorted({l.strip() for l in open(infile) if ":" in l})
    async with aiohttp.ClientSession() as session:
        _, body, _ = await fetch(session, ECHO_URL, None)
        my_ip = json.loads(body)["origin"]                     # your own address, to detect leaks
        _, page, _ = await fetch(session, PAGE_URL, None)
        page_hash = hashlib.sha256(page).hexdigest()
        sem = asyncio.Semaphore(concurrency)
        results = await asyncio.gather(*(check(session, sem, p, my_ip, page_hash) for p in proxies))
    json.dump(results, open(outfile, "w"))

asyncio.run(main(sys.argv[1], sys.argv[2]))

Three practical notes. Raise the open-file limit first, for example with ulimit -n 8192, because macOS allows only 256 open files by default and each check holds a socket. Keep the timeout short: 10 seconds is generous for a proxy you would actually use. And never store your own IP in the results; the script only compares against it.

What we tested

On 26 November 2026 we downloaded five public HTTP proxy lists and merged them into 7,210 unique addresses:

ListProxies listedAnswered over HTTPWorked over HTTPS
proxifly/free-proxy-list5,245422 (8.0%)55 (1.0%)
TheSpeedX/PROXY-List2,357214 (9.1%)20 (0.8%)
monosans/proxy-list1,186120 (10.1%)25 (2.1%)
ProxyScrape free list771111 (14.4%)17 (2.2%)
clarketm/proxy-list4001 (0.25%)0
All, unique7,210616 (8.5%)73 (1.0%)

The whole run, at 300 checks at a time, took about five minutes.

The results

MeasureResult
Proxies listed, unique7,210
Answered over HTTP616 (8.5%)
Worked over HTTPS73 (1.0%)
Passed our IP to the website381 of 616 (62%)
Worked over HTTPS without passing our IP over HTTP12 (0.17%)
Median response time, working proxies5.6 s
Still working an hour later132/616 (21%), HTTPS 5/73

Most addresses do not answer

Of the 6,594 proxies that failed, most simply timed out. Others refused the connection, dropped it, or answered with something that was not a proxy response at all, such as an error page in place of our echo service. Appearing on several lists did not help: of the 2,114 proxies listed in two or more lists, 9.9% answered, about the same as the rest.

Most working proxies are transparent

381 of the 616 working proxies, 62%, passed our own IP address on to the website, usually in an X-Forwarded-For header. Another 7 announced themselves as proxies without revealing our IP, and 228 forwarded nothing. Of the 73 that also handled HTTPS, 61 were transparent over HTTP, which leaves 12 proxies out of 7,210 that worked over both protocols without exposing us.

Some return a different page

We fetched a small, fixed test page through each proxy. 149 proxies returned something, and 24 of those returned something different from the original. When we looked closer, the differences were stale cached copies of the page, some carrying a Last-Modified date from 2019, plus block pages, empty responses and a directory listing. We found no injected scripts in this sample. That is not a guarantee: over plain HTTP, any proxy in the path can change what you receive, and you cannot see who operates these machines.

Where the HTTPS exits are

The 73 HTTPS-capable proxies exited mostly from Indonesia, followed by the Philippines, Venezuela, Brazil and India. Our IP lookup classified most of them as business connections, with only 7 residential and 3 mobile.

What this means

A public list is a list of addresses that worked for someone, at some point. Expect fewer than one in ten to answer, about one in a hundred to handle HTTPS, and most of those to reveal you. Treat any free proxy as untrusted: do not send logins, cookies or personal data through it, and assume the operator can see and change plain HTTP traffic. Our post on why a proxy is not an anonymity tool covers the privacy side.

The checker itself is useful well beyond free lists. Run it against your own pool to catch dead, slow or misbehaving exits before they reach production, as our guide to monitoring proxy health at scale describes. For paid residential proxies, test the same things: HTTPS support, anonymity, exit location and how long a sticky session holds. Our free IP Info tool is the lookup we used for exits.

Extending the checker

The version above is deliberately small. A few changes make it more useful for real work:

  • Test against your real target. An echo service tells you a proxy works, not that it can load the site you care about. Add a request to a page on your target and check for the content you expect, not just a 200 status.
  • Add SOCKS proxies. aiohttp handles HTTP proxies natively; the aiohttp-socks package adds a connector for SOCKS4 and SOCKS5.
  • Retry once before giving up. A single timeout is often a slow moment, not a dead proxy. One retry with a slightly longer timeout separates the two.
  • Record over time. Run the checker on a schedule and keep the history. A proxy that answers at noon and not at midnight is not one to build on.
  • Be a polite client. Keep concurrency per target reasonable, and point checks at services built for them, not at sites you do not control.

How we tested

On 26 November 2026 we downloaded the HTTP proxy files of the five lists above, extracted every IP and port, and removed duplicates. We ran the checker from a single machine on a consumer connection with Python 3.11 and aiohttp, 300 concurrent checks and a 10-second timeout per request. HTTP anonymity was judged with httpbin.org’s echo of the origin and headers; HTTPS and exit details came from ip-info.com; content was compared with a direct fetch of example.com. About an hour later we re-tested the 616 proxies that had answered. Our own IP address was compared inside the script and never stored.

The bottom line

Of 7,210 proxies on five public lists, 616 answered, 73 handled HTTPS and just 12 did both without revealing the caller. The rest timed out, refused, returned the wrong page or passed our IP straight to the website. An async checker makes testing thousands of proxies a five-minute job, and it is worth running on any pool you rely on, free or paid.

Sources and references

Frequently asked questions

How do you check if a proxy works in Python?

Send a request through it to an echo service with a short timeout and check the response. With aiohttp, pass the proxy to session.get(), run many checks at once with asyncio.gather and a semaphore, and test both a plain HTTP URL and an HTTPS URL, because many proxies support only one.

How many free proxies from public lists actually work?

Very few. Of 7,210 unique proxies from five popular public lists on 26 November 2026, 616 answered over HTTP, 8.5%, and only 73, 1.0%, worked over HTTPS. Only 12 worked over HTTPS without also passing our real IP address on to the website over plain HTTP.

Do free proxies hide your IP address?

Most did not. Of the 616 proxies that answered, 381, or 62%, passed our own IP address on to the website in request headers such as X-Forwarded-For. A proxy checker should test for this by comparing what the target sees with your own address.

Do free proxies change the content of pages?

Some returned something other than the page we asked for. Of 149 proxies that returned our test page, 24 sent back a different version: mostly stale cached copies years out of date, plus error and block pages. We found no injected scripts in that sample, but over plain HTTP nothing stops a proxy from changing what you receive.

Ready to get started?

Try Shifter's residential proxies, 205M+ IPs, 195+ countries, from $0.10/GB.

Get Started