BuyProxy logo
Log inSign up

SOCKS5 Config Generator

Fill in your endpoint details and get ready-to-use SOCKS5 config for curl, Python, and Node.js.

Connection string
socks5://user:pass@us.buyproxy.org:1080
cURL
curl --socks5-hostname us.buyproxy.org:1080 \
  --proxy-user user:pass \
  https://example.com
Python (requests)
import requests

proxies = {
    "http": "socks5h://user:pass@us.buyproxy.org:1080",
    "https": "socks5h://user:pass@us.buyproxy.org:1080",
}

requests.get("https://example.com", proxies=proxies)
Node.js
const { SocksProxyAgent } = require("socks-proxy-agent");

const agent = new SocksProxyAgent(
  "socks5://user:pass@us.buyproxy.org:1080"
);

fetch("https://example.com", { agent });