How to Automate Proxy Testing with a Free Proxy JSON & TXT API in Python and cURL
Step-by-step developer guide to consuming ProxyTee's no-auth JSON, CSV, and per-country TXT free proxy feeds in Python and bash, plus handling timeouts cleanly.

Learn how to fetch and filter ProxyTee's zero-auth free proxy JSON, CSV, and 36 per-country TXT feeds in Python and cURL.
Manually copying IP addresses from web tables breaks down the moment you need to test retry middleware, verify regional redirects in CI, or benchmark protocol fallbacks. ProxyTee publishes a CORS-enabled, zero-auth Free Proxy JSON & TXT API refreshed every 15 minutes after live handshake verification.
Available Free Proxy JSON, CSV & TXT Endpoints
Every endpoint is served statically over HTTPS with atomic updates every 15 minutes—no API keys, registration headers, or rate-limit tokens needed:
- Master JSON Feed:
https://app.proxytee.com/static/free-proxies.json(includesupdated_at,stats,ping_ms,anonymity,uptime, andcountry_code). - Full CSV Snapshot:
https://app.proxytee.com/static/free-proxies/proxies.csv. - Protocol Plain-Text Feeds:
all.txt,socks5.txt,https.txt,http.txt,socks4.txt, andelite.txt. - 36 Strategic Country Feeds:
https://app.proxytee.com/static/free-proxies/countries/<cc>.txt(covering US, GB, DE, CA, FR, NL, SG, JP, VN, ID, BR, IN, AU, KR, and 22 additional markets).
Filtering Fast Elite Proxies in Python with Safe Retries
When consuming public relays in Python, never trust a single endpoint blindly—filter by anonymity == "Elite" and ping_ms <= 600, then wrap requests in strict connect/read timeouts:
import requests
FEED_URL = "https://app.proxytee.com/static/free-proxies.json"
payload = requests.get(FEED_URL, timeout=10).json()
candidates = [
p for p in payload.get("proxies", [])
if p["proxy_type"] in ("HTTPS", "SOCKS5")
and p["anonymity"] == "Elite"
and p["ping_ms"] <= 600
]
for node in candidates[:10]:
scheme = "socks5h" if node["proxy_type"] == "SOCKS5" else "http"
proxy_uri = f"{scheme}://{node['host']}:{node['port']}"
try:
r = requests.get(
"https://api.ipify.org?format=json",
proxies={"http": proxy_uri, "https": proxy_uri},
timeout=(4, 6),
)
print("Verified working:", proxy_uri, r.json())
break
except requests.RequestException:
continue
Pulling Country & SOCKS5 Lists Directly in Bash and cURL
For quick terminal validation, you can pipe per-country or protocol-specific .txt feeds straight into cURL with remote DNS resolution (--socks5-hostname). See our dedicated Free Proxies for cURL and Free Proxies for Python pages for pre-filtered live tables.
# Pull top 5 live US proxies and inspect exit headers
curl -s https://app.proxytee.com/static/free-proxies/countries/us.txt | head -n 5
# Test first live SOCKS5 node with remote DNS lookup
FIRST_S5=$(curl -s https://app.proxytee.com/static/free-proxies/socks5.txt | head -n 1)
curl --socks5-hostname "$FIRST_S5" --max-time 8 https://ipinfo.io/json
Moving From Free Feeds to ProxyTee's Production REST API
Once your staging tests pass, replace volatile public endpoints with ProxyTee Unlimited Residential Ports ($29/mo) and control country targeting (/v1/set-country/), rotation timers (/v1/set-rotation/), and IP whitelists (/v1/set-whitelist/) via our Production REST API.
Frequently Asked Questions
All public JSON, CSV, protocol, and 36 country .txt feeds refresh atomically every 15 minutes after live TCP/HTTP/SOCKS verification.
Principal infrastructure engineer at ProxyTee specializing in rotating residential proxy networks, SOCKS5/HTTP tunneling, TLS fingerprint mitigation, and distributed data extraction pipelines.


