This topic describes the codes of administrative regions in China and codes of countries and areas that are used when you call specific operations. The operations are related to the Blocked Regions policy for infrastructure and the request distribution query.

Related operations

The following table describes the operations for which the codes of administrative regions in China and codes of countries and areas are required.

Category Operation Scenario
Protection for Infrastructure - Blocked Regions ConfigNetworkRegionBlock You want to query the countries or areas that are specified by the Countries field and administrative regions in China that are specified by the Provinces field in the Config request parameter.
DescribeNetworkRegionBlock You want to query the countries or areas that are specified by the Countries field and administrative regions in China that are specified by the Provinces field in the Config response parameter.
Monitoring reports DescribeDomainViewSourceCountries You want to query the country or area that is specified by the CountryId response parameter.
DescribeDomainViewSourceProvinces You want to query the administrative region in China that is specified by the ProvinceId response parameter.
DescribePortViewSourceCountries You want to query the country or area that is specified by the CountryId response parameter.
DescribePortViewSourceProvinces You want to query the administrative region in China that is specified by the ProvinceId response parameter.

Codes of administrative regions in China

specifies the codes that are suitable for the operations related to the Blocked Regions policy for infrastructure.

specifies the codes that are suitable for the operations related to monitoring reports.

Region Code ProvinceId
Beijing 11 110000
Tianjin 12 120000
Hebei 13 130000
Shanxi 14 140000
Nei Mongol 15 150000
Liaoning 21 210000
Jilin 22 220000
Heilongjiang 23 230000
Shanghai 31 310000
Jiangsu 32 320000
Zhejiang 33 330000
Anhui 34 340000
Fujian 35 350000
Jiangxi 36 360000
Shandong 37 370000
Henan 41 410000
Hubei 42 420000
Hunan 43 430000
Guangdong 44 440000
Guangxi 45 450000
Hainan 46 460000
Chongqing 50 500000
Sichuan 51 510000
Guizhou 52 520000
Yunnan 53 530000
Xizang 54 540000
Shaanxi 61 610000
Gansu 62 620000
Qinghai 63 630000
Ningxia 64 640000
Xinjiang 65 650000
Hong Kong S.A.R 81 810000
Taiwan 71 710000
Macao S.A.R 82 820000

Codes of countries and areas

specifies the codes that are suitable for the operations related to the Blocked Regions policy for infrastructure.

specifies the codes that are suitable for the operations related to monitoring reports.

Country or area Code CountryId
China 1 CN
Australia 2 AU
Japan 3 JP
Thailand 4 TH
India 5 IN
United States 7 US
Germany 8 DE
Netherlands 9 NL
Malaysia 10 MY
Angola 11 AO
South Korea 12 KR
Singapore 13 SG
Kampuchea 14 KH
Philippines 16 PH
Vietnam 17 VN
France 18 FR
Poland 19 PL
Spain 20 ES
Russia 21 RU
Switzerland 22 CH
United Kingdom 23 GB
Italy 24 IT
Czech Republic 25 CZ
Ireland 26 IE
Denmark 27 DK
Portugal 28 PT
Sweden 29 SE
Ghana 30 GH
Turkey 31 TR
Cameroon 32 CM
South Africa 33 ZA
Finland 34 FI
Hungary 35 HU
United Arab Emirates 36 AE
Greece 37 GR
Brazil 38 BR
Austria 39 AT
Jordan 40 JO
Belgium 41 BE
Romania 42 RO
Luxembourg 43 LU
Argentina 44 AR
Uganda 45 UG
Armenia 46 AM
Tanzania 47 TZ
Burundi 48 BI
Uruguay 49 UY
Bulgaria 50 BG
Ukraine 51 UA
Israel 52 IL
Qatar 53 QA
Iraq 54 IQ
Lithuania 55 LT
Moldova 56 MD
Uzbekistan 57 UZ
Slovakia 58 SK
Kazakhstan 59 KZ
Croatia 60 HR
Georgia 61 GE
Estonia 62 EE
Gibraltar 63 GI
Latvia 64 LV
Norway 65 NO
Palestine 66 PS
Cyprus 67 CY
Saudi Arabia 68 SA
Iran 69 IR
Canada 70 CA
American Samoa 71 AS
Syria 72 SY
Kuwait 73 KW
Bahrain 74 BH
Lebanon 75 LB
Oman 76 OM
Azerbaijan 77 AZ
Zambia 78 ZM
Zimbabwe 79 ZW
Democratic Republic of the Congo 80 CD
Serbia 81 RS
Iceland 82 IS
Slovenia 83 SI
Macedonia 84 MK
Liechtenstein 85 LI
Jersey 86 JE
Bosnia and Herzegovina 87 BA
Chile 88 CL
Peru 89 PE
Kyrgyzstan 90 KG
Reunion 91 RE
Tajikistan 92 TJ
Isle of Man 93 IM
Guernsey 94 GG
Malta 95 MT
Libya 96 LY
Yemen 97 YE
Belarus 98 BY
Mayotte 99 YT
Guadeloupe 100 GP
Saint Martin 101 MF
Martinique 102 MQ
Guyana 103 GY
Kosovo 104 XK
Indonesia 105 ID
Northern Mariana Islands 106 MP
Dominican Republic 107 DO
Mexico 108 MX
Guam 109 GU
Nigeria 110 NG
Venezuela 111 VE
Puerto Rico 112 PR
Mongolia 113 MN
New Zealand 114 NZ
Bangladesh 115 BD
Pakistan 116 PK
Papua New Guinea 117 PG
Trinidad and Tobago 118 TT
Lesotho 119 LS
Colombia 120 CO
Costa Rica 121 CR
Ecuador 123 EC
Sri Lanka 124 LK
Egypt 125 EG
British Virgin Islands 126 VG
Jamaica 127 JM
Saint Lucia 128 LC
Cayman Islands 129 KY
Grenada 130 GD
Curacao 131 CW
Panama 132 PA
Barbados 133 BB
The Bahamas 134 BS
Nepal 135 NP
Tokelau 136 TK
Maldives 137 MV
Afghanistan 138 AF
New Caledonia 139 NC
Fiji 140 FJ
Wallis and Futuna Islands 141 WF
Albania 142 AL
San Marino 143 SM
Montenegro 144 ME
East Timor 145 TL
Monaco 146 MC
Guinea 147 GN
Myanmar 148 MM
Greenland 149 GL
Bermuda 150 BM
Saint Vincent and the Grenadines 151 VC
United States Virgin Islands 152 VI
Suriname 153 SR
Saint Barthelemy 154 BL
Haiti 155 HT
Antigua and Barbuda 156 AG
Liberia 157 LR
Kenya 158 KE
Botswana 159 BW
Mozambique 160 MZ
Senegal 161 SN
Madagascar 162 MG
Namibia 163 NA
Côte d'Ivoire 164 CI
Sudan 165 SD
Malawi 166 MW
Gabon 167 GA
Mali 168 ML
Benin 169 BJ
Chad 170 TD
Cabo Verde 171 CV
Rwanda 172 RW
Republic of the Congo 173 CG
The Gambia 174 GM
Mauritius 175 MU
Algeria 176 DZ
Eswatini 177 SZ
Burkina Faso 178 BF
Sierra Leone 179 SL
Somalia 180 SO
Niger 181 NE
Central Africa Republic 182 CF
Togo 183 TG
South Sudan 184 SS
Equatorial Guinea 185 GQ
Seychelles 186 SC
Djibouti 187 DJ
Morocco 188 MA
Mauritania 189 MR
Comoros 190 KM
British Indian Ocean Territory 191 IO
Tunisia 192 TN
Laos 193 LA
Brunei 194 BN
Bhutan 195 BT
Nauru 196 NR
Vanuatu 197 VU
Federated States of Micronesia 198 FM
French Polynesia 199 PF
Tonga 200 TO
Honduras 201 HN
Bolivia 202 BO
El Salvador 203 SV
Guatemala 204 GT
Nicaragua 205 NI
Belize 206 BZ
Paraguay 207 PY
French Guiana 208 GF
Andorra 209 AD
Faroe Islands 210 FO
Niue 211 NU
Kiribati 212 KI
Marshall Islands 213 MH
Palau 214 PW
Samoa 215 WS
Solomon Islands 216 SB
Tuvalu 217 TV
North Korea 218 KP
Vatican City 219 VA
Eritrea 220 ER
Ethiopia 221 ET
Guinea-Bissau 222 GW
Sao Tome and Principe 223 ST
Turkmenistan 224 TM
Cuba 225 CU
Dominica 226 DM
Saint Kitts and Nevis 227 KN
Aruba 228 AW
Falkland Islands 229 FK
Turks and Caicos Islands 230 TC
Caribbean Netherlands 231 BQ
Sint Maarten 232 SX
Montserrat 233 MS
Anguilla 234 AI
Saint Pierre and Miquelon 235 PM
Åland Islands 236 AX
Norfolk Island 237 NF
Antarctica 238 AQ
Cook Islands 239 CK
Christmas Island 240 CX
Other regions in Europe 241 EU