Get a Free Trial

Location Specific Screenshots

GrabzIt's API and Online Screenshot Tool both support location specific screenshots, which are screenshots taken from a particular country. The default geographic location that a screenshot is taken from, is usually the fastest location available. However if you wish to change the location a screenshot is taken from when using any of our API's then change the country parameter to "SG" for Singapore, "UK" for the United Kingdom or "US" for the United States.

The United States, United Kingdom and Singapore was chosen as capture server locations because these locations split the globe into three almost equal parts meaning that it should be possible to capture any global website fast using geo-targeting. Also note that as shown in the map a US screenshot will taken using either our New York, Chicago or Miami capture servers, while a UK screenshot will be taken from our London data center.

If you want screenshots to be taken from a different country to those currently available please contact support, if there is enough demand for a new country we may add it!

An example of how to set the country a capture will take from is shown below, for every programming language GrabzIt supports.

//The client should be stored somewhere and reused!
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret", client);
ImageOptions options = new ImageOptions();
options.Country = Country.US;
grabzIt.URLToImage("http://www.bbc.com", options);
await grabzIt.SaveToAsync("bbc.jpg");
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
ImageOptions options = new ImageOptions();
options.setCountry(Country.UNITEDSTATES);
grabzIt.URLToImage("http://www.bbc.com", options);
grabzIt.SaveTo("bbc.jpg");
<script src="https://cdn.jsdelivr.net/npm/@grabzit/js@3.5.2/grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("http://www.bbc.com", {"country":"US"}).Create();
</script>
var grabzit = require('grabzit');
var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret");
var options = {"country":"US"};
client.url_to_image("http://www.bbc.com", options);
client.save_to("bbc.jpg", function (error, id){
    if (error != null){
        throw error;
    }
});
$grabzIt = GrabzItClient->new("Sign in to view your Application Key", "Sign in to view your Application Secret");
$options = GrabzItImageOptions->new();
$options->country("US");
$grabzIt->URLToImage("http://www.bbc.com", $options);
$grabzIt->SaveTo("bbc.jpg");
$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
$options = new \GrabzIt\GrabzItImageOptions();
$options->setCountry("US");
$grabzIt->URLToImage("http://www.bbc.com", $options);
$grabzIt->SaveTo("bbc.jpg");
grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzItImageOptions.GrabzItImageOptions()
options.country = "US"
grabzIt.URLToImage("http://www.bbc.com", options)
grabzIt.SaveTo("bbc.jpg")
https://api.grabz.it/convert?key=Sign in to view your Application Key&format=jpg&country=US&url=http%3A%2F%2Fwww.bbc.com
grabzIt = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret")
options = GrabzIt::ImageOptions.new()
options.country = "US"
grabzIt.url_to_image("http://www.bbc.com", options)
grabzIt.save_to("bbc.jpg")