cURL
Basic Usage
curl -x http://connect.trueproxies.com:8080 \ -U "your_username:your_password" \ https://httpbin.org/ipcurl --socks5 connect.trueproxies.com:1080 \ -U "your_username:your_password" \ https://httpbin.org/ipCountry Targeting
Use the username parameter to target a specific country:
curl -x http://connect.trueproxies.com:8080 \ -U "your_username-country-us:your_password" \ https://httpbin.org/ipSticky Sessions
Keep the same IP across multiple requests:
curl -x http://connect.trueproxies.com:8080 \ -U "your_username-session-abc123:your_password" \ https://httpbin.org/ipCommon Options
# Follow redirectscurl -L -x http://connect.trueproxies.com:8080 \ -U "your_username:your_password" \ https://example.com
# Set timeout (30 seconds)curl --max-time 30 -x http://connect.trueproxies.com:8080 \ -U "your_username:your_password" \ https://httpbin.org/ip
# Save response to filecurl -o response.json -x http://connect.trueproxies.com:8080 \ -U "your_username:your_password" \ https://httpbin.org/ip
# Verbose output for debuggingcurl -v -x http://connect.trueproxies.com:8080 \ -U "your_username:your_password" \ https://httpbin.org/ipEnvironment Variables
Set proxy globally for all cURL requests in your shell:
export http_proxy="http://your_username:your_password@connect.trueproxies.com:8080"export https_proxy="http://your_username:your_password@connect.trueproxies.com:8080"
# Now all cURL requests use the proxycurl https://httpbin.org/ip