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

Free API · No key

Proxy tester API and IP API

Two public endpoints, no key: POST /api/v1/tools/proxy-test runs the same test as the proxy tester and answers JSON or streams NDJSON events, and GET /api/v1/ip returns the caller's IP. Both live under https://api.arcproxy.cloud/api/v1. This page lists every field, every error code with a fix, the limits, and examples you can paste.

Reviewed 2 Nov 2026

quick start
curl -s https://api.arcproxy.cloud/api/v1/tools/proxy-test \  -H "Content-Type: application/json" \  -d '{"proxy": "USERNAME:PASSWORD@203.0.113.10:8080", "samples": 5}'

Reference

Reference

Request: POST /api/v1/tools/proxy-test

A JSON body. Only proxy is required. The test opens fresh connections from ARC's server through the proxy to a fixed ARC test endpoint and measures them; the password is never logged, stored or echoed back.

FieldTypeDefaultNotes
proxystringrequiredhost:port, host:port:user:pass or user:pass@host:port, optionally with http://, socks5:// or socks5h:// in front
protocolauto · http · socks5autoA scheme inside proxy wins. auto tries HTTP CONNECT, then SOCKS5
samplesinteger 1–105Sequential fresh connections. Three or more are needed to call a proxy sticky
speedbooleanfalseAlso run a download test
speed_mbnumber 0.1–105Megabytes to download, within a budget of about 10 seconds. Below 1 gives a quick, rough figure
pingbooleanfalseThe cheap mode for long lists: one connection, latency only, no direct baseline, far less than 1 MB. Forces samples: 1 and speed: false, and has its own, larger rate budget
streambooleanfalsetrue answers application/x-ndjson: one JSON event per line

Result fields

With stream: false the response is this object. With stream: true it arrives in the final done event. Every geo field can be null when the database has no answer.

FieldTypeMeaning
okbooleanAt least one sample went through
errorobject · null{code, message} when ok is false; codes below
proxyobjecthost, port, scheme actually used (http or socks5), auto_detected, auth (credentials were supplied, never the credentials), resolved_ip
exitobject · nullFrom the first successful sample: ip, ip_version, country (ISO code), country_name, city, asn, org
latencyobject · nullsamples, ok, failed, success_rate, min_ms, median_ms, avg_ms, p95_ms, max_ms, jitter_ms (standard deviation), phases_median_ms, rating
latency.phases_median_msobjectMedian dns, tcp, tunnel, tls, ttfb of a fresh connection, in ms
latency.ratingstringOn the median total: excellent under 800 ms, good under 1,500, fair under 3,000, else poor
samples[]arrayOne per attempt, in order: index, ok, ip, total_ms, the five *_ms phases, error
rotationobjectdistinct_ips and mode: rotating (two or more IPs), sticky (one IP over three or more samples) or unknown
headersobjectanonymity (elite, anonymous, transparent, unknown), revealing (header names seen, e.g. via), x_forwarded_for_observable
baselineobject · nulldirect_ms: our own direct request; overhead_ms: the proxy's median minus that
speedobject · nullWhen speed was requested: ok, mbps, megabytes, seconds, ttfb_ms, peak_mbps, rating (excellent from 50 Mbps, good from 20, fair from 5, else poor), error
pingbooleantrue when the test ran in ping mode; baseline and speed are then null and headers.x_forwarded_for_observable is false
targetobjectThe fixed test endpoint and a note on where the measurement runs
tested_at, duration_msstring, integerISO 8601 time of the test and how long it took

Streaming events

With stream: true the response is NDJSON: one JSON object per line, flushed as the test runs. Split on newlines and keep any unfinished line for the next chunk. The last event is always done.

EventFieldsWhen
startproxy (as in the result; resolved_ip may still be null)Once, first
baselinedirect_msAfter our direct request; omitted if it failed, and in ping mode
detectedschemeOnce, only with protocol: auto, right before the first sample
sampleindex, sampleAfter each sample
speed_progressbytes, seconds, mbps (running average)About every 250 ms during the download
doneresultLast, on every normal run
errorerror (code, message)Only if the server itself fails mid-run; no done follows

A test stops early when retrying cannot help: after an authentication, DNS, blocked-address or protocol failure, after 2 consecutive connect failures, or after 3 consecutive failures of any other kind. samples can therefore hold fewer entries than requested; latency.samples is the number actually attempted.

Error codes in a result

A proxy that does not work is not an HTTP error: the answer is 200 with ok: false and one of these codes in error.code. The same codes appear on individual samples, so a proxy can work with some samples failing.

CodeMeaningFix
dns_failedThe proxy's hostname did not resolve to an address.Check the spelling of the host, or use the IP address your provider lists.
connect_timeoutNothing accepted a connection on that host and port in time. The server may be down, or a firewall drops the packets.Check the port, and whether your provider requires your IP to be allow-listed before it accepts connections.
connect_failedThe host answered but refused the connection on that port, so no proxy is listening there.Check the port number. Many providers use different ports for HTTP and SOCKS5.
connection_resetThe proxy closed the connection in the middle of the exchange.Run the test again. If it repeats, the proxy or its upstream exit is overloaded or dropping clients.
auth_requiredThe proxy answered 407 Proxy Authentication Required and no credentials were sent.Add them as host:port:user:pass or user:pass@host:port.
auth_failedThe proxy answered 407 to the username and password that were sent.Copy the username and password again from your provider. Check for a trailing space, and for an expired plan or used-up balance.
proxy_refusedThe proxy accepted the login but answered the CONNECT request with an error status, so it would not open a tunnel to the test endpoint.Some proxies only allow certain destinations or ports. Check your provider's allow-list and plan settings.
protocol_mismatchSomething answered on that port, but it spoke neither HTTP proxy nor SOCKS5.Check the port. If it is a SOCKS4 or HTTPS-only proxy, the tester cannot use it.
tls_failedThe tunnel opened, but the TLS handshake with the test endpoint through it did not complete. Some proxies intercept HTTPS.Try SOCKS5 if the provider offers it. A proxy that breaks TLS will break HTTPS sites for you too.
timeoutThe proxy accepted the connection but did not finish the request in time.Run again with more samples. A proxy that times out now and then is overloaded or its exit is unstable.
bad_responseThe request went through but what came back was not the test endpoint's answer, for example an error page inserted by the proxy.The proxy is altering traffic. Check its settings or ask the provider.

HTTP errors

Errors share the envelope of the rest of /api/v1/: {"error": {"type": "...", "message": "...", "param": "proxy", "docs_url": "..."}}. param names the field when one is at fault.

Status`error.type`CauseWhat to do
400invalid_request_errorUnparseable proxy, a field out of range, or a private, loopback, link-local or reserved address, or a port that is never a proxyFix the field named in param; the message says what is wrong
429rate_limit_errorOver a per-IP limitWait the seconds in Retry-After, then retry
503upstream_errorAll test slots are busyWait the seconds in Retry-After, then retry

Limits

Per client IP. Pings have a separate budget and slot pool from full tests, so a list of about 1,000 proxies fits into a few minutes of pings. The numbers can change: read Retry-After (exposed to browsers through CORS) and error.message rather than hard-coding them.

RequestPer minutePer hourAt once
Full test10603
Speed test (speed: true)–20, counted separately–
Ping (ping: true)3001,5008
GET /api/v1/ip120––

What the test deliberately cannot do

  • It cannot be pointed at a target. The destination is a fixed ARC endpoint; only the proxy is yours.
  • It refuses proxies on private, loopback, link-local and reserved addresses, and a short list of ports that are never a proxy, such as SSH, SMTP and databases.
  • Latency and speed are measured from ARC's servers, so they describe the proxy's path to the test endpoint, not to your target site.

GET /api/v1/ip: the IP endpoint

Returns the caller's public IP. Plain text by default (198.51.100.23 and a newline). With ?format=json: ip, version, country, country_name, city, asn, org; geo fields are null when the lookup has no answer. CORS is open to every origin. Examples in four languages are on what is my IP.

Geolocation is by DB-IP under CC BY 4.0: a page that shows these fields must link to db-ip.com.

Examples

Test a proxy from code

One request, the whole result as JSON. Replace the placeholder proxy with yours; a proxy that fails comes back as ok: false, not as an exception.

shell
curl -s https://api.arcproxy.cloud/api/v1/tools/proxy-test \  -H "Content-Type: application/json" \  -d '{"proxy": "USERNAME:PASSWORD@203.0.113.10:8080", "samples": 5}'

Ping a list

Check hundreds of proxies for latency

ping: true is one connection per proxy, far less than 1 MB, on its own rate budget. Keep a few requests in flight and honour Retry-After; the result has the same shape, with median_ms as the one sample's total time.

ping-list.sh
# proxies.txt: one proxy per line. Needs jq. One ping at a time;# prints line number, ok/fail, total ms and the error code.n=0while IFS= read -r proxy; do  n=$((n + 1)); [ -z "$proxy" ] && continue  curl -s https://api.arcproxy.cloud/api/v1/tools/proxy-test \    -H "Content-Type: application/json" \    -d "$(jq -nc --arg p "$proxy" '{proxy: $p, ping: true}')" |  jq -r --arg n "$n" 'if .error.type then "\($n)\tlimited\t\(.error.message)"    else [$n, (if .ok then "ok" else "fail" end), (.latency.median_ms // "-"), (.error.code // "")] | @tsv end'done < proxies.txt

Streaming

Read the test as it runs

Add stream: true and read the body line by line. This is what the tester on this site does; it is how a long speed test can show progress.

application/x-ndjson · abridged
{"event":"start","proxy":{"host":"203.0.113.10","port":8080,"scheme":null,"auto_detected":false,"auth":true,"resolved_ip":null}}{"event":"baseline","direct_ms":61}{"event":"detected","scheme":"http"}{"event":"sample","index":0,"sample":{"index":0,"ok":true,"ip":"198.51.100.23","total_ms":455,"dns_ms":0,"tcp_ms":21,"tunnel_ms":160,"tls_ms":120,"ttfb_ms":154,"error":null}}{"event":"sample","index":1,"sample":{"index":1,"ok":false,"ip":null,"total_ms":null,"error":{"code":"timeout","message":"..."}}}{"event":"speed_progress","bytes":1048576,"seconds":0.31,"mbps":27.1}{"event":"done","result":{"ok":true, ...}}
shell
# -N prints each event as it arrivescurl -sN https://api.arcproxy.cloud/api/v1/tools/proxy-test \  -H "Content-Type: application/json" \  -d '{"proxy": "USERNAME:PASSWORD@203.0.113.10:8080", "samples": 5, "speed": true, "stream": true}'

FAQ

Questions

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

Do I need an API key for the proxy tester API?

No. Both endpoints are public and need no key or account. They are limited per client IP instead: 10 tests a minute, 60 an hour and 3 at once for the proxy test, and 120 a minute for the IP endpoint.

Is a proxy that does not work an HTTP error?

No. The answer is 200 with ok set to false and a code in error.code, such as auth_failed or connect_timeout. HTTP errors are reserved for bad input (400), rate limits (429) and a full service (503).

Can I choose the URL the proxy is tested against?

No. The destination is a fixed ARC test endpoint, so the API cannot be used to send traffic to third-party sites. Test your target site yourself once you know the proxy works.

Should I use the JSON or the streaming response?

Use JSON from scripts that only need the verdict. Use stream: true when a person is watching, or when you want to stop early: the samples arrive one by one and the final done event carries the same result object as the JSON response.

How do I check a long proxy list through the API?

Send each proxy with ping: true. A ping is one connection that costs far less than 1 MB, and pings have their own budget of 300 a minute, 1,500 an hour and 8 at once per client IP. Keep a few requests in flight, and when a 429 arrives wait the seconds in Retry-After and carry on.

What should my code do on a 429?

Wait the number of seconds in the Retry-After header, then send the request again. Do not retry in a tight loop: each attempt counts against the same per-IP limit.

Are proxy credentials stored when I call the API?

No. The proxy password is never logged, stored or echoed. The result says only whether credentials were supplied (proxy.auth). Send requests over HTTPS.

Where it is measured

Latency and speed are measured from ARC's test servers to your proxy and back; they describe the proxy's own path, not your target site.

Geolocation

IP geolocation by DB-IP, licensed under CC BY 4.0. Country, city and network are estimates from that database.

From ARC

ARC sells residential, ISP and mobile proxies by the gigabyte, with no subscription, and the bandwidth never expires. The tools work the same for every provider's proxies, ours included. See pricing

Sources & review

Last reviewed by the ARC Proxies team. Ratings and limits are the ones the test service applies.

  1. [1]IETF: RFC 9110: HTTP Semantics (CONNECT, 407, Retry-After)
  2. [2]IETF: RFC 1928: SOCKS Protocol Version 5
  3. [3]NDJSON: Newline delimited JSON
  4. [4]DB-IP: IP geolocation databases (CC BY 4.0)