API-TOOL
Basic usage
Credentials:
Proxy host:
res.proxy-sale.com
Proxy port:
10000
Proxy type:
HTTPS/SOCKS5 (autodetected)
Proxy user:
xxx
Proxy password:
xxx
Attention:
For simultaneous requests, use different ports in the range 10000-10999.
Important note: Each IP address port corresponds to a unique IP address (e.g. 1.23.45.6:10005 and 1.23.45.6:10006 are different IPs).
Curl command line sample:
curl -v -x xxx:[email protected]:10000 https://www.google.com
Restrict exit IPs to a specific country
Curl command line sample:
curl -v -x xxx_c_US:[email protected]:10000 https://www.google.com
Restrict exit IPs to a specific city
Curl command line sample:
curl -v -x xxx_city_Paris:[email protected]:10000 https://www.google.com
City names:
Spaces in city names (e.g. New York) must be replaced with the minus sign (-). For example:
curl -v -x xxx_city_New-York:[email protected]:10000 https://www.google.com
Restrict exit IPs to a specific ISP
Curl command line sample:
curl -v -x xxx_isp_51811:[email protected]:10000 https://www.google.com
Restrict exit IPs to a specific ASN
Curl command line sample:
curl -v -x xxx_asn_12389:[email protected]:10000 https://www.google.com
Session control
Session ID
Curl command line sample:
curl -v -x xxx_c_US_s_100:[email protected]:10000 https://www.google.com
Session time
If you need to set up the session time (rotation), you can add a session time to the login with session ID as follows: xxx_s_100_ttl_30s
The ttl
parameter goes along with the session ID and allows you to set the session time. The suffixes s
(seconds), m
(minutes), h
(hours) can be used in this parameter. After the specified time has elapsed, a request within that session will cause it to be re-created, resulting in the assignment of a new IP address (it's an alternative method to set a custom rotation time for each session).
Example with a TTL of 10 seconds:
curl -v -x xxx_c_US_s_100_ttl_10s:[email protected]:10000 https://www.google.com
Example with a TTL of 15 minutes:
curl -v -x xxx_c_US_s_100_ttl_15m:[email protected]:10000 https://www.google.com
Example with a TTL of with 1 hour:
curl -v -x xxx_c_US_s_100_ttl_1h:[email protected]:10000 https://www.google.com
Different geotargeting combinations
Example with country, city, ASN, session.
curl -v -x xxx_c_US_city_New-York_asn_12271_s_100:[email protected]:10000 https://www.google.com
Example with country, city, session.
curl -v -x xxx_c_US_city_New-York_s_100:[email protected]:10000 https://www.google.com
Example with country, ASN.
curl -v -x xxx_c_US_asn_12271:[email protected]:10000 https://www.google.com
Last updated