Using the API’s country HTTP GET parameter you can choose a specific country by its 2-letter country code for your scraping request. Please find an example API request on this page, which specifies the US (for the United States) as a proxy location using the default datacenter proxies.
Some plans don’t have access to geolocation targeting, a random country data center or residential IP is assigned to the request.
More information regarding each plan can be found on our pricing page.
Datacenter Proxies Supported Countries
For data center proxies, the API currently supports a total of 10 global geolocations: United States (us), Canada (ca), United Kingdom (gb), Germany (de), France (fr), Spain (es), Mexico (mx), Japan (jp), China (cn), and Australia (au).
Residential Proxies Supported Countries
For premium (residential) proxies, the API currently supports a total of 12 global geolocations. The list includes the United Kingdom (gb), United States of America (us), Canada (ca), Germany (de), France (fr), Japan (jp), China (cn), Australia (au), Spain (es), Brazil (br), India (in) & Mexico (mx).
Access to 195 countries is available to Enterprise customers upon request.
Geolocation examples
Geolocation can be specified with the country parameter.
GET https://scrape.shifter.io/v1?api_key=api_key&url=https://httpbin.org/get&country=us&proxy_type=datacenter
⇡ Input
curl --request GET --url "https://scrape.shifter.io/v1?api_key=api_key&url=https%3A%2F%2Fhttpbin.org%2Fget&country=us&proxy_type=datacenter"
var client = new RestClient("https://scrape.shifter.io/v1?api_key=api_key&url=https%3A%2F%2Fhttpbin.org%2Fget&country=us&proxy_type=datacenter");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);