For the complete documentation index, see llms.txt. This page is also available as Markdown.

Session Stickiness

Establishing a session

The sessionid proxy header maintains the same IP address for unlimited time duration, as long as the IP remains in the pool. If the IP is no longer available or was removed due to quality problems, a new IP is assigned. To reuse an IP, use the same sessionid header with a unique identifier of 4 to 12 digits, e.g., sessionid-42831931 .

For session duration adjustments in case it is needed, contact us at support@goproxies.com.

Credentials list of examples for different sessions

Examples below contain a list of credentials that establish a new unique session.

customer-USERNAME-sessionid-1293812:PASSWORD customer-USERNAME-sessionid-2837218:PASSWORD customer-USERNAME-sessionid-3832892:PASSWORD customer-USERNAME-sessionid-585896:PASSWORD customer-USERNAME-sessionid-789129:PASSWORD

Understanding sessionid header

When using a session ID like customer-USERNAME-sessionid-912937:PASSWORD, the proxy assigns an IP address (e.g., 1.1.1.1), which is valid indefinitely. Requests with the same sessionid will consistently return the same IP. A rare IP change might occur only if the current IP is no longer available in our pool.

Request example

curl --proxytunnel --proxy "https://customer-USERNAME-sessionid-7182391:PASSWORD@proxy.goproxies.com:1080" https://ip.goproxies.com
const axios = require('axios');
const { HttpsProxyAgent } = require('https-proxy-agent');

const username = 'customer-USERNAME-sessionid-7182391';
const password = 'PASSWORD';
const proxyAuth = encodeURIComponent(username) + ':' + encodeURIComponent(password);
const proxyUrl = `http://${proxyAuth}@proxy.goproxies.com:1080`;
const agent = new HttpsProxyAgent(proxyUrl);

(async () => {
  try {
    const res = await axios.get('https://ip.goproxies.com', { httpsAgent: agent, timeout: 10000 });
    console.log(res.status, res.data);
  } catch (err) {
    console.error('request error:', err.message);
  }
})();
import requests
from urllib.parse import quote

username = "customer-USERNAME-sessionid-7182391"
password = "PASSWORD"
proxy = f"http://{quote(username)}:{quote(password)}@proxy.goproxies.com:1080"

proxies = {
    "http": proxy,
    "https": proxy,
}

resp = requests.get("https://ip.goproxies.com", proxies=proxies, timeout=10)
print(resp.status_code)
print(resp.text)

Last updated

Was this helpful?