Skip to main content

Proxy Formats

This page provides a complete reference for all supported proxy connection formats and protocols.

Connection Details

SettingValue
Hostproxy.weproxies.com
Port1080
ProtocolsHTTP, HTTPS
AuthenticationUsername/Password

URL Formats

HTTP/HTTPS Proxy

http://USERNAME:PASSWORD@proxy.weproxies.com:1080

Username Format Reference

The username supports parameters for targeting and session control:

BASE_USERNAME[-country-XX][-state-XX][-city-XX][-session-XX]

Parameter Reference

ParameterFormatExampleDescription
countryISO 3166-1 alpha-2-country-USTarget country
stateState abbreviation-state-CAUS state (requires country=US)
cityCity name (no spaces)-city-NewYorkTarget city
sessionAny string-session-abc123Sticky session ID

Examples

# Basic (rotating IP)
wp_user123:password

# Country targeting
wp_user123-country-US:password
wp_user123-country-GB:password
wp_user123-country-DE:password

# State targeting (US only)
wp_user123-country-US-state-CA:password
wp_user123-country-US-state-NY:password

# City targeting
wp_user123-country-US-city-LosAngeles:password
wp_user123-country-GB-city-London:password

# Sticky session
wp_user123-session-mysession:password

# Combined (country + session)
wp_user123-country-US-session-abc123:password

# Full targeting (country + state + city + session)
wp_user123-country-US-state-NY-city-NewYork-session-xyz789:password

Protocol-Specific Formats

cURL

# HTTP proxy
curl -x "http://wp_user:password@proxy.weproxies.com:1080" https://example.com

# With country targeting
curl -x "http://wp_user-country-US:password@proxy.weproxies.com:1080" https://example.com

# Verbose output for debugging
curl -v -x "http://wp_user:password@proxy.weproxies.com:1080" https://example.com

Python (Requests)

import requests

# HTTP proxy
proxies = {
"http": "http://wp_user:password@proxy.weproxies.com:1080",
"https": "http://wp_user:password@proxy.weproxies.com:1080"
}

response = requests.get("https://example.com", proxies=proxies)

Python (aiohttp)

import aiohttp

proxy = "http://wp_user:password@proxy.weproxies.com:1080"

async with aiohttp.ClientSession() as session:
async with session.get("https://example.com", proxy=proxy) as response:
print(await response.text())

Node.js (Axios)

const axios = require('axios');
const HttpsProxyAgent = require('https-proxy-agent');

const agent = new HttpsProxyAgent('http://wp_user:password@proxy.weproxies.com:1080');

axios.get('https://example.com', { httpsAgent: agent })
.then(response => console.log(response.data));

Node.js (node-fetch)

const fetch = require('node-fetch');
const HttpsProxyAgent = require('https-proxy-agent');

const agent = new HttpsProxyAgent('http://wp_user:password@proxy.weproxies.com:1080');

fetch('https://example.com', { agent })
.then(res => res.text())
.then(body => console.log(body));

Go

package main

import (
"net/http"
"net/url"
)

func main() {
proxyURL, _ := url.Parse("http://wp_user:password@proxy.weproxies.com:1080")

client := &http.Client{
Transport: &http.Transport{
Proxy: http.ProxyURL(proxyURL),
},
}

resp, _ := client.Get("https://example.com")
defer resp.Body.Close()
}

PHP

<?php
$proxy = "http://wp_user:password@proxy.weproxies.com:1080";

$context = stream_context_create([
'http' => [
'proxy' => "tcp://proxy.weproxies.com:1080",
'request_fulluri' => true,
'header' => "Proxy-Authorization: Basic " . base64_encode("wp_user:password")
]
]);

$response = file_get_contents("https://example.com", false, $context);

Ruby

require 'net/http'

proxy = URI.parse('http://wp_user:password@proxy.weproxies.com:1080')

Net::HTTP.new('example.com', 80, proxy.host, proxy.port, proxy.user, proxy.password).start do |http|
response = http.get('/')
puts response.body
end

Environment Variables

Set system-wide proxy configuration:

Linux/macOS

export HTTP_PROXY="http://wp_user:password@proxy.weproxies.com:1080"
export HTTPS_PROXY="http://wp_user:password@proxy.weproxies.com:1080"

# Now all compatible applications will use the proxy
curl https://example.com
wget https://example.com

Windows (PowerShell)

$env:HTTP_PROXY = "http://wp_user:password@proxy.weproxies.com:1080"
$env:HTTPS_PROXY = "http://wp_user:password@proxy.weproxies.com:1080"

Windows (Command Prompt)

set HTTP_PROXY=http://wp_user:password@proxy.weproxies.com:1080
set HTTPS_PROXY=http://wp_user:password@proxy.weproxies.com:1080

Browser Configuration

Chrome (Command Line)

google-chrome --proxy-server="http://proxy.weproxies.com:1080"

Firefox (about:config)

  1. Open about:config
  2. Set network.proxy.type to 1
  3. Set network.proxy.http to proxy.weproxies.com
  4. Set network.proxy.http_port to 1080

Proxy Extensions

Use browser extensions like FoxyProxy or Proxy SwitchyOmega for easy proxy management.

Special Characters in Password

If your password contains special characters, URL-encode them:

CharacterEncoded
@%40
:%3A
/%2F
#%23
?%3F
%%25

Example

# Password: my@pass:word
# Encoded: my%40pass%3Aword

curl -x "http://wp_user:my%40pass%3Aword@proxy.weproxies.com:1080" https://example.com

Python URL Encoding

from urllib.parse import quote

password = "my@pass:word"
encoded_password = quote(password, safe='')
# Result: my%40pass%3Aword

proxy = f"http://wp_user:{encoded_password}@proxy.weproxies.com:1080"

Next Steps