Intro
Documentation below describes how to use Goproxies.com service.
Goproxies.com services are compatible with many software platforms and tools, from operating systems to browser add-ons. Explore our step-by-step integration guides and learn how to set up your proxies.
If you cannot find something or need help, contact us at [email protected] or start an Intercom chat. Goproxies.com supports:
HTTPS proxy protocol (a.k.a. HTTP proxy with CONNECT method)
HTTP proxy protocol
Service is accessed using following entry data:
Host: hosting.goproxies.com - All countries
Port: 1080
Authorisation: Basic
Username/Password: [provided separately]
For example integrations with applications like Chrome, SwitchyOmega, Proxifier, Foxy Proxy, Proxy Switcher, and more, see the Integrations Page
Code Examples
curl --proxytunnel --proxy "https://customer-USERNAME:[email protected]:1080" https://ip.goproxies.comnpm install axios https-proxy-agentconst axios = require('axios');
const { HttpsProxyAgent } = require('https-proxy-agent');
const username = 'customer-USERNAME';
const password = 'PASSWORD';
const proxyUrl = `http://${encodeURIComponent(username)}:${encodeURIComponent(password)}@hosting.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
username = "customer-USERNAME"
password = "PASSWORD"
proxy = f"https://{username}:{password}@hosting.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)import org.apache.http.HttpHost;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.impl.client.BasicCredentialsProvider;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
public class SharedDatacenterProxy {
public static void main(String[] args) throws Exception {
String proxyHost = "hosting.goproxies.com";
int proxyPort = 1080;
String user = "customer-USERNAME";
String pass = "PASSWORD";
CredentialsProvider credsProvider = new BasicCredentialsProvider();
credsProvider.setCredentials(new AuthScope(proxyHost, proxyPort),
new UsernamePasswordCredentials(user, pass));
HttpHost proxy = new HttpHost(proxyHost, proxyPort);
RequestConfig config = RequestConfig.custom().setProxy(proxy).build();
try (CloseableHttpClient httpclient = HttpClients.custom()
.setDefaultCredentialsProvider(credsProvider)
.build()) {
HttpGet httpget = new HttpGet("https://ip.goproxies.com");
httpget.setConfig(config);
try (CloseableHttpResponse response = httpclient.execute(httpget)) {
System.out.println(response.getStatusLine());
System.out.println(new String(response.getEntity().getContent().readAllBytes()));
}
}
}
}require 'net/http'
require 'uri'
username = 'customer-USERNAME'
password = 'PASSWORD'
uri = URI('https://ip.goproxies.com')
proxy_addr = 'hosting.goproxies.com'
proxy_port = 1080
Net::HTTP::Proxy(proxy_addr, proxy_port, username, password).start(uri.host, uri.port, use_ssl: true) do |http|
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts res.code
puts res.body
end<?php
$ch = curl_init('https://ip.goproxies.com');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_PROXY, 'hosting.goproxies.com:1080');
curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'customer-USERNAME:PASSWORD');
curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, true);
$response = curl_exec($ch);
if ($response === false) {
echo 'cURL error: ' . curl_error($ch) . PHP_EOL;
} else {
echo 'Response: ' . $response . PHP_EOL;
}
curl_close($ch);Last updated
Was this helpful?

