country_code

The country_code option helps you to retrieve location-based content. It can be useful for e-commerce websites that adapt prices based on your location.

To proceed, use the code from the list of countries below to load the page from a specific location:

=IMPORTFROMWEB(data_sources, selectors, "country_code:us")

or

AB
1country_codeus
2
3=IMPORTFROMWEB(data_sources, selectors, A1:B1)

List of available countries:

CountriesCountry codes
Afghanistanaf
Albaniaal
Algeriadz
American Samoaas
Andorraad
Angolaao
Anguillaai
Antarcticaaq
Antigua & Barbudaag
Argentinaar
Armeniaam
Arubaaw
Australiaau
Austriaat
Azerbaijanaz
Bahamabs
Bahrainbh
Bangladeshbd
Barbadosbb
Belarusby
Belgiumbe
Belizebz
Beninbj
Bermudabm
Bhutanbt
Boliviabo
Bosnia and Herzegovinaba
Botswanabw
Bouvet Islandbv
Brazilbr
British Indian Ocean Territoryio
British Virgin Islandsvg
Brunei Darussalambn
Bulgariabg
Burkina Fasobf
Burma (no longer exists)bu
Burundibi
Cambodiakh
Camerooncm
Canadaca
Cape Verdecv
Cayman Islandsky
Central African Republiccf
Chadtd
Chilecl
Chinacn
Christmas Islandcx
Cocos (Keeling) Islandscc
Colombiaco
Comoroskm
Congocg
Cook Iislandsck
Costa Ricacr
Croatiahr
Cubacu
Cypruscy
Czech Republiccz
Czechoslovakia (no longer exists)cs
Côte D’ivoire (Ivory Coast)ci
Democratic Yemen (no longer exists)yd
Denmarkdk
Djiboutidj
Dominicadm
Dominican Republicdo
East Timortp
Ecuadorec
Egypteg
El Salvadorsv
Equatorial Guineagq
Eritreaer
Estoniaee
Ethiopiaet
Falkland Islands (Malvinas)fk
Faroe Islandsfo
Fijifj
Finlandfi
Francefr
French Guianagf
French Polynesiapf
French Southern Territoriestf
Gabonga
Gambiagm
Georgiage
German Democratic Republic (no longer exists)dd
Germanyde
Ghanagh
Gibraltargi
Greecegr
Greenlandgl
Grenadagd
Guadeloupegp
Guamgu
Guatemalagt
Guineagn
Guinea-Bissaugw
Guyanagy
Haitiht
Heard & McDonald Islandshm
Hondurashn
Hong Konghk
Hungaryhu
Icelandis
Indiain
Indonesiaid
Iraqiq
Irelandie
Islamic Republic of Iranir
Israelil
Italyit
Jamaicajm
Japanjp
Jordanjo
Kazakhstankz
Kenyake
Kiribatiki
Korea, Democratic People’s Republic ofkp
Korea, Republic ofkr
Kuwaitkw
Kyrgyzstankg
Lao People’s Democratic Republicla
Latvialv
Lebanonlb
Lesothols
Liberialr
Libyan Arab Jamahiriyaly
Liechtensteinli
Lithuanialt
Luxembourglu
Macaumo
Madagascarmg
Malawimw
Malaysiamy
Maldivesmv
Maliml
Maltamt
Marshall Islandsmh
Martiniquemq
Mauritaniamr
Mauritiusmu
Mayotteyt
Mexicomx
Micronesiafm
Moldova, Republic ofmd
Monacomc
Mongoliamn
Monserratms
Moroccoma
Mozambiquemz
Myanmarmm
Namibiana
Naurunr
Nepalnp
Netherlands Antillesan
Netherlandsnl
Neutral Zone (no longer exists)nt
New Caledonianc
New Zealandnz
Nicaraguani
Nigerne
Nigeriang
Niuenu
Norfolk Islandnf
Northern Mariana Islandsmp
Norwayno
Omanom
Pakistanpk
Palaupw
Panamapa
Papua New Guineapg
Paraguaypy
Perupe
Philippinesph
Pitcairnpn
Polandpl
Portugalpt
Puerto Ricopr
Qatarqa
Romaniaro
Russian Federationru
Rwandarw
Réunionre
Saint Lucialc
Samoaws
San Marinosm
Sao Tome & Principest
Saudi Arabiasa
Senegalsn
Seychellessc
Sierra Leonesl
Singaporesg
Slovakiask
Sloveniasi
Solomon Islandssb
Somaliaso
South Africaza
South Georgia and the South Sandwich Islandsgs
Spaines
Sri Lankalk
St. Helenash
St. Kitts and Neviskn
St. Pierre & Miquelonpm
St. Vincent & the Grenadinesvc
Sudansd
Surinamesr
Svalbard & Jan Mayen Islandssj
Swazilandsz
Swedense
Switzerlandch
Syrian Arab Republicsy
Taiwantw
Tajikistantj
Tanzania, United Republic oftz
Thailandth
Togotg
Tokelautk
Tongato
Trinidad & Tobagott
Tunisiatn
Turkeytr
Turkmenistantm
Turks & Caicos Islandstc
Tuvalutv
Ugandaug
Ukraineua
Union of Soviet Socialist Republics (no longer exists)su
United Arab Emiratesae
United Kingdom (Great Britain)uk
United States Minor Outlying Islandsum
United States Virgin Islandsvi
United Statesus
Uruguayuy
Uzbekistanuz
Vanuatuvu
Vatican City State (Holy See)va
Venezuelave
Viet Namvn
Wallis & Futuna Islandswf
Western Saharaeh
Yemenye
Yugoslaviayu
Zairezr
Zambiazm
Zimbabwezw