Country Geotargeting
The ScrapeOps Residential Proxy Aggregator enables you to use the country-level geotargeting functionality of our underlying proxy providers by using the country
parameter in your requests.
If no country
parameter has been set then the proxy will use a proxy from a random location, or use a proxy location that maximises the success rate.
To enable advanced proxy functionality when using the Residential Proxy endpoint you need to pass parameters by adding them to username, separated by periods.
If you want to enable Country Geotargeting with a request, you need to pass parameters by adding them to proxy port username
, separated by periods. For example, to ensure your requests use US geotargeting the username would be scrapeops.country=us
.
curl -x "http://scrapeops.country=us:YOUR_API_KEY@residential-proxy.scrapeops.io:8181" "https://httpbin.org/ip"
Here is the full list of available locations:
Code | Country |
---|---|
br | Brazil |
ca | Canada |
cn | China |
in | India |
it | Italy |
jp | Japan |
fr | France |
de | Germany |
ru | Russian |
es | Spain |
us | United States |
uk | United Kingdom |