Many websites tailor their content based on the visitor’s location. For example, Amazon displays different products and prices on its UK (.co.uk) and French (.fr) sites. If you’re scraping data from these sites, using a regional IP ensures that you receive the correct localized content. Also some websites restrict access to their content based on geographic location.

To avoid discrepancies caused by regional variations, such as different products being displayed on a retailer’s website, you can send a specific country code with your request. This ensures that your request is localized to the desired country, allowing you to obtain consistent and replicable results.

ZenRows supports proxies from numerous countries around the world. You can use any country’s ISO code to configure your proxies.

Here is the comprehensive list of premium proxy countries supported by ZenRows:

af => Afghanistan
al => Albania
dz => Algeria
ad => Andorra
ao => Angola
ai => Anguilla
ag => Antigua and Barbuda
ar => Argentina
am => Armenia
au => Australia
at => Austria
az => Azerbaijan
bs => Bahamas
bh => Bahrain
bd => Bangladesh
bb => Barbados
by => Belarus
be => Belgium
bz => Belize
bj => Benin
bm => Bermuda
bt => Bhutan
bo => Bolivia, Plurinational State of
ba => Bosnia and Herzegovina
bw => Botswana
br => Brazil
bn => Brunei Darussalam
bg => Bulgaria
bf => Burkina Faso
bi => Burundi
cv => Cabo Verde
kh => Cambodia
cm => Cameroon
ca => Canada
ky => Cayman Islands
cf => Central African Republic
td => Chad
cl => Chile
cn => China
co => Colombia
km => Comoros
cg => Congo
cd => Congo, The Democratic Republic o
cr => Costa Rica
ci => Cote D'ivoire
hr => Croatia
cu => Cuba
cy => Cyprus
cz => Czech Republic
dk => Denmark
dj => Djibouti
do => Dominican Republic
ec => Ecuador
eg => Egypt
sv => El Salvador
gq => Equatorial Guinea
er => Eritrea
ee => Estonia
et => Ethiopia
fo => Faroe Islands
fj => Fiji
fi => Finland
fr => France
gf => French Guiana
pf => French Polynesia
ga => Gabon
gm => Gambia
ge => Georgia
de => Germany
gh => Ghana
gi => Gibraltar
gr => Greece
gl => Greenland
gp => Guadeloupe
gu => Guam
gt => Guatemala
gn => Guinea
gw => Guinea-Bissau
gy => Guyana
ht => Haiti
hn => Honduras
hk => Hong Kong
hu => Hungary
is => Iceland
in => India
id => Indonesia
ir => Iran, Islamic Republic of
iq => Iraq
ie => Ireland
im => Isle of Man
il => Israel
it => Italy
jm => Jamaica
jp => Japan
jo => Jordan
kz => Kazakhstan
ke => Kenya
kr => Korea, Republic of
kw => Kuwait
kg => Kyrgyzstan
la => Lao People's Democratic Republic
lv => Latvia
lb => Lebanon
ls => Lesotho
lr => Liberia
ly => Libya
lt => Lithuania
lu => Luxembourg
mo => Macao
mk => Macedonia, The Former Yugoslav Republic of
mg => Madagascar
mw => Malawi
my => Malaysia
mv => Maldives
ml => Mali
mt => Malta
mq => Martinique
mr => Mauritania
mu => Mauritius
mx => Mexico
md => Moldova, Republic of
mn => Mongolia
me => Montenegro
ma => Morocco
mz => Mozambique
mm => Myanmar
na => Namibia
np => Nepal
nl => Netherlands
nc => New Caledonia
nz => New Zealand
ni => Nicaragua
ne => Niger
ng => Nigeria
no => Norway
om => Oman
pk => Pakistan
ps => Palestine, State of
pa => Panama
pg => Papua New Guinea
py => Paraguay
pe => Peru
ph => Philippines
pl => Poland
pt => Portugal
pr => Puerto Rico
qa => Qatar
re => Reunion
ro => Romania
ru => Russia
rw => Rwanda
lc => Saint Lucia
mf => Saint Martin (French Part)
ws => Samoa
sa => Saudi Arabia
sn => Senegal
rs => Serbia
sc => Seychelles
sl => Sierra Leone
sg => Singapore
sx => Sint Maarten (Dutch Part)
sk => Slovakia
si => Slovenia
sb => Solomon Islands
so => Somalia
za => South Africa
ss => South Sudan
es => Spain
lk => Sri Lanka
sd => Sudan
sr => Suriname
sz => Swaziland
se => Sweden
ch => Switzerland
sy => Syrian Arab Republic
tw => Taiwan, Province of China
tj => Tajikistan
tz => Tanzania, United Republic of
th => Thailand
tl => Timor-Leste
tg => Togo
to => Tonga
tt => Trinidad and Tobago
tn => Tunisia
tr => Turkey
tm => Turkmenistan
ug => Uganda
ua => Ukraine
ae => United Arab Emirates
gb => United Kingdom
us => United States
uy => Uruguay
uz => Uzbekistan
vu => Vanuatu
ve => Venezuela, Bolivarian Republic of
vn => Viet Nam
ye => Yemen
zm => Zambia
zw => Zimbabwe

Integrate with Your Web Scraping Script:

Incorporate the selected ISO code into your scraping script to route your requests through the chosen proxy.

scraper.py
# pip install requests
import requests

# Example for setting a proxy for Canada
params = {
	'premium_proxy': 'true',
	'proxy_country': 'ca',
}

response = requests.get('https://api.zenrows.com/v1/', params=params)
print(response.text)

By using the right proxy, you can ensure more reliable and geographically relevant data scraping while maintaining compliance with website policies.

For further assistance or more detailed configuration, refer to the ZenRows documentation or contact their support team. Happy scraping!