ASN targeting
ASN targeting is not compatible with any random continent, therefore the examples will vary from other targeting methods. This is because ASN targeting only uses region-based endpoints.
use one of these region endpoints depending on ASN:
America: proxy-america.goproxies.com:1080
Europe: proxy-europe.goproxies.com:1080
Asia: proxy-asia.goproxies.com:1080
Format for username: customer-USERNAME-asn-XXXX (replace XXXX with the ASN).
Below are short snippet examples. Please see their comments too where applicable:
# America
curl --proxytunnel --proxy "https://customer-USERNAME-asn-12345:[email protected]:1080" https://ip.goproxies.com
# Europe
curl --proxytunnel --proxy "https://customer-USERNAME-asn-54321:[email protected]:1080" https://ip.goproxies.com
# Asia
curl --proxytunnel --proxy "https://customer-USERNAME-asn-99999:[email protected]:1080" https://ip.goproxies.comconst axios = require('axios');
const { HttpsProxyAgent } = require('https-proxy-agent');
const username = 'customer-USERNAME-asn-12345';
const password = 'PASSWORD';
const proxyHost = 'proxy-america.goproxies.com:1080'; // or proxy-europe..., proxy-asia...
const proxyUrl = `http://${encodeURIComponent(username)}:${encodeURIComponent(password)}@${proxyHost}`;
const agent = new HttpsProxyAgent(proxyUrl);
await axios.get('https://ip.goproxies.com', { httpsAgent: agent });from urllib.parse import quote
import requests
username = "customer-USERNAME-asn-12345"
password = "PASSWORD"
proxy_host = "proxy-europe.goproxies.com:1080" # choose region
proxy = f"http://{quote(username)}:{quote(password)}@{proxy_host}"
proxies = {"http": proxy, "https": proxy}
print(requests.get("https://ip.goproxies.com", proxies=proxies, timeout=10).text)Last updated
Was this helpful?

