We use Google Analytics and PostHog to see which pages bring in customers and where visitors get stuck. Until you agree both run without cookies — they count the pages you open and what you click, but cannot recognise you across visits. Agreeing lets them use cookies, so we can tell repeat visitors apart, lets PostHog record a replay of your visit, with anything you type hidden, and loads OpenAI’s measurement pixel, which shows us whether a visit came from one of our ads in ChatGPT. Nothing is sent to OpenAI until you agree. Either way we never build advertising profiles or target ads. Privacy Policy

15% off your first purchase with code WELCOME15, up to 25 GB.

See pricing

Guide · Proxy basics

How to test a proxy: does it work, how fast is it, where is it, and does it leak?

To test a proxy, run six checks in order: it accepts your login (HTTP CONNECT or SOCKS5), it exits on the IP and rotation you expect, that IP sits in the right country and network, it is fast enough measured as a median and p95 over many fresh connections, it leaks nothing (proxy headers, DNS lookups, WebRTC), and it succeeds against the site you actually collect from. The free proxy checker covers the first five against a fixed test endpoint in one run; the curl and Python commands below do the same from your own machine, and only you can run step six.

Reviewed 19 Nov 2026

The short answer

  • Test in order: a failed login makes every later number meaningless, and the error code tells you which step broke.
  • One request is an anecdote. Run 10 or more fresh connections and read the median and p95, plus the success rate.
  • Split the time: curl's -w gives DNS, connect, TLS and first byte separately, so you can tell a slow proxy hop from a slow exit.
  • Header leaks (Via, X-Forwarded-For, Forwarded) only happen on requests the proxy can read; inside an ordinary HTTPS (CONNECT) tunnel it cannot add them, so test over plain HTTP.
  • Use socks5h://, not socks5://, when the hostname should be resolved at the proxy, and keep browser WebRTC in mind.
  • The last test is the target itself: status codes, block pages and success rate on the pages you will really fetch.

The proxy test checklist in six steps

Each step answers one question, and each has a free browser tool and a command-line equivalent. The browser tools run from ARC's test servers against a fixed ARC endpoint, so they work for any provider's proxies and say nothing about your target site; the commands run from your own machine, which is the path your jobs will take.

StepQuestionFree toolFrom your machine
1. Reachability and loginDoes the proxy accept the connection and the credentials?Proxy testercurl -x http://… and curl -x socks5h://…
2. Exit IP and rotationWhich IP does the internet see, and does it change when it should?Proxy tester (samples A, B, C)Repeat an IP-echo request; compare rotating and sticky usernames
3. Location and networkRight country? Residential, mobile or hosting network?Proxy location checkerIP lookup with ?format=json
4. SpeedHow long does a new connection take, and how many Mbps?Proxy speed testcurl -w timings; the median/p95 script below
5. LeaksDo headers, DNS lookups or WebRTC give away the client?Proxy tester header verdict; what is my IP as a baselineHeader echo over http://; socks5h; browser policy
6. Target successDo your real pages come back, unblocked?None: only you can test your targetThe same script, pointed at your target

To run the checker from code, for example as a health check in CI, the proxy tester API returns the same result as JSON. Proxy lists in another format? The proxy format converter rewrites ip:port:user:pass into URLs for curl and requests first.

Step 1: does the proxy work? An HTTP and SOCKS5 proxy check

Start with the cheapest question: does anything answer on the host and port, and does it accept your username and password? An HTTP proxy authenticates with the Proxy-Authorization header and answers 407 when the login is missing or wrong; for an https:// URL the client first sends CONNECT host:443 and only then talks TLS through the tunnel. A SOCKS5 proxy negotiates a method first (RFC 1928) and checks the username and password in a separate exchange (RFC 1929).

In our local lab, a missing login came back as 407, a wrong one as curl's CONNECT tunnel failed, response 407 and as ProxyError in Python requests, and a wrong SOCKS5 password as curl: (97) User was rejected by the SOCKS5 server. Same root cause, three spellings; the 407 and CONNECT tunnel failed and SOCKS5 errors guides decode each one.

  • In the browser: paste the proxy into the proxy checker with protocol on Auto. It tries HTTP CONNECT first, then SOCKS5, and shows which one worked; a socks5:// or socks5h:// prefix forces SOCKS5.
  • A list: paste up to 5,000 lines; ping mode makes one connection per proxy, at far less than 1 MB each, and sorts working from dead, fastest first.
  • From the shell: test both protocols explicitly, because many providers use different ports for each. ARC's rotating gateway takes HTTP and SOCKS5 on the same port with the same credentials.

If the connection never gets as far as a 407, the problem is the host, the port or a firewall, not the password: see proxy connection failed. The differences between the two protocols themselves are in HTTP vs SOCKS5 proxies.

Steps 2 and 3: exit IP, rotation and location

Request an IP-echo URL through the proxy and you get the exit IP, the address a website sees. Repeat it on fresh connections: with a rotating username, each new connection can get a different exit IP; with a sticky session handle (_session- in ARC usernames) you should see the same address while the session holds. An exit can go offline before the session time is up, so one changed IP on a sticky session is normal; every request changing is a configuration problem.

One trap: a client that keeps its connection open keeps its exit. A requests.Session() or one curl command with several URLs reuses the connection, so a rotating proxy can look sticky. Open a new connection per sample, which is exactly what the checker does: the letters A, A, A or A, B, C under its sample bars name the distinct exit IPs, and three or more samples on one IP are needed before it calls a proxy sticky.

Then look the IP up: country, city, ASN and organisation. The proxy location checker does this with DB-IP data. Country-level answers are reliable; city-level answers often disagree between databases. Why, and how to verify what the target site actually sees, is the subject of how to test a proxy's location. For when to use which session type, see rotating vs sticky sessions.

Step 4: proxy speed test: connect, TLS, first byte and throughput

"Fast" is several numbers. For one fresh HTTPS request through a proxy, the time splits into the lookup of the proxy's hostname, the TCP connection to the proxy, the tunnel (CONNECT or SOCKS5 handshake, where the proxy checks the login and opens its own connection out through the exit), the TLS handshake with the target through the tunnel, the wait for the first byte, and the download. The first two describe your path to the proxy; everything after the tunnel travels the whole chain and repeats on every new connection.

curl reports these points with -w. All its times are measured from the start of the transfer, not per phase (libcurl TIMES), so subtract neighbours to get each phase. Through a proxy, time_connect ends when the TCP connection to the proxy is up (curl man page), and time_appconnect includes the CONNECT exchange as well as the TLS handshake with the target.

curl -w variableEnds whenPhase = differenceA large value points at
time_namelookupThe proxy's hostname is resolvedDNSYour resolver; near zero for an IP address
time_connectTCP to the proxy is upconnect − namelookupDistance to the proxy, or an overloaded proxy
time_appconnectTunnel open and TLS with the target doneappconnect − connectThe gateway's login and onward connection, and the round trips through the exit
time_starttransferFirst byte of the responsestarttransfer − appconnectThe exit's path to the site, and the site itself
time_totalLast byte receivedtotal − starttransferThroughput: the exit's bandwidth and the response size

The proxy speed test shows the same split as a waterfall (DNS, TCP, tunnel, TLS, first byte) and then downloads 0.25 to 10 MB through the proxy within about ten seconds to report Mbps, its peak and the time to first byte. Its numbers are measured from ARC's test servers, so use them to compare proxies under the same conditions, not as a promise for your own machine. For most scraping, latency limits a job before bandwidth does; bandwidth starts to matter with large responses such as full pages in a headless browser.

Why one speed sample is meaningless: median and p95 over N runs

Proxy latency has a long tail. One request can land on a fast exit, a cold one, or a connection that needed a retransmission, and with a rotating proxy two requests may not even use the same line. A single number therefore tells you almost nothing, and the best of three tells you less than nothing, because it hides the tail.

Measure N fresh connections (10 at the least, 50 or more for a decision) and report three things: the success rate, the median, which describes a typical request, and the p95, the time 95% of requests stay under, which decides how long your job's slowest batches take and how to set timeouts. Compare proxies with the same N, the same URL and the same time of day.

A detail that bit us while writing the script: Python's statistics.quantiles defaults to the exclusive method, which treats your data as a sample and can extrapolate. On ten values it returned a p95 above the largest value measured (for the data 1, 2, 2, 2, 2, 2, 3, 3, 4, 5 it gives 5.45). With method="inclusive" the p95 stays inside what you measured (4.55 for the same data), which is what a test report should show (Python statistics docs).

  • The checker and speed test rate the median, not the best sample: under 800 ms excellent, under 1,500 good, under 3,000 fair. Their result also carries p95, jitter and success rate.
  • Count failures separately instead of dropping them from the timings; a proxy that is fast 80% of the time and times out 20% of the time is slow.
  • Set explicit connect and read timeouts. requests has no timeout by default, and its connect timeout applies per address attempt (Requests docs).

Step 5: proxy headers test and leak checks: Via, X-Forwarded-For, DNS, WebRTC

A proxy can tell the site about itself or about you in three ways. Headers: RFC 9110 says a proxy MUST add a Via header to each message it forwards, though it MAY use a pseudonym for itself (RFC 9110 §7.6.3). X-Forwarded-For is a de facto header whose leftmost entry is the original client (MDN), and Forwarded (RFC 7239) is its standard form, whose own privacy section says it should be off by default. A proxy that forwards your address is a transparent proxy; one that only announces itself is an anonymous proxy.

Headers can only be added to requests the proxy can read. In our lab, the same header-adding proxy delivered Via: 1.1 lab-proxy and X-Forwarded-For on a plain http:// request and nothing extra on an https:// request through its CONNECT tunnel. So test headers over plain HTTP: that is the worst case. The proxy checker reports which proxy headers reached its endpoint as elite (none), anonymous (Via and similar, no client address) or transparent (your address forwarded).

  • DNS: with socks5://, curl and requests resolve the hostname on your machine and send the proxy an IP address; with socks5h:// they send the hostname and the proxy resolves it (Requests docs, Everything curl). Our lab SOCKS5 server logged address type 1 (IPv4) for socks5:// and type 3 (domain name) for socks5h://. Local resolution is a DNS leak and can also send you to a server chosen for your own location; details under socks5h. HTTP proxies always get the hostname, in the CONNECT line.
  • WebRTC, in browsers only: WebRTC gathers network addresses for peer connections outside the HTTP proxy path. RFC 8828 defines four handling modes; only mode 4, "force proxy", sends WebRTC media through the proxy, and since most HTTP and SOCKS proxies cannot carry UDP it falls back to TCP (RFC 8828). In Chromium the matching policy value is disable_non_proxied_udp (Chromium source). HTTP clients such as curl and requests have no WebRTC, so this check only matters for headless browsers.
  • Baseline: open what is my IP without the proxy first. Any later test page that shows that address while the proxy is on has found a leak.

Step 6: success rate against your actual target

Everything so far tested the proxy against a friendly endpoint. Your target is not friendly: it may rate-limit, show a consent or block page with status 200, or answer differently per country. The test that predicts a job is the job itself, small: run the median/p95 script below against a handful of the real URLs you will collect, through the same proxy settings, at the pace you plan to run.

  • Count by outcome: 2xx with the content you expect, 2xx with a block or captcha page, 403, 429, 5xx, timeouts and proxy errors. Check the body for a marker of real content, not just the status code.
  • A 429 is the site's answer to your request rate, not a proxy fault; slow down before changing anything else (handling 429 rate limits).
  • A 502 or 503 can come from the proxy or from the site; the response headers usually say which (502 or 503 through a proxy).
  • Repeat at the hour your job runs: success rate and latency both move with the target's load.

Keep this small and respectful of the site's limits; the point is a representative sample, not load. Once the numbers are good enough, size the plan from the bandwidth you measured on the pricing page, or start with residential proxies if your target blocks datacenter ranges.

When a proxy test fails: what each error means

The checker stops early when retrying cannot help, for example after an authentication, DNS or protocol failure, and names the reason. The same codes come back from the proxy tester API in error.code. Each maps to a client error you may already have seen.

Tester codeWhat happenedTypical client messageRead next
connect_timeout, connect_failedNothing accepted the connection, or the port refused itFailed to connect, ECONNREFUSED, ERR_PROXY_CONNECTION_FAILEDProxy connection failed
auth_required, auth_failedThe proxy answered 407CONNECT tunnel failed, response 407, ProxyError407 and CONNECT tunnel failed
protocol_mismatchThe port speaks neither HTTP proxy nor SOCKS5SOCKS handshake errors, garbled repliesSOCKS5 proxy errors
tls_failedThe tunnel opened, TLS through it failedWRONG_VERSION_NUMBER, record layer failureSSL errors through a proxy
proxy_refusedLogin accepted, CONNECT refusedCONNECT tunnel failed, response 403/502502 or 503 through a proxy
connection_reset, timeoutThe proxy dropped or stalled the requestsocket hang up, ECONNRESET, read timeoutsocket hang up through a proxy

In Python, all of these surface as a handful of exception types; Python requests ProxyError shows how to tell them apart.

Code

Worked example

Steps 1 to 5 with curl
# 1. Reachability and login: HTTP CONNECT, then SOCKS5 (hostname resolved at the proxy)curl -sS -o /dev/null -w "%{http_code}\n" -x "http://USERNAME_pool-arcfast_country-de:PASSWORD@proxy.arcproxies.io:8000" https://api.arcproxy.cloud/api/v1/ipcurl -sS -o /dev/null -w "%{http_code}\n" -x "socks5h://USERNAME_pool-arcfast_country-de:PASSWORD@proxy.arcproxies.io:8000" https://api.arcproxy.cloud/api/v1/ip# 2. Exit IP and rotation: each curl run is a fresh connectionfor i in 1 2 3; do curl -s -x "http://USERNAME_pool-arcfast_country-de:PASSWORD@proxy.arcproxies.io:8000" https://api.arcproxy.cloud/api/v1/ip; done         # rotating: usually differentfor i in 1 2 3; do curl -s -x "http://USERNAME_pool-arcfast_country-de_session-k3f9a1x2_sesstime-10:PASSWORD@proxy.arcproxies.io:8000" https://api.arcproxy.cloud/api/v1/ip; done  # sticky: the same while it holds# 3. Location and network of the exit (country, city, ASN, org; geolocation by DB-IP)curl -s -x "http://USERNAME_pool-arcfast_country-de:PASSWORD@proxy.arcproxies.io:8000" "https://api.arcproxy.cloud/api/v1/ip?format=json"# 4. Where the time goes on one fresh HTTPS request (all values cumulative, in seconds)curl -s -o /dev/null -x "http://USERNAME_pool-arcfast_country-de:PASSWORD@proxy.arcproxies.io:8000" \  -w "dns %{time_namelookup}  connect %{time_connect}  tunnel+tls %{time_appconnect}  ttfb %{time_starttransfer}  total %{time_total}  %{speed_download} B/s\n" \  https://example.com/# 5. Proxy headers: use plain http:// to a header-echo endpoint, the only case where a proxy can add themcurl -s -x "http://USERNAME_pool-arcfast_country-de:PASSWORD@proxy.arcproxies.io:8000" http://httpbin.org/headers | grep -iE "via|forwarded" || echo "no proxy headers"
proxy_bench.py: success rate, median and p95 over N fresh connections
# pip install "requests[socks]"# PROXY=http://USERNAME_pool-arcfast_country-de:PASSWORD@proxy.arcproxies.io:8000 URL=https://your-target.example/ N=30 python proxy_bench.pyimport os, statistics, timefrom collections import Counterimport requestsPROXY = os.environ.get("PROXY", "http://USERNAME_pool-arcfast_country-de:PASSWORD@proxy.arcproxies.io:8000")  # or socks5h://...URL = os.environ.get("URL", "https://example.com/")N = int(os.environ.get("N", "20"))times, outcomes = [], Counter()for i in range(N):    t0 = time.perf_counter()    try:        # no Session: every request is a fresh connection, so a rotating proxy can change exit        r = requests.get(URL, proxies={"http": PROXY, "https": PROXY}, timeout=(10, 30))        times.append((time.perf_counter() - t0) * 1000)        outcomes[str(r.status_code)] += 1    except requests.RequestException as e:        outcomes[type(e).__name__] += 1  # ProxyError, ConnectTimeout, ReadTimeout, SSLError ...ok = sum(v for k, v in outcomes.items() if k.startswith("2"))print(f"runs {N}  2xx {ok}  success {ok / N:.0%}  outcomes {dict(outcomes)}")if len(times) >= 2:    # 'inclusive' keeps p95 inside the measured range; the default can exceed the max    p95 = statistics.quantiles(times, n=20, method="inclusive")[-1]    print(f"median {statistics.median(times):.0f} ms  p95 {p95:.0f} ms  "          f"min {min(times):.0f}  max {max(times):.0f}")
The same checks through the free proxy tester API
# Five fresh connections plus a 1 MB download, measured from ARC's test serverscurl -s https://api.arcproxy.cloud/api/v1/tools/proxy-test \  -H "Content-Type: application/json" \  -d '{"proxy": "proxy.arcproxies.io:8000:USERNAME_pool-arcfast_country-de:PASSWORD", "samples": 5, "speed": true, "speed_mb": 1}'# Read: ok, error.code, exit.country, latency.median_ms / p95_ms / success_rate,#       rotation.mode, headers.anonymity, speed.mbps

FAQ

Questions

Something not covered? Write to contact@arcproxies.io.

How do I check if a proxy is working?

Send one request through it to an IP-echo URL, for example curl -x http://USER:PASS@HOST:PORT https://api.arcproxy.cloud/api/v1/ip. If it prints an IP that is not your own, the proxy accepts your login and forwards traffic. A 407 means the credentials are missing or wrong; a timeout or refused connection means the host, port or a firewall. The free proxy checker does the same in the browser for HTTP and SOCKS5.

How do I test proxy speed properly?

Time 10 or more fresh connections and report the success rate, median and p95, not a single run. Split each request into connect, TLS, first byte and download (curl -w gives all of them) so you know whether the proxy hop, the exit or the bandwidth is slow. The proxy speed test shows the phase waterfall and download Mbps measured from ARC's servers.

Is there a free SOCKS5 proxy checker?

Yes: the proxy tester detects HTTP CONNECT and SOCKS5 automatically, or you force SOCKS5 with a socks5:// or socks5h:// prefix. From the shell, curl -x socks5h://USER:PASS@HOST:PORT https://api.arcproxy.cloud/api/v1/ip tests the same and resolves the hostname at the proxy.

How do I test which headers my proxy sends?

Request a header-echo endpoint over plain http:// through the proxy and look for Via, X-Forwarded-For and Forwarded. Over https:// a normal CONNECT proxy cannot add headers, so an HTTPS test can hide a proxy that leaks on plain HTTP. The proxy checker labels the result elite, anonymous or transparent.

What is the difference between socks5 and socks5h when testing?

With socks5:// curl and Python requests resolve the hostname on your machine and send the proxy an IP address; with socks5h:// they send the hostname and the proxy resolves it. Use socks5h:// unless you have a reason not to: local resolution leaks your DNS lookups and can pick a server for your own location instead of the exit's.

Why does my proxy pass every test but fail on the website?

Because the tests use a cooperative endpoint and your target may not be one. It can rate-limit (429), serve a block page with status 200, or treat some IP ranges differently. Run the median/p95 script against a few real target URLs, count outcomes by type and check the body for real content.

Next

Where to go from here

Use caseProxies for web scraping and data collectionA second provider that just works — Scrapy, requests, Crawlee or Playwright, self-serve, no sales call, bandwidth that never expires.Use caseProxies for QA, app and localisation testingSee your own site the way a user in Tokyo, São Paulo or Munich sees it — currency, language, consent banner, CDN edge and all — before they report it.Free toolProxy testerExit IP, location, latency per phase, rotation and header anonymity for one proxy, or a quick ping of a long list.Free toolProxy speed testDownload throughput in Mbps plus latency, measured through the proxy from ARC's test servers.Free toolProxy location checkerWhere a proxy exits: IP, country, network and whether the address changes between connections.Free toolWhat is my IPYour own public IP and network, plus a plain-text IP endpoint for scripts.Free APIProxy tester APIRun the same test from code: request and result fields, streaming, error codes and limits.Free toolProxy format converterRewrite a proxy list into another format or a ready config snippet, in the browser, with per-line errors.GuideHow to test a proxy's locationCheck a proxy's exit IP and geolocation with curl, why IP geolocation databases disagree, and how to verify what the target site actually sees.GuideHTTP vs SOCKS5 proxiesHTTP vs SOCKS5 proxies on the wire, socks5 vs socks5h and DNS leaks, which clients can log in to SOCKS5 (not Chrome or Playwright), and when to use each.Glossarysocks5hsocks5h is the proxy URL scheme that tells a client to use a SOCKS5 proxy and send it the destination hostname, so the proxy resolves DNS; with socks5 the client resolves the name itself and sends the proxy only an IP address. curl defines socks5h:// as the equivalent of its --socks5-hostname option, and Python requests follows curl.GlossaryDNS leakA DNS leak is when a client sends its traffic through a proxy or VPN but resolves hostnames through its own local resolver, so the lookups leave from the original network — exposing which sites you visit to that resolver and, for location-dependent services, possibly connecting you to a server picked for the wrong place.GlossaryX-Forwarded-ForX-Forwarded-For is a widely used but non-standard HTTP request header in which proxies and load balancers record the IP address they received a request from, building a comma-separated chain; RFC 7239 (2014) standardised the same idea as the Forwarded header.IntegrationcurlSend curl through an authenticated proxy with -x and -U, check the exit IP, test sticky sessions and countries, use socks5h, and read 407 failures.IntegrationPython requestsUse an authenticated proxy with Python requests: the proxies argument, sticky sessions per task, geo-targeting, SOCKS5 and retries that skip 407 errors.