Code
Proxy code examples for Python, Node.js and curl scripts
Ready scripts in Python, Node.js and bash: connect with a host:port:login:password line on plans per GB, work with the link to an unlimited list and check addresses in parallel. All code is in English and has no ties to our site.
PythonTwo working examples: one uses only the standard library, the other uses requests with SOCKS5. Both take a random line from your list for each request.Open the guide →Node.jsThe built-in fetch in Node has no proxy option, so the example uses undici with a ProxyAgent. Each request goes through a random line from your list.Open the guide →curl and bashcurl speaks HTTP and SOCKS5 proxies with one flag. These scripts take random lines from your list, for a quick test or for a loop over many URLs.Open the guide →Proxy checkerOne Node.js file checks the whole list: ip:port lines and lines with a login and password, HTTP and SOCKS5. It saves working proxies to a file from fastest to slowest and shows the exit IP and anonymity of each.Open the guide →
Quick start
One line in curl
Paste a line from your list and confirm that the site sees the proxy address.
LINE="HOST:PORT:LOGIN:PASSWORD"
SCHEME="http"
IFS=: read -r GATE GATE_PORT USER_ID USER_KEY <<< "$LINE"
for i in 1 2 3; do
curl -sS -m 20 -x "$SCHEME://$GATE:$GATE_PORT" -U "$USER_ID:$USER_KEY" https://ifconfig.me/ip
echo
doneReady to try it?
Top up your balance, create a list with the type and country you need, and test the pool on your site. A trial gigabyte costs from $0.27 and traffic lasts three months.