In English

Get a list of all countries in ISO 3166-1 Two letter code and name in English in JSON format

Request:

curl -u "{project_key}" \
"https://api.iso3166.org/country/get.php?group=all&lng=en&asof=2022"

Respose:

[ 
{name: 'Afghanistan', code: 'AF'}, 
{name: 'Åland Islands', code: 'AX'}, 
{name: 'Albania', code: 'AL'}, 
{name: 'Algeria', code: 'DZ'}, 
{name: 'American Samoa', code: 'AS'}, 
{name: 'AndorrA', code: 'AD'}, 
{name: 'Angola', code: 'AO'}, 
{name: 'Anguilla', code: 'AI'}, 
{name: 'Antarctica', code: 'AQ'}, 
{name: 'Antigua and Barbuda', code: 'AG'}, 
{name: 'Argentina', code: 'AR'}, 
{name: 'Armenia', code: 'AM'}, 
{name: 'Aruba', code: 'AW'}, 
{name: 'Australia', code: 'AU'}, 
{name: 'Austria', code: 'AT'}, 
{name: 'Azerbaijan', code: 'AZ'}, 
{name: 'Bahamas', code: 'BS'}, 
{name: 'Bahrain', code: 'BH'}, 
{name: 'Bangladesh', code: 'BD'}, 
{name: 'Barbados', code: 'BB'}, 
{name: 'Belarus', code: 'BY'}, 
{name: 'Belgium', code: 'BE'}, 
{name: 'Belize', code: 'BZ'}, 
{name: 'Benin', code: 'BJ'}, 
{name: 'Bermuda', code: 'BM'}, 
{name: 'Bhutan', code: 'BT'}, 
{name: 'Bolivia', code: 'BO'}, 
{name: 'Bosnia and Herzegovina', code: 'BA'}, 
{name: 'Botswana', code: 'BW'}, 
{name: 'Bouvet Island', code: 'BV'}, 
{name: 'Brazil', code: 'BR'}, 
{name: 'British Indian Ocean Territory', code: 'IO'}, 
{name: 'Brunei Darussalam', code: 'BN'}, 
{name: 'Bulgaria', code: 'BG'}, 
{name: 'Burkina Faso', code: 'BF'}, 
{name: 'Burundi', code: 'BI'}, 
{name: 'Cambodia', code: 'KH'}, 
{name: 'Cameroon', code: 'CM'}, 
{name: 'Canada', code: 'CA'}, 
{name: 'Cape Verde', code: 'CV'}, 
{name: 'Cayman Islands', code: 'KY'}, 
{name: 'Central African Republic', code: 'CF'}, 
{name: 'Chad', code: 'TD'}, 
{name: 'Chile', code: 'CL'}, 
{name: 'China', code: 'CN'}, 
{name: 'Christmas Island', code: 'CX'}, 
{name: 'Cocos (Keeling) Islands', code: 'CC'}, 
{name: 'Colombia', code: 'CO'}, 
{name: 'Comoros', code: 'KM'}, 
{name: 'Congo', code: 'CG'}, 
{name: 'Congo, The Democratic Republic of the', code: 'CD'}, 
{name: 'Cook Islands', code: 'CK'}, 
{name: 'Costa Rica', code: 'CR'}, 
{name: 'Cote D\'Ivoire', code: 'CI'}, 
{name: 'Croatia', code: 'HR'}, 
{name: 'Cuba', code: 'CU'}, 
{name: 'Cyprus', code: 'CY'}, 
{name: 'Czech Republic', code: 'CZ'}, 
{name: 'Denmark', code: 'DK'}, 
{name: 'Djibouti', code: 'DJ'}, 
{name: 'Dominica', code: 'DM'}, 
{name: 'Dominican Republic', code: 'DO'}, 
{name: 'Ecuador', code: 'EC'}, 
{name: 'Egypt', code: 'EG'}, 
{name: 'El Salvador', code: 'SV'}, 
{name: 'Equatorial Guinea', code: 'GQ'}, 
{name: 'Eritrea', code: 'ER'}, 
{name: 'Estonia', code: 'EE'}, 
{name: 'Ethiopia', code: 'ET'}, 
{name: 'Falkland Islands (Malvinas)', code: 'FK'}, 
{name: 'Faroe Islands', code: 'FO'}, 
{name: 'Fiji', code: 'FJ'}, 
{name: 'Finland', code: 'FI'}, 
{name: 'France', code: 'FR'}, 
{name: 'French Guiana', code: 'GF'}, 
{name: 'French Polynesia', code: 'PF'}, 
{name: 'French Southern Territories', code: 'TF'}, 
{name: 'Gabon', code: 'GA'}, 
{name: 'Gambia', code: 'GM'}, 
{name: 'Georgia', code: 'GE'}, 
{name: 'Germany', code: 'DE'}, 
{name: 'Ghana', code: 'GH'}, 
{name: 'Gibraltar', code: 'GI'}, 
{name: 'Greece', code: 'GR'}, 
{name: 'Greenland', code: 'GL'}, 
{name: 'Grenada', code: 'GD'}, 
{name: 'Guadeloupe', code: 'GP'}, 
{name: 'Guam', code: 'GU'}, 
{name: 'Guatemala', code: 'GT'}, 
{name: 'Guernsey', code: 'GG'}, 
{name: 'Guinea', code: 'GN'}, 
{name: 'Guinea-Bissau', code: 'GW'}, 
{name: 'Guyana', code: 'GY'}, 
{name: 'Haiti', code: 'HT'}, 
{name: 'Heard Island and Mcdonald Islands', code: 'HM'}, 
{name: 'Holy See (Vatican City State)', code: 'VA'}, 
{name: 'Honduras', code: 'HN'}, 
{name: 'Hong Kong', code: 'HK'}, 
{name: 'Hungary', code: 'HU'}, 
{name: 'Iceland', code: 'IS'}, 
{name: 'India', code: 'IN'}, 
{name: 'Indonesia', code: 'ID'}, 
{name: 'Iran, Islamic Republic Of', code: 'IR'}, 
{name: 'Iraq', code: 'IQ'}, 
{name: 'Ireland', code: 'IE'}, 
{name: 'Isle of Man', code: 'IM'}, 
{name: 'Israel', code: 'IL'}, 
{name: 'Italy', code: 'IT'}, 
{name: 'Jamaica', code: 'JM'}, 
{name: 'Japan', code: 'JP'}, 
{name: 'Jersey', code: 'JE'}, 
{name: 'Jordan', code: 'JO'}, 
{name: 'Kazakhstan', code: 'KZ'}, 
{name: 'Kenya', code: 'KE'}, 
{name: 'Kiribati', code: 'KI'}, 
{name: 'Korea, Democratic People\'S Republic of', code: 'KP'}, 
{name: 'Korea, Republic of', code: 'KR'}, 
{name: 'Kuwait', code: 'KW'}, 
{name: 'Kosovo', code: 'XK'}, 
{name: 'Kyrgyzstan', code: 'KG'}, 
{name: 'Lao People\'S Democratic Republic', code: 'LA'}, 
{name: 'Latvia', code: 'LV'}, 
{name: 'Lebanon', code: 'LB'}, 
{name: 'Lesotho', code: 'LS'}, 
{name: 'Liberia', code: 'LR'}, 
{name: 'Libyan Arab Jamahiriya', code: 'LY'}, 
{name: 'Liechtenstein', code: 'LI'}, 
{name: 'Lithuania', code: 'LT'}, 
{name: 'Luxembourg', code: 'LU'}, 
{name: 'Macao', code: 'MO'}, 
{name: 'North Macedonia', code: 'MK'}, 
{name: 'Madagascar', code: 'MG'}, 
{name: 'Malawi', code: 'MW'}, 
{name: 'Malaysia', code: 'MY'}, 
{name: 'Maldives', code: 'MV'}, 
{name: 'Mali', code: 'ML'}, 
{name: 'Malta', code: 'MT'}, 
{name: 'Marshall Islands', code: 'MH'}, 
{name: 'Martinique', code: 'MQ'}, 
{name: 'Mauritania', code: 'MR'}, 
{name: 'Mauritius', code: 'MU'}, 
{name: 'Mayotte', code: 'YT'}, 
{name: 'Mexico', code: 'MX'}, 
{name: 'Micronesia, Federated States of', code: 'FM'}, 
{name: 'Moldova, Republic of', code: 'MD'}, 
{name: 'Monaco', code: 'MC'}, 
{name: 'Mongolia', code: 'MN'}, 
{name: 'Montserrat', code: 'MS'}, 
{name: 'Morocco', code: 'MA'}, 
{name: 'Mozambique', code: 'MZ'}, 
{name: 'Myanmar', code: 'MM'}, 
{name: 'Namibia', code: 'NA'}, 
{name: 'Nauru', code: 'NR'}, 
{name: 'Nepal', code: 'NP'}, 
{name: 'Netherlands', code: 'NL'}, 
{name: 'Netherlands Antilles', code: 'AN'}, 
{name: 'New Caledonia', code: 'NC'}, 
{name: 'New Zealand', code: 'NZ'}, 
{name: 'Nicaragua', code: 'NI'}, 
{name: 'Niger', code: 'NE'}, 
{name: 'Nigeria', code: 'NG'}, 
{name: 'Niue', code: 'NU'}, 
{name: 'Norfolk Island', code: 'NF'}, 
{name: 'Northern Mariana Islands', code: 'MP'}, 
{name: 'Norway', code: 'NO'}, 
{name: 'Oman', code: 'OM'}, 
{name: 'Pakistan', code: 'PK'}, 
{name: 'Palau', code: 'PW'}, 
{name: 'Palestinian Territory, Occupied', code: 'PS'}, 
{name: 'Panama', code: 'PA'}, 
{name: 'Papua New Guinea', code: 'PG'}, 
{name: 'Paraguay', code: 'PY'}, 
{name: 'Peru', code: 'PE'}, 
{name: 'Philippines', code: 'PH'}, 
{name: 'Pitcairn', code: 'PN'}, 
{name: 'Poland', code: 'PL'}, 
{name: 'Portugal', code: 'PT'}, 
{name: 'Puerto Rico', code: 'PR'}, 
{name: 'Qatar', code: 'QA'}, 
{name: 'Reunion', code: 'RE'}, 
{name: 'Romania', code: 'RO'}, 
{name: 'Russian Federation', code: 'RU'}, 
{name: 'RWANDA', code: 'RW'}, 
{name: 'Saint Helena', code: 'SH'}, 
{name: 'Saint Kitts and Nevis', code: 'KN'}, 
{name: 'Saint Lucia', code: 'LC'}, 
{name: 'Saint Pierre and Miquelon', code: 'PM'}, 
{name: 'Saint Vincent and the Grenadines', code: 'VC'}, 
{name: 'Samoa', code: 'WS'}, 
{name: 'San Marino', code: 'SM'}, 
{name: 'Sao Tome and Principe', code: 'ST'}, 
{name: 'Saudi Arabia', code: 'SA'}, 
{name: 'Senegal', code: 'SN'}, 
{name: 'Serbia and Montenegro', code: 'CS'}, 
{name: 'Seychelles', code: 'SC'}, 
{name: 'Sierra Leone', code: 'SL'}, 
{name: 'Singapore', code: 'SG'}, 
{name: 'Slovakia', code: 'SK'}, 
{name: 'Slovenia', code: 'SI'}, 
{name: 'Solomon Islands', code: 'SB'}, 
{name: 'Somalia', code: 'SO'}, 
{name: 'South Africa', code: 'ZA'}, 
{name: 'South Georgia and the South Sandwich Islands', code: 'GS'}, 
{name: 'Spain', code: 'ES'}, 
{name: 'Sri Lanka', code: 'LK'}, 
{name: 'Sudan', code: 'SD'}, 
{name: 'Suriname', code: 'SR'}, 
{name: 'Svalbard and Jan Mayen', code: 'SJ'}, 
{name: 'Swaziland', code: 'SZ'}, 
{name: 'Sweden', code: 'SE'}, 
{name: 'Switzerland', code: 'CH'}, 
{name: 'Syrian Arab Republic', code: 'SY'}, 
{name: 'Taiwan, Province of China', code: 'TW'}, 
{name: 'Tajikistan', code: 'TJ'}, 
{name: 'Tanzania, United Republic of', code: 'TZ'}, 
{name: 'Thailand', code: 'TH'}, 
{name: 'Timor-Leste', code: 'TL'}, 
{name: 'Togo', code: 'TG'}, 
{name: 'Tokelau', code: 'TK'}, 
{name: 'Tonga', code: 'TO'}, 
{name: 'Trinidad and Tobago', code: 'TT'}, 
{name: 'Tunisia', code: 'TN'}, 
{name: 'Turkey', code: 'TR'}, 
{name: 'Turkmenistan', code: 'TM'}, 
{name: 'Turks and Caicos Islands', code: 'TC'}, 
{name: 'Tuvalu', code: 'TV'}, 
{name: 'Uganda', code: 'UG'}, 
{name: 'Ukraine', code: 'UA'}, 
{name: 'United Arab Emirates', code: 'AE'}, 
{name: 'United Kingdom', code: 'GB'}, 
{name: 'United States', code: 'US'}, 
{name: 'United States Minor Outlying Islands', code: 'UM'}, 
{name: 'Uruguay', code: 'UY'}, 
{name: 'Uzbekistan', code: 'UZ'}, 
{name: 'Vanuatu', code: 'VU'}, 
{name: 'Venezuela', code: 'VE'}, 
{name: 'Viet Nam', code: 'VN'}, 
{name: 'Virgin Islands, British', code: 'VG'}, 
{name: 'Virgin Islands, U.S.', code: 'VI'}, 
{name: 'Wallis and Futuna', code: 'WF'}, 
{name: 'Western Sahara', code: 'EH'}, 
{name: 'Yemen', code: 'YE'}, 
{name: 'Zambia', code: 'ZM'}, 
{name: 'Zimbabwe', code: 'ZW'} 
]

Request:

<?php

$projectKey = "{project_key}";
$url = "https://api.iso3166.org/country/get.php?group=all&lng=en&asof=2022";

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HTTPHEADER, [
    "Authorization: Basic " . base64_encode($projectKey),
]);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($curl);
curl_close($curl);

if ($response === false) {
    echo "cURL error: " . curl_error($curl);
} else {
    echo $response;
}

Respose:

[ 
{name: 'Afghanistan', code: 'AF'}, 
{name: 'Åland Islands', code: 'AX'}, 
{name: 'Albania', code: 'AL'}, 
{name: 'Algeria', code: 'DZ'}, 
{name: 'American Samoa', code: 'AS'}, 
{name: 'AndorrA', code: 'AD'}, 
{name: 'Angola', code: 'AO'}, 
{name: 'Anguilla', code: 'AI'}, 
{name: 'Antarctica', code: 'AQ'}, 
{name: 'Antigua and Barbuda', code: 'AG'}, 
{name: 'Argentina', code: 'AR'}, 
{name: 'Armenia', code: 'AM'}, 
{name: 'Aruba', code: 'AW'}, 
{name: 'Australia', code: 'AU'}, 
{name: 'Austria', code: 'AT'}, 
{name: 'Azerbaijan', code: 'AZ'}, 
{name: 'Bahamas', code: 'BS'}, 
{name: 'Bahrain', code: 'BH'}, 
{name: 'Bangladesh', code: 'BD'}, 
{name: 'Barbados', code: 'BB'}, 
{name: 'Belarus', code: 'BY'}, 
{name: 'Belgium', code: 'BE'}, 
{name: 'Belize', code: 'BZ'}, 
{name: 'Benin', code: 'BJ'}, 
{name: 'Bermuda', code: 'BM'}, 
{name: 'Bhutan', code: 'BT'}, 
{name: 'Bolivia', code: 'BO'}, 
{name: 'Bosnia and Herzegovina', code: 'BA'}, 
{name: 'Botswana', code: 'BW'}, 
{name: 'Bouvet Island', code: 'BV'}, 
{name: 'Brazil', code: 'BR'}, 
{name: 'British Indian Ocean Territory', code: 'IO'}, 
{name: 'Brunei Darussalam', code: 'BN'}, 
{name: 'Bulgaria', code: 'BG'}, 
{name: 'Burkina Faso', code: 'BF'}, 
{name: 'Burundi', code: 'BI'}, 
{name: 'Cambodia', code: 'KH'}, 
{name: 'Cameroon', code: 'CM'}, 
{name: 'Canada', code: 'CA'}, 
{name: 'Cape Verde', code: 'CV'}, 
{name: 'Cayman Islands', code: 'KY'}, 
{name: 'Central African Republic', code: 'CF'}, 
{name: 'Chad', code: 'TD'}, 
{name: 'Chile', code: 'CL'}, 
{name: 'China', code: 'CN'}, 
{name: 'Christmas Island', code: 'CX'}, 
{name: 'Cocos (Keeling) Islands', code: 'CC'}, 
{name: 'Colombia', code: 'CO'}, 
{name: 'Comoros', code: 'KM'}, 
{name: 'Congo', code: 'CG'}, 
{name: 'Congo, The Democratic Republic of the', code: 'CD'}, 
{name: 'Cook Islands', code: 'CK'}, 
{name: 'Costa Rica', code: 'CR'}, 
{name: 'Cote D\'Ivoire', code: 'CI'}, 
{name: 'Croatia', code: 'HR'}, 
{name: 'Cuba', code: 'CU'}, 
{name: 'Cyprus', code: 'CY'}, 
{name: 'Czech Republic', code: 'CZ'}, 
{name: 'Denmark', code: 'DK'}, 
{name: 'Djibouti', code: 'DJ'}, 
{name: 'Dominica', code: 'DM'}, 
{name: 'Dominican Republic', code: 'DO'}, 
{name: 'Ecuador', code: 'EC'}, 
{name: 'Egypt', code: 'EG'}, 
{name: 'El Salvador', code: 'SV'}, 
{name: 'Equatorial Guinea', code: 'GQ'}, 
{name: 'Eritrea', code: 'ER'}, 
{name: 'Estonia', code: 'EE'}, 
{name: 'Ethiopia', code: 'ET'}, 
{name: 'Falkland Islands (Malvinas)', code: 'FK'}, 
{name: 'Faroe Islands', code: 'FO'}, 
{name: 'Fiji', code: 'FJ'}, 
{name: 'Finland', code: 'FI'}, 
{name: 'France', code: 'FR'}, 
{name: 'French Guiana', code: 'GF'}, 
{name: 'French Polynesia', code: 'PF'}, 
{name: 'French Southern Territories', code: 'TF'}, 
{name: 'Gabon', code: 'GA'}, 
{name: 'Gambia', code: 'GM'}, 
{name: 'Georgia', code: 'GE'}, 
{name: 'Germany', code: 'DE'}, 
{name: 'Ghana', code: 'GH'}, 
{name: 'Gibraltar', code: 'GI'}, 
{name: 'Greece', code: 'GR'}, 
{name: 'Greenland', code: 'GL'}, 
{name: 'Grenada', code: 'GD'}, 
{name: 'Guadeloupe', code: 'GP'}, 
{name: 'Guam', code: 'GU'}, 
{name: 'Guatemala', code: 'GT'}, 
{name: 'Guernsey', code: 'GG'}, 
{name: 'Guinea', code: 'GN'}, 
{name: 'Guinea-Bissau', code: 'GW'}, 
{name: 'Guyana', code: 'GY'}, 
{name: 'Haiti', code: 'HT'}, 
{name: 'Heard Island and Mcdonald Islands', code: 'HM'}, 
{name: 'Holy See (Vatican City State)', code: 'VA'}, 
{name: 'Honduras', code: 'HN'}, 
{name: 'Hong Kong', code: 'HK'}, 
{name: 'Hungary', code: 'HU'}, 
{name: 'Iceland', code: 'IS'}, 
{name: 'India', code: 'IN'}, 
{name: 'Indonesia', code: 'ID'}, 
{name: 'Iran, Islamic Republic Of', code: 'IR'}, 
{name: 'Iraq', code: 'IQ'}, 
{name: 'Ireland', code: 'IE'}, 
{name: 'Isle of Man', code: 'IM'}, 
{name: 'Israel', code: 'IL'}, 
{name: 'Italy', code: 'IT'}, 
{name: 'Jamaica', code: 'JM'}, 
{name: 'Japan', code: 'JP'}, 
{name: 'Jersey', code: 'JE'}, 
{name: 'Jordan', code: 'JO'}, 
{name: 'Kazakhstan', code: 'KZ'}, 
{name: 'Kenya', code: 'KE'}, 
{name: 'Kiribati', code: 'KI'}, 
{name: 'Korea, Democratic People\'S Republic of', code: 'KP'}, 
{name: 'Korea, Republic of', code: 'KR'}, 
{name: 'Kuwait', code: 'KW'}, 
{name: 'Kosovo', code: 'XK'}, 
{name: 'Kyrgyzstan', code: 'KG'}, 
{name: 'Lao People\'S Democratic Republic', code: 'LA'}, 
{name: 'Latvia', code: 'LV'}, 
{name: 'Lebanon', code: 'LB'}, 
{name: 'Lesotho', code: 'LS'}, 
{name: 'Liberia', code: 'LR'}, 
{name: 'Libyan Arab Jamahiriya', code: 'LY'}, 
{name: 'Liechtenstein', code: 'LI'}, 
{name: 'Lithuania', code: 'LT'}, 
{name: 'Luxembourg', code: 'LU'}, 
{name: 'Macao', code: 'MO'}, 
{name: 'North Macedonia', code: 'MK'}, 
{name: 'Madagascar', code: 'MG'}, 
{name: 'Malawi', code: 'MW'}, 
{name: 'Malaysia', code: 'MY'}, 
{name: 'Maldives', code: 'MV'}, 
{name: 'Mali', code: 'ML'}, 
{name: 'Malta', code: 'MT'}, 
{name: 'Marshall Islands', code: 'MH'}, 
{name: 'Martinique', code: 'MQ'}, 
{name: 'Mauritania', code: 'MR'}, 
{name: 'Mauritius', code: 'MU'}, 
{name: 'Mayotte', code: 'YT'}, 
{name: 'Mexico', code: 'MX'}, 
{name: 'Micronesia, Federated States of', code: 'FM'}, 
{name: 'Moldova, Republic of', code: 'MD'}, 
{name: 'Monaco', code: 'MC'}, 
{name: 'Mongolia', code: 'MN'}, 
{name: 'Montserrat', code: 'MS'}, 
{name: 'Morocco', code: 'MA'}, 
{name: 'Mozambique', code: 'MZ'}, 
{name: 'Myanmar', code: 'MM'}, 
{name: 'Namibia', code: 'NA'}, 
{name: 'Nauru', code: 'NR'}, 
{name: 'Nepal', code: 'NP'}, 
{name: 'Netherlands', code: 'NL'}, 
{name: 'Netherlands Antilles', code: 'AN'}, 
{name: 'New Caledonia', code: 'NC'}, 
{name: 'New Zealand', code: 'NZ'}, 
{name: 'Nicaragua', code: 'NI'}, 
{name: 'Niger', code: 'NE'}, 
{name: 'Nigeria', code: 'NG'}, 
{name: 'Niue', code: 'NU'}, 
{name: 'Norfolk Island', code: 'NF'}, 
{name: 'Northern Mariana Islands', code: 'MP'}, 
{name: 'Norway', code: 'NO'}, 
{name: 'Oman', code: 'OM'}, 
{name: 'Pakistan', code: 'PK'}, 
{name: 'Palau', code: 'PW'}, 
{name: 'Palestinian Territory, Occupied', code: 'PS'}, 
{name: 'Panama', code: 'PA'}, 
{name: 'Papua New Guinea', code: 'PG'}, 
{name: 'Paraguay', code: 'PY'}, 
{name: 'Peru', code: 'PE'}, 
{name: 'Philippines', code: 'PH'}, 
{name: 'Pitcairn', code: 'PN'}, 
{name: 'Poland', code: 'PL'}, 
{name: 'Portugal', code: 'PT'}, 
{name: 'Puerto Rico', code: 'PR'}, 
{name: 'Qatar', code: 'QA'}, 
{name: 'Reunion', code: 'RE'}, 
{name: 'Romania', code: 'RO'}, 
{name: 'Russian Federation', code: 'RU'}, 
{name: 'RWANDA', code: 'RW'}, 
{name: 'Saint Helena', code: 'SH'}, 
{name: 'Saint Kitts and Nevis', code: 'KN'}, 
{name: 'Saint Lucia', code: 'LC'}, 
{name: 'Saint Pierre and Miquelon', code: 'PM'}, 
{name: 'Saint Vincent and the Grenadines', code: 'VC'}, 
{name: 'Samoa', code: 'WS'}, 
{name: 'San Marino', code: 'SM'}, 
{name: 'Sao Tome and Principe', code: 'ST'}, 
{name: 'Saudi Arabia', code: 'SA'}, 
{name: 'Senegal', code: 'SN'}, 
{name: 'Serbia and Montenegro', code: 'CS'}, 
{name: 'Seychelles', code: 'SC'}, 
{name: 'Sierra Leone', code: 'SL'}, 
{name: 'Singapore', code: 'SG'}, 
{name: 'Slovakia', code: 'SK'}, 
{name: 'Slovenia', code: 'SI'}, 
{name: 'Solomon Islands', code: 'SB'}, 
{name: 'Somalia', code: 'SO'}, 
{name: 'South Africa', code: 'ZA'}, 
{name: 'South Georgia and the South Sandwich Islands', code: 'GS'}, 
{name: 'Spain', code: 'ES'}, 
{name: 'Sri Lanka', code: 'LK'}, 
{name: 'Sudan', code: 'SD'}, 
{name: 'Suriname', code: 'SR'}, 
{name: 'Svalbard and Jan Mayen', code: 'SJ'}, 
{name: 'Swaziland', code: 'SZ'}, 
{name: 'Sweden', code: 'SE'}, 
{name: 'Switzerland', code: 'CH'}, 
{name: 'Syrian Arab Republic', code: 'SY'}, 
{name: 'Taiwan, Province of China', code: 'TW'}, 
{name: 'Tajikistan', code: 'TJ'}, 
{name: 'Tanzania, United Republic of', code: 'TZ'}, 
{name: 'Thailand', code: 'TH'}, 
{name: 'Timor-Leste', code: 'TL'}, 
{name: 'Togo', code: 'TG'}, 
{name: 'Tokelau', code: 'TK'}, 
{name: 'Tonga', code: 'TO'}, 
{name: 'Trinidad and Tobago', code: 'TT'}, 
{name: 'Tunisia', code: 'TN'}, 
{name: 'Turkey', code: 'TR'}, 
{name: 'Turkmenistan', code: 'TM'}, 
{name: 'Turks and Caicos Islands', code: 'TC'}, 
{name: 'Tuvalu', code: 'TV'}, 
{name: 'Uganda', code: 'UG'}, 
{name: 'Ukraine', code: 'UA'}, 
{name: 'United Arab Emirates', code: 'AE'}, 
{name: 'United Kingdom', code: 'GB'}, 
{name: 'United States', code: 'US'}, 
{name: 'United States Minor Outlying Islands', code: 'UM'}, 
{name: 'Uruguay', code: 'UY'}, 
{name: 'Uzbekistan', code: 'UZ'}, 
{name: 'Vanuatu', code: 'VU'}, 
{name: 'Venezuela', code: 'VE'}, 
{name: 'Viet Nam', code: 'VN'}, 
{name: 'Virgin Islands, British', code: 'VG'}, 
{name: 'Virgin Islands, U.S.', code: 'VI'}, 
{name: 'Wallis and Futuna', code: 'WF'}, 
{name: 'Western Sahara', code: 'EH'}, 
{name: 'Yemen', code: 'YE'}, 
{name: 'Zambia', code: 'ZM'}, 
{name: 'Zimbabwe', code: 'ZW'} 
]

Request:

.ajax({
  url: "https://api.iso3166.org/country/get.php?group=all&lng=en&asof=2022",
  headers: {
    'Authorization': 'Basic ' + btoa('{project_key}')
  },
  success: function(data) {
    console.log(data);
  }
});

Respose:

[ 
{name: 'Afghanistan', code: 'AF'}, 
{name: 'Åland Islands', code: 'AX'}, 
{name: 'Albania', code: 'AL'}, 
{name: 'Algeria', code: 'DZ'}, 
{name: 'American Samoa', code: 'AS'}, 
{name: 'AndorrA', code: 'AD'}, 
{name: 'Angola', code: 'AO'}, 
{name: 'Anguilla', code: 'AI'}, 
{name: 'Antarctica', code: 'AQ'}, 
{name: 'Antigua and Barbuda', code: 'AG'}, 
{name: 'Argentina', code: 'AR'}, 
{name: 'Armenia', code: 'AM'}, 
{name: 'Aruba', code: 'AW'}, 
{name: 'Australia', code: 'AU'}, 
{name: 'Austria', code: 'AT'}, 
{name: 'Azerbaijan', code: 'AZ'}, 
{name: 'Bahamas', code: 'BS'}, 
{name: 'Bahrain', code: 'BH'}, 
{name: 'Bangladesh', code: 'BD'}, 
{name: 'Barbados', code: 'BB'}, 
{name: 'Belarus', code: 'BY'}, 
{name: 'Belgium', code: 'BE'}, 
{name: 'Belize', code: 'BZ'}, 
{name: 'Benin', code: 'BJ'}, 
{name: 'Bermuda', code: 'BM'}, 
{name: 'Bhutan', code: 'BT'}, 
{name: 'Bolivia', code: 'BO'}, 
{name: 'Bosnia and Herzegovina', code: 'BA'}, 
{name: 'Botswana', code: 'BW'}, 
{name: 'Bouvet Island', code: 'BV'}, 
{name: 'Brazil', code: 'BR'}, 
{name: 'British Indian Ocean Territory', code: 'IO'}, 
{name: 'Brunei Darussalam', code: 'BN'}, 
{name: 'Bulgaria', code: 'BG'}, 
{name: 'Burkina Faso', code: 'BF'}, 
{name: 'Burundi', code: 'BI'}, 
{name: 'Cambodia', code: 'KH'}, 
{name: 'Cameroon', code: 'CM'}, 
{name: 'Canada', code: 'CA'}, 
{name: 'Cape Verde', code: 'CV'}, 
{name: 'Cayman Islands', code: 'KY'}, 
{name: 'Central African Republic', code: 'CF'}, 
{name: 'Chad', code: 'TD'}, 
{name: 'Chile', code: 'CL'}, 
{name: 'China', code: 'CN'}, 
{name: 'Christmas Island', code: 'CX'}, 
{name: 'Cocos (Keeling) Islands', code: 'CC'}, 
{name: 'Colombia', code: 'CO'}, 
{name: 'Comoros', code: 'KM'}, 
{name: 'Congo', code: 'CG'}, 
{name: 'Congo, The Democratic Republic of the', code: 'CD'}, 
{name: 'Cook Islands', code: 'CK'}, 
{name: 'Costa Rica', code: 'CR'}, 
{name: 'Cote D\'Ivoire', code: 'CI'}, 
{name: 'Croatia', code: 'HR'}, 
{name: 'Cuba', code: 'CU'}, 
{name: 'Cyprus', code: 'CY'}, 
{name: 'Czech Republic', code: 'CZ'}, 
{name: 'Denmark', code: 'DK'}, 
{name: 'Djibouti', code: 'DJ'}, 
{name: 'Dominica', code: 'DM'}, 
{name: 'Dominican Republic', code: 'DO'}, 
{name: 'Ecuador', code: 'EC'}, 
{name: 'Egypt', code: 'EG'}, 
{name: 'El Salvador', code: 'SV'}, 
{name: 'Equatorial Guinea', code: 'GQ'}, 
{name: 'Eritrea', code: 'ER'}, 
{name: 'Estonia', code: 'EE'}, 
{name: 'Ethiopia', code: 'ET'}, 
{name: 'Falkland Islands (Malvinas)', code: 'FK'}, 
{name: 'Faroe Islands', code: 'FO'}, 
{name: 'Fiji', code: 'FJ'}, 
{name: 'Finland', code: 'FI'}, 
{name: 'France', code: 'FR'}, 
{name: 'French Guiana', code: 'GF'}, 
{name: 'French Polynesia', code: 'PF'}, 
{name: 'French Southern Territories', code: 'TF'}, 
{name: 'Gabon', code: 'GA'}, 
{name: 'Gambia', code: 'GM'}, 
{name: 'Georgia', code: 'GE'}, 
{name: 'Germany', code: 'DE'}, 
{name: 'Ghana', code: 'GH'}, 
{name: 'Gibraltar', code: 'GI'}, 
{name: 'Greece', code: 'GR'}, 
{name: 'Greenland', code: 'GL'}, 
{name: 'Grenada', code: 'GD'}, 
{name: 'Guadeloupe', code: 'GP'}, 
{name: 'Guam', code: 'GU'}, 
{name: 'Guatemala', code: 'GT'}, 
{name: 'Guernsey', code: 'GG'}, 
{name: 'Guinea', code: 'GN'}, 
{name: 'Guinea-Bissau', code: 'GW'}, 
{name: 'Guyana', code: 'GY'}, 
{name: 'Haiti', code: 'HT'}, 
{name: 'Heard Island and Mcdonald Islands', code: 'HM'}, 
{name: 'Holy See (Vatican City State)', code: 'VA'}, 
{name: 'Honduras', code: 'HN'}, 
{name: 'Hong Kong', code: 'HK'}, 
{name: 'Hungary', code: 'HU'}, 
{name: 'Iceland', code: 'IS'}, 
{name: 'India', code: 'IN'}, 
{name: 'Indonesia', code: 'ID'}, 
{name: 'Iran, Islamic Republic Of', code: 'IR'}, 
{name: 'Iraq', code: 'IQ'}, 
{name: 'Ireland', code: 'IE'}, 
{name: 'Isle of Man', code: 'IM'}, 
{name: 'Israel', code: 'IL'}, 
{name: 'Italy', code: 'IT'}, 
{name: 'Jamaica', code: 'JM'}, 
{name: 'Japan', code: 'JP'}, 
{name: 'Jersey', code: 'JE'}, 
{name: 'Jordan', code: 'JO'}, 
{name: 'Kazakhstan', code: 'KZ'}, 
{name: 'Kenya', code: 'KE'}, 
{name: 'Kiribati', code: 'KI'}, 
{name: 'Korea, Democratic People\'S Republic of', code: 'KP'}, 
{name: 'Korea, Republic of', code: 'KR'}, 
{name: 'Kuwait', code: 'KW'}, 
{name: 'Kosovo', code: 'XK'}, 
{name: 'Kyrgyzstan', code: 'KG'}, 
{name: 'Lao People\'S Democratic Republic', code: 'LA'}, 
{name: 'Latvia', code: 'LV'}, 
{name: 'Lebanon', code: 'LB'}, 
{name: 'Lesotho', code: 'LS'}, 
{name: 'Liberia', code: 'LR'}, 
{name: 'Libyan Arab Jamahiriya', code: 'LY'}, 
{name: 'Liechtenstein', code: 'LI'}, 
{name: 'Lithuania', code: 'LT'}, 
{name: 'Luxembourg', code: 'LU'}, 
{name: 'Macao', code: 'MO'}, 
{name: 'Macedonia, The Former Yugoslav Republic of', code: 'MK'}, 
{name: 'Madagascar', code: 'MG'}, 
{name: 'Malawi', code: 'MW'}, 
{name: 'Malaysia', code: 'MY'}, 
{name: 'Maldives', code: 'MV'}, 
{name: 'Mali', code: 'ML'}, 
{name: 'Malta', code: 'MT'}, 
{name: 'Marshall Islands', code: 'MH'}, 
{name: 'Martinique', code: 'MQ'}, 
{name: 'Mauritania', code: 'MR'}, 
{name: 'Mauritius', code: 'MU'}, 
{name: 'Mayotte', code: 'YT'}, 
{name: 'Mexico', code: 'MX'}, 
{name: 'Micronesia, Federated States of', code: 'FM'}, 
{name: 'Moldova, Republic of', code: 'MD'}, 
{name: 'Monaco', code: 'MC'}, 
{name: 'Mongolia', code: 'MN'}, 
{name: 'Montserrat', code: 'MS'}, 
{name: 'Morocco', code: 'MA'}, 
{name: 'Mozambique', code: 'MZ'}, 
{name: 'Myanmar', code: 'MM'}, 
{name: 'Namibia', code: 'NA'}, 
{name: 'Nauru', code: 'NR'}, 
{name: 'Nepal', code: 'NP'}, 
{name: 'Netherlands', code: 'NL'}, 
{name: 'Netherlands Antilles', code: 'AN'}, 
{name: 'New Caledonia', code: 'NC'}, 
{name: 'New Zealand', code: 'NZ'}, 
{name: 'Nicaragua', code: 'NI'}, 
{name: 'Niger', code: 'NE'}, 
{name: 'Nigeria', code: 'NG'}, 
{name: 'Niue', code: 'NU'}, 
{name: 'Norfolk Island', code: 'NF'}, 
{name: 'Northern Mariana Islands', code: 'MP'}, 
{name: 'Norway', code: 'NO'}, 
{name: 'Oman', code: 'OM'}, 
{name: 'Pakistan', code: 'PK'}, 
{name: 'Palau', code: 'PW'}, 
{name: 'Palestinian Territory, Occupied', code: 'PS'}, 
{name: 'Panama', code: 'PA'}, 
{name: 'Papua New Guinea', code: 'PG'}, 
{name: 'Paraguay', code: 'PY'}, 
{name: 'Peru', code: 'PE'}, 
{name: 'Philippines', code: 'PH'}, 
{name: 'Pitcairn', code: 'PN'}, 
{name: 'Poland', code: 'PL'}, 
{name: 'Portugal', code: 'PT'}, 
{name: 'Puerto Rico', code: 'PR'}, 
{name: 'Qatar', code: 'QA'}, 
{name: 'Reunion', code: 'RE'}, 
{name: 'Romania', code: 'RO'}, 
{name: 'Russian Federation', code: 'RU'}, 
{name: 'RWANDA', code: 'RW'}, 
{name: 'Saint Helena', code: 'SH'}, 
{name: 'Saint Kitts and Nevis', code: 'KN'}, 
{name: 'Saint Lucia', code: 'LC'}, 
{name: 'Saint Pierre and Miquelon', code: 'PM'}, 
{name: 'Saint Vincent and the Grenadines', code: 'VC'}, 
{name: 'Samoa', code: 'WS'}, 
{name: 'San Marino', code: 'SM'}, 
{name: 'Sao Tome and Principe', code: 'ST'}, 
{name: 'Saudi Arabia', code: 'SA'}, 
{name: 'Senegal', code: 'SN'}, 
{name: 'Serbia and Montenegro', code: 'CS'}, 
{name: 'Seychelles', code: 'SC'}, 
{name: 'Sierra Leone', code: 'SL'}, 
{name: 'Singapore', code: 'SG'}, 
{name: 'Slovakia', code: 'SK'}, 
{name: 'Slovenia', code: 'SI'}, 
{name: 'Solomon Islands', code: 'SB'}, 
{name: 'Somalia', code: 'SO'}, 
{name: 'South Africa', code: 'ZA'}, 
{name: 'South Georgia and the South Sandwich Islands', code: 'GS'}, 
{name: 'Spain', code: 'ES'}, 
{name: 'Sri Lanka', code: 'LK'}, 
{name: 'Sudan', code: 'SD'}, 
{name: 'Suriname', code: 'SR'}, 
{name: 'Svalbard and Jan Mayen', code: 'SJ'}, 
{name: 'Swaziland', code: 'SZ'}, 
{name: 'Sweden', code: 'SE'}, 
{name: 'Switzerland', code: 'CH'}, 
{name: 'Syrian Arab Republic', code: 'SY'}, 
{name: 'Taiwan, Province of China', code: 'TW'}, 
{name: 'Tajikistan', code: 'TJ'}, 
{name: 'Tanzania, United Republic of', code: 'TZ'}, 
{name: 'Thailand', code: 'TH'}, 
{name: 'Timor-Leste', code: 'TL'}, 
{name: 'Togo', code: 'TG'}, 
{name: 'Tokelau', code: 'TK'}, 
{name: 'Tonga', code: 'TO'}, 
{name: 'Trinidad and Tobago', code: 'TT'}, 
{name: 'Tunisia', code: 'TN'}, 
{name: 'Turkey', code: 'TR'}, 
{name: 'Turkmenistan', code: 'TM'}, 
{name: 'Turks and Caicos Islands', code: 'TC'}, 
{name: 'Tuvalu', code: 'TV'}, 
{name: 'Uganda', code: 'UG'}, 
{name: 'Ukraine', code: 'UA'}, 
{name: 'United Arab Emirates', code: 'AE'}, 
{name: 'United Kingdom', code: 'GB'}, 
{name: 'United States', code: 'US'}, 
{name: 'United States Minor Outlying Islands', code: 'UM'}, 
{name: 'Uruguay', code: 'UY'}, 
{name: 'Uzbekistan', code: 'UZ'}, 
{name: 'Vanuatu', code: 'VU'}, 
{name: 'Venezuela', code: 'VE'}, 
{name: 'Viet Nam', code: 'VN'}, 
{name: 'Virgin Islands, British', code: 'VG'}, 
{name: 'Virgin Islands, U.S.', code: 'VI'}, 
{name: 'Wallis and Futuna', code: 'WF'}, 
{name: 'Western Sahara', code: 'EH'}, 
{name: 'Yemen', code: 'YE'}, 
{name: 'Zambia', code: 'ZM'}, 
{name: 'Zimbabwe', code: 'ZW'} 
]

Request:

curl -u "{project_key}" \
"https://api.iso3166.org/country/get.php?group=all&lng=en&asof=2022"

Respose:

[ 
{name: 'Afghanistan', code: 'AF'}, 
{name: 'Åland Islands', code: 'AX'}, 
{name: 'Albania', code: 'AL'}, 
{name: 'Algeria', code: 'DZ'}, 
{name: 'American Samoa', code: 'AS'}, 
{name: 'AndorrA', code: 'AD'}, 
{name: 'Angola', code: 'AO'}, 
{name: 'Anguilla', code: 'AI'}, 
{name: 'Antarctica', code: 'AQ'}, 
{name: 'Antigua and Barbuda', code: 'AG'}, 
{name: 'Argentina', code: 'AR'}, 
{name: 'Armenia', code: 'AM'}, 
{name: 'Aruba', code: 'AW'}, 
{name: 'Australia', code: 'AU'}, 
{name: 'Austria', code: 'AT'}, 
{name: 'Azerbaijan', code: 'AZ'}, 
{name: 'Bahamas', code: 'BS'}, 
{name: 'Bahrain', code: 'BH'}, 
{name: 'Bangladesh', code: 'BD'}, 
{name: 'Barbados', code: 'BB'}, 
{name: 'Belarus', code: 'BY'}, 
{name: 'Belgium', code: 'BE'}, 
{name: 'Belize', code: 'BZ'}, 
{name: 'Benin', code: 'BJ'}, 
{name: 'Bermuda', code: 'BM'}, 
{name: 'Bhutan', code: 'BT'}, 
{name: 'Bolivia', code: 'BO'}, 
{name: 'Bosnia and Herzegovina', code: 'BA'}, 
{name: 'Botswana', code: 'BW'}, 
{name: 'Bouvet Island', code: 'BV'}, 
{name: 'Brazil', code: 'BR'}, 
{name: 'British Indian Ocean Territory', code: 'IO'}, 
{name: 'Brunei Darussalam', code: 'BN'}, 
{name: 'Bulgaria', code: 'BG'}, 
{name: 'Burkina Faso', code: 'BF'}, 
{name: 'Burundi', code: 'BI'}, 
{name: 'Cambodia', code: 'KH'}, 
{name: 'Cameroon', code: 'CM'}, 
{name: 'Canada', code: 'CA'}, 
{name: 'Cape Verde', code: 'CV'}, 
{name: 'Cayman Islands', code: 'KY'}, 
{name: 'Central African Republic', code: 'CF'}, 
{name: 'Chad', code: 'TD'}, 
{name: 'Chile', code: 'CL'}, 
{name: 'China', code: 'CN'}, 
{name: 'Christmas Island', code: 'CX'}, 
{name: 'Cocos (Keeling) Islands', code: 'CC'}, 
{name: 'Colombia', code: 'CO'}, 
{name: 'Comoros', code: 'KM'}, 
{name: 'Congo', code: 'CG'}, 
{name: 'Congo, The Democratic Republic of the', code: 'CD'}, 
{name: 'Cook Islands', code: 'CK'}, 
{name: 'Costa Rica', code: 'CR'}, 
{name: 'Cote D\'Ivoire', code: 'CI'}, 
{name: 'Croatia', code: 'HR'}, 
{name: 'Cuba', code: 'CU'}, 
{name: 'Cyprus', code: 'CY'}, 
{name: 'Czech Republic', code: 'CZ'}, 
{name: 'Denmark', code: 'DK'}, 
{name: 'Djibouti', code: 'DJ'}, 
{name: 'Dominica', code: 'DM'}, 
{name: 'Dominican Republic', code: 'DO'}, 
{name: 'Ecuador', code: 'EC'}, 
{name: 'Egypt', code: 'EG'}, 
{name: 'El Salvador', code: 'SV'}, 
{name: 'Equatorial Guinea', code: 'GQ'}, 
{name: 'Eritrea', code: 'ER'}, 
{name: 'Estonia', code: 'EE'}, 
{name: 'Ethiopia', code: 'ET'}, 
{name: 'Falkland Islands (Malvinas)', code: 'FK'}, 
{name: 'Faroe Islands', code: 'FO'}, 
{name: 'Fiji', code: 'FJ'}, 
{name: 'Finland', code: 'FI'}, 
{name: 'France', code: 'FR'}, 
{name: 'French Guiana', code: 'GF'}, 
{name: 'French Polynesia', code: 'PF'}, 
{name: 'French Southern Territories', code: 'TF'}, 
{name: 'Gabon', code: 'GA'}, 
{name: 'Gambia', code: 'GM'}, 
{name: 'Georgia', code: 'GE'}, 
{name: 'Germany', code: 'DE'}, 
{name: 'Ghana', code: 'GH'}, 
{name: 'Gibraltar', code: 'GI'}, 
{name: 'Greece', code: 'GR'}, 
{name: 'Greenland', code: 'GL'}, 
{name: 'Grenada', code: 'GD'}, 
{name: 'Guadeloupe', code: 'GP'}, 
{name: 'Guam', code: 'GU'}, 
{name: 'Guatemala', code: 'GT'}, 
{name: 'Guernsey', code: 'GG'}, 
{name: 'Guinea', code: 'GN'}, 
{name: 'Guinea-Bissau', code: 'GW'}, 
{name: 'Guyana', code: 'GY'}, 
{name: 'Haiti', code: 'HT'}, 
{name: 'Heard Island and Mcdonald Islands', code: 'HM'}, 
{name: 'Holy See (Vatican City State)', code: 'VA'}, 
{name: 'Honduras', code: 'HN'}, 
{name: 'Hong Kong', code: 'HK'}, 
{name: 'Hungary', code: 'HU'}, 
{name: 'Iceland', code: 'IS'}, 
{name: 'India', code: 'IN'}, 
{name: 'Indonesia', code: 'ID'}, 
{name: 'Iran, Islamic Republic Of', code: 'IR'}, 
{name: 'Iraq', code: 'IQ'}, 
{name: 'Ireland', code: 'IE'}, 
{name: 'Isle of Man', code: 'IM'}, 
{name: 'Israel', code: 'IL'}, 
{name: 'Italy', code: 'IT'}, 
{name: 'Jamaica', code: 'JM'}, 
{name: 'Japan', code: 'JP'}, 
{name: 'Jersey', code: 'JE'}, 
{name: 'Jordan', code: 'JO'}, 
{name: 'Kazakhstan', code: 'KZ'}, 
{name: 'Kenya', code: 'KE'}, 
{name: 'Kiribati', code: 'KI'}, 
{name: 'Korea, Democratic People\'S Republic of', code: 'KP'}, 
{name: 'Korea, Republic of', code: 'KR'}, 
{name: 'Kuwait', code: 'KW'}, 
{name: 'Kosovo', code: 'XK'}, 
{name: 'Kyrgyzstan', code: 'KG'}, 
{name: 'Lao People\'S Democratic Republic', code: 'LA'}, 
{name: 'Latvia', code: 'LV'}, 
{name: 'Lebanon', code: 'LB'}, 
{name: 'Lesotho', code: 'LS'}, 
{name: 'Liberia', code: 'LR'}, 
{name: 'Libyan Arab Jamahiriya', code: 'LY'}, 
{name: 'Liechtenstein', code: 'LI'}, 
{name: 'Lithuania', code: 'LT'}, 
{name: 'Luxembourg', code: 'LU'}, 
{name: 'Macao', code: 'MO'}, 
{name: 'Macedonia, The Former Yugoslav Republic of', code: 'MK'}, 
{name: 'Madagascar', code: 'MG'}, 
{name: 'Malawi', code: 'MW'}, 
{name: 'Malaysia', code: 'MY'}, 
{name: 'Maldives', code: 'MV'}, 
{name: 'Mali', code: 'ML'}, 
{name: 'Malta', code: 'MT'}, 
{name: 'Marshall Islands', code: 'MH'}, 
{name: 'Martinique', code: 'MQ'}, 
{name: 'Mauritania', code: 'MR'}, 
{name: 'Mauritius', code: 'MU'}, 
{name: 'Mayotte', code: 'YT'}, 
{name: 'Mexico', code: 'MX'}, 
{name: 'Micronesia, Federated States of', code: 'FM'}, 
{name: 'Moldova, Republic of', code: 'MD'}, 
{name: 'Monaco', code: 'MC'}, 
{name: 'Mongolia', code: 'MN'}, 
{name: 'Montserrat', code: 'MS'}, 
{name: 'Morocco', code: 'MA'}, 
{name: 'Mozambique', code: 'MZ'}, 
{name: 'Myanmar', code: 'MM'}, 
{name: 'Namibia', code: 'NA'}, 
{name: 'Nauru', code: 'NR'}, 
{name: 'Nepal', code: 'NP'}, 
{name: 'Netherlands', code: 'NL'}, 
{name: 'Netherlands Antilles', code: 'AN'}, 
{name: 'New Caledonia', code: 'NC'}, 
{name: 'New Zealand', code: 'NZ'}, 
{name: 'Nicaragua', code: 'NI'}, 
{name: 'Niger', code: 'NE'}, 
{name: 'Nigeria', code: 'NG'}, 
{name: 'Niue', code: 'NU'}, 
{name: 'Norfolk Island', code: 'NF'}, 
{name: 'Northern Mariana Islands', code: 'MP'}, 
{name: 'Norway', code: 'NO'}, 
{name: 'Oman', code: 'OM'}, 
{name: 'Pakistan', code: 'PK'}, 
{name: 'Palau', code: 'PW'}, 
{name: 'Palestinian Territory, Occupied', code: 'PS'}, 
{name: 'Panama', code: 'PA'}, 
{name: 'Papua New Guinea', code: 'PG'}, 
{name: 'Paraguay', code: 'PY'}, 
{name: 'Peru', code: 'PE'}, 
{name: 'Philippines', code: 'PH'}, 
{name: 'Pitcairn', code: 'PN'}, 
{name: 'Poland', code: 'PL'}, 
{name: 'Portugal', code: 'PT'}, 
{name: 'Puerto Rico', code: 'PR'}, 
{name: 'Qatar', code: 'QA'}, 
{name: 'Reunion', code: 'RE'}, 
{name: 'Romania', code: 'RO'}, 
{name: 'Russian Federation', code: 'RU'}, 
{name: 'RWANDA', code: 'RW'}, 
{name: 'Saint Helena', code: 'SH'}, 
{name: 'Saint Kitts and Nevis', code: 'KN'}, 
{name: 'Saint Lucia', code: 'LC'}, 
{name: 'Saint Pierre and Miquelon', code: 'PM'}, 
{name: 'Saint Vincent and the Grenadines', code: 'VC'}, 
{name: 'Samoa', code: 'WS'}, 
{name: 'San Marino', code: 'SM'}, 
{name: 'Sao Tome and Principe', code: 'ST'}, 
{name: 'Saudi Arabia', code: 'SA'}, 
{name: 'Senegal', code: 'SN'}, 
{name: 'Serbia and Montenegro', code: 'CS'}, 
{name: 'Seychelles', code: 'SC'}, 
{name: 'Sierra Leone', code: 'SL'}, 
{name: 'Singapore', code: 'SG'}, 
{name: 'Slovakia', code: 'SK'}, 
{name: 'Slovenia', code: 'SI'}, 
{name: 'Solomon Islands', code: 'SB'}, 
{name: 'Somalia', code: 'SO'}, 
{name: 'South Africa', code: 'ZA'}, 
{name: 'South Georgia and the South Sandwich Islands', code: 'GS'}, 
{name: 'Spain', code: 'ES'}, 
{name: 'Sri Lanka', code: 'LK'}, 
{name: 'Sudan', code: 'SD'}, 
{name: 'Suriname', code: 'SR'}, 
{name: 'Svalbard and Jan Mayen', code: 'SJ'}, 
{name: 'Swaziland', code: 'SZ'}, 
{name: 'Sweden', code: 'SE'}, 
{name: 'Switzerland', code: 'CH'}, 
{name: 'Syrian Arab Republic', code: 'SY'}, 
{name: 'Taiwan, Province of China', code: 'TW'}, 
{name: 'Tajikistan', code: 'TJ'}, 
{name: 'Tanzania, United Republic of', code: 'TZ'}, 
{name: 'Thailand', code: 'TH'}, 
{name: 'Timor-Leste', code: 'TL'}, 
{name: 'Togo', code: 'TG'}, 
{name: 'Tokelau', code: 'TK'}, 
{name: 'Tonga', code: 'TO'}, 
{name: 'Trinidad and Tobago', code: 'TT'}, 
{name: 'Tunisia', code: 'TN'}, 
{name: 'Turkey', code: 'TR'}, 
{name: 'Turkmenistan', code: 'TM'}, 
{name: 'Turks and Caicos Islands', code: 'TC'}, 
{name: 'Tuvalu', code: 'TV'}, 
{name: 'Uganda', code: 'UG'}, 
{name: 'Ukraine', code: 'UA'}, 
{name: 'United Arab Emirates', code: 'AE'}, 
{name: 'United Kingdom', code: 'GB'}, 
{name: 'United States', code: 'US'}, 
{name: 'United States Minor Outlying Islands', code: 'UM'}, 
{name: 'Uruguay', code: 'UY'}, 
{name: 'Uzbekistan', code: 'UZ'}, 
{name: 'Vanuatu', code: 'VU'}, 
{name: 'Venezuela', code: 'VE'}, 
{name: 'Viet Nam', code: 'VN'}, 
{name: 'Virgin Islands, British', code: 'VG'}, 
{name: 'Virgin Islands, U.S.', code: 'VI'}, 
{name: 'Wallis and Futuna', code: 'WF'}, 
{name: 'Western Sahara', code: 'EH'}, 
{name: 'Yemen', code: 'YE'}, 
{name: 'Zambia', code: 'ZM'}, 
{name: 'Zimbabwe', code: 'ZW'} 
]

Request:


 #include <QCoreApplication>
#include <QUrl>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <iostream>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    // Replace "{project_key}" with your actual project key
    QString projectKey = "{project_key}";

    // Construct the URL
    QUrl url("https://api.iso3166.org/country/get.php?group=all&lng=en&asof=2022");

    // Create the network access manager
    QNetworkAccessManager manager;

    // Set the authorization header
    QNetworkRequest request;
    request.setHeader(QNetworkRequest::AuthorizationHeader, QBasicAuthentication("project_key", projectKey));
    request.setUrl(url);

    // Send the request and handle the response
    QNetworkReply *reply = manager.get(request);
    QObject::connect(reply, &QNetworkReply::finished, [&reply]() {
        if (reply->error() == QNetworkReply::NoError) {
            std::cout << reply->readAll().data() << std::endl;
        } else {
            std::cerr << "Error: " << reply->errorString().toStdString() << std::endl;
        }
    });

    return a.exec();
}



Respose:

[ 
{name: 'Afghanistan', code: 'AF'}, 
{name: 'Åland Islands', code: 'AX'}, 
{name: 'Albania', code: 'AL'}, 
{name: 'Algeria', code: 'DZ'}, 
{name: 'American Samoa', code: 'AS'}, 
{name: 'AndorrA', code: 'AD'}, 
{name: 'Angola', code: 'AO'}, 
{name: 'Anguilla', code: 'AI'}, 
{name: 'Antarctica', code: 'AQ'}, 
{name: 'Antigua and Barbuda', code: 'AG'}, 
{name: 'Argentina', code: 'AR'}, 
{name: 'Armenia', code: 'AM'}, 
{name: 'Aruba', code: 'AW'}, 
{name: 'Australia', code: 'AU'}, 
{name: 'Austria', code: 'AT'}, 
{name: 'Azerbaijan', code: 'AZ'}, 
{name: 'Bahamas', code: 'BS'}, 
{name: 'Bahrain', code: 'BH'}, 
{name: 'Bangladesh', code: 'BD'}, 
{name: 'Barbados', code: 'BB'}, 
{name: 'Belarus', code: 'BY'}, 
{name: 'Belgium', code: 'BE'}, 
{name: 'Belize', code: 'BZ'}, 
{name: 'Benin', code: 'BJ'}, 
{name: 'Bermuda', code: 'BM'}, 
{name: 'Bhutan', code: 'BT'}, 
{name: 'Bolivia', code: 'BO'}, 
{name: 'Bosnia and Herzegovina', code: 'BA'}, 
{name: 'Botswana', code: 'BW'}, 
{name: 'Bouvet Island', code: 'BV'}, 
{name: 'Brazil', code: 'BR'}, 
{name: 'British Indian Ocean Territory', code: 'IO'}, 
{name: 'Brunei Darussalam', code: 'BN'}, 
{name: 'Bulgaria', code: 'BG'}, 
{name: 'Burkina Faso', code: 'BF'}, 
{name: 'Burundi', code: 'BI'}, 
{name: 'Cambodia', code: 'KH'}, 
{name: 'Cameroon', code: 'CM'}, 
{name: 'Canada', code: 'CA'}, 
{name: 'Cape Verde', code: 'CV'}, 
{name: 'Cayman Islands', code: 'KY'}, 
{name: 'Central African Republic', code: 'CF'}, 
{name: 'Chad', code: 'TD'}, 
{name: 'Chile', code: 'CL'}, 
{name: 'China', code: 'CN'}, 
{name: 'Christmas Island', code: 'CX'}, 
{name: 'Cocos (Keeling) Islands', code: 'CC'}, 
{name: 'Colombia', code: 'CO'}, 
{name: 'Comoros', code: 'KM'}, 
{name: 'Congo', code: 'CG'}, 
{name: 'Congo, The Democratic Republic of the', code: 'CD'}, 
{name: 'Cook Islands', code: 'CK'}, 
{name: 'Costa Rica', code: 'CR'}, 
{name: 'Cote D\'Ivoire', code: 'CI'}, 
{name: 'Croatia', code: 'HR'}, 
{name: 'Cuba', code: 'CU'}, 
{name: 'Cyprus', code: 'CY'}, 
{name: 'Czech Republic', code: 'CZ'}, 
{name: 'Denmark', code: 'DK'}, 
{name: 'Djibouti', code: 'DJ'}, 
{name: 'Dominica', code: 'DM'}, 
{name: 'Dominican Republic', code: 'DO'}, 
{name: 'Ecuador', code: 'EC'}, 
{name: 'Egypt', code: 'EG'}, 
{name: 'El Salvador', code: 'SV'}, 
{name: 'Equatorial Guinea', code: 'GQ'}, 
{name: 'Eritrea', code: 'ER'}, 
{name: 'Estonia', code: 'EE'}, 
{name: 'Ethiopia', code: 'ET'}, 
{name: 'Falkland Islands (Malvinas)', code: 'FK'}, 
{name: 'Faroe Islands', code: 'FO'}, 
{name: 'Fiji', code: 'FJ'}, 
{name: 'Finland', code: 'FI'}, 
{name: 'France', code: 'FR'}, 
{name: 'French Guiana', code: 'GF'}, 
{name: 'French Polynesia', code: 'PF'}, 
{name: 'French Southern Territories', code: 'TF'}, 
{name: 'Gabon', code: 'GA'}, 
{name: 'Gambia', code: 'GM'}, 
{name: 'Georgia', code: 'GE'}, 
{name: 'Germany', code: 'DE'}, 
{name: 'Ghana', code: 'GH'}, 
{name: 'Gibraltar', code: 'GI'}, 
{name: 'Greece', code: 'GR'}, 
{name: 'Greenland', code: 'GL'}, 
{name: 'Grenada', code: 'GD'}, 
{name: 'Guadeloupe', code: 'GP'}, 
{name: 'Guam', code: 'GU'}, 
{name: 'Guatemala', code: 'GT'}, 
{name: 'Guernsey', code: 'GG'}, 
{name: 'Guinea', code: 'GN'}, 
{name: 'Guinea-Bissau', code: 'GW'}, 
{name: 'Guyana', code: 'GY'}, 
{name: 'Haiti', code: 'HT'}, 
{name: 'Heard Island and Mcdonald Islands', code: 'HM'}, 
{name: 'Holy See (Vatican City State)', code: 'VA'}, 
{name: 'Honduras', code: 'HN'}, 
{name: 'Hong Kong', code: 'HK'}, 
{name: 'Hungary', code: 'HU'}, 
{name: 'Iceland', code: 'IS'}, 
{name: 'India', code: 'IN'}, 
{name: 'Indonesia', code: 'ID'}, 
{name: 'Iran, Islamic Republic Of', code: 'IR'}, 
{name: 'Iraq', code: 'IQ'}, 
{name: 'Ireland', code: 'IE'}, 
{name: 'Isle of Man', code: 'IM'}, 
{name: 'Israel', code: 'IL'}, 
{name: 'Italy', code: 'IT'}, 
{name: 'Jamaica', code: 'JM'}, 
{name: 'Japan', code: 'JP'}, 
{name: 'Jersey', code: 'JE'}, 
{name: 'Jordan', code: 'JO'}, 
{name: 'Kazakhstan', code: 'KZ'}, 
{name: 'Kenya', code: 'KE'}, 
{name: 'Kiribati', code: 'KI'}, 
{name: 'Korea, Democratic People\'S Republic of', code: 'KP'}, 
{name: 'Korea, Republic of', code: 'KR'}, 
{name: 'Kuwait', code: 'KW'}, 
{name: 'Kosovo', code: 'XK'}, 
{name: 'Kyrgyzstan', code: 'KG'}, 
{name: 'Lao People\'S Democratic Republic', code: 'LA'}, 
{name: 'Latvia', code: 'LV'}, 
{name: 'Lebanon', code: 'LB'}, 
{name: 'Lesotho', code: 'LS'}, 
{name: 'Liberia', code: 'LR'}, 
{name: 'Libyan Arab Jamahiriya', code: 'LY'}, 
{name: 'Liechtenstein', code: 'LI'}, 
{name: 'Lithuania', code: 'LT'}, 
{name: 'Luxembourg', code: 'LU'}, 
{name: 'Macao', code: 'MO'}, 
{name: 'Macedonia, The Former Yugoslav Republic of', code: 'MK'}, 
{name: 'Madagascar', code: 'MG'}, 
{name: 'Malawi', code: 'MW'}, 
{name: 'Malaysia', code: 'MY'}, 
{name: 'Maldives', code: 'MV'}, 
{name: 'Mali', code: 'ML'}, 
{name: 'Malta', code: 'MT'}, 
{name: 'Marshall Islands', code: 'MH'}, 
{name: 'Martinique', code: 'MQ'}, 
{name: 'Mauritania', code: 'MR'}, 
{name: 'Mauritius', code: 'MU'}, 
{name: 'Mayotte', code: 'YT'}, 
{name: 'Mexico', code: 'MX'}, 
{name: 'Micronesia, Federated States of', code: 'FM'}, 
{name: 'Moldova, Republic of', code: 'MD'}, 
{name: 'Monaco', code: 'MC'}, 
{name: 'Mongolia', code: 'MN'}, 
{name: 'Montserrat', code: 'MS'}, 
{name: 'Morocco', code: 'MA'}, 
{name: 'Mozambique', code: 'MZ'}, 
{name: 'Myanmar', code: 'MM'}, 
{name: 'Namibia', code: 'NA'}, 
{name: 'Nauru', code: 'NR'}, 
{name: 'Nepal', code: 'NP'}, 
{name: 'Netherlands', code: 'NL'}, 
{name: 'Netherlands Antilles', code: 'AN'}, 
{name: 'New Caledonia', code: 'NC'}, 
{name: 'New Zealand', code: 'NZ'}, 
{name: 'Nicaragua', code: 'NI'}, 
{name: 'Niger', code: 'NE'}, 
{name: 'Nigeria', code: 'NG'}, 
{name: 'Niue', code: 'NU'}, 
{name: 'Norfolk Island', code: 'NF'}, 
{name: 'Northern Mariana Islands', code: 'MP'}, 
{name: 'Norway', code: 'NO'}, 
{name: 'Oman', code: 'OM'}, 
{name: 'Pakistan', code: 'PK'}, 
{name: 'Palau', code: 'PW'}, 
{name: 'Palestinian Territory, Occupied', code: 'PS'}, 
{name: 'Panama', code: 'PA'}, 
{name: 'Papua New Guinea', code: 'PG'}, 
{name: 'Paraguay', code: 'PY'}, 
{name: 'Peru', code: 'PE'}, 
{name: 'Philippines', code: 'PH'}, 
{name: 'Pitcairn', code: 'PN'}, 
{name: 'Poland', code: 'PL'}, 
{name: 'Portugal', code: 'PT'}, 
{name: 'Puerto Rico', code: 'PR'}, 
{name: 'Qatar', code: 'QA'}, 
{name: 'Reunion', code: 'RE'}, 
{name: 'Romania', code: 'RO'}, 
{name: 'Russian Federation', code: 'RU'}, 
{name: 'RWANDA', code: 'RW'}, 
{name: 'Saint Helena', code: 'SH'}, 
{name: 'Saint Kitts and Nevis', code: 'KN'}, 
{name: 'Saint Lucia', code: 'LC'}, 
{name: 'Saint Pierre and Miquelon', code: 'PM'}, 
{name: 'Saint Vincent and the Grenadines', code: 'VC'}, 
{name: 'Samoa', code: 'WS'}, 
{name: 'San Marino', code: 'SM'}, 
{name: 'Sao Tome and Principe', code: 'ST'}, 
{name: 'Saudi Arabia', code: 'SA'}, 
{name: 'Senegal', code: 'SN'}, 
{name: 'Serbia and Montenegro', code: 'CS'}, 
{name: 'Seychelles', code: 'SC'}, 
{name: 'Sierra Leone', code: 'SL'}, 
{name: 'Singapore', code: 'SG'}, 
{name: 'Slovakia', code: 'SK'}, 
{name: 'Slovenia', code: 'SI'}, 
{name: 'Solomon Islands', code: 'SB'}, 
{name: 'Somalia', code: 'SO'}, 
{name: 'South Africa', code: 'ZA'}, 
{name: 'South Georgia and the South Sandwich Islands', code: 'GS'}, 
{name: 'Spain', code: 'ES'}, 
{name: 'Sri Lanka', code: 'LK'}, 
{name: 'Sudan', code: 'SD'}, 
{name: 'Suriname', code: 'SR'}, 
{name: 'Svalbard and Jan Mayen', code: 'SJ'}, 
{name: 'Swaziland', code: 'SZ'}, 
{name: 'Sweden', code: 'SE'}, 
{name: 'Switzerland', code: 'CH'}, 
{name: 'Syrian Arab Republic', code: 'SY'}, 
{name: 'Taiwan, Province of China', code: 'TW'}, 
{name: 'Tajikistan', code: 'TJ'}, 
{name: 'Tanzania, United Republic of', code: 'TZ'}, 
{name: 'Thailand', code: 'TH'}, 
{name: 'Timor-Leste', code: 'TL'}, 
{name: 'Togo', code: 'TG'}, 
{name: 'Tokelau', code: 'TK'}, 
{name: 'Tonga', code: 'TO'}, 
{name: 'Trinidad and Tobago', code: 'TT'}, 
{name: 'Tunisia', code: 'TN'}, 
{name: 'Turkey', code: 'TR'}, 
{name: 'Turkmenistan', code: 'TM'}, 
{name: 'Turks and Caicos Islands', code: 'TC'}, 
{name: 'Tuvalu', code: 'TV'}, 
{name: 'Uganda', code: 'UG'}, 
{name: 'Ukraine', code: 'UA'}, 
{name: 'United Arab Emirates', code: 'AE'}, 
{name: 'United Kingdom', code: 'GB'}, 
{name: 'United States', code: 'US'}, 
{name: 'United States Minor Outlying Islands', code: 'UM'}, 
{name: 'Uruguay', code: 'UY'}, 
{name: 'Uzbekistan', code: 'UZ'}, 
{name: 'Vanuatu', code: 'VU'}, 
{name: 'Venezuela', code: 'VE'}, 
{name: 'Viet Nam', code: 'VN'}, 
{name: 'Virgin Islands, British', code: 'VG'}, 
{name: 'Virgin Islands, U.S.', code: 'VI'}, 
{name: 'Wallis and Futuna', code: 'WF'}, 
{name: 'Western Sahara', code: 'EH'}, 
{name: 'Yemen', code: 'YE'}, 
{name: 'Zambia', code: 'ZM'}, 
{name: 'Zimbabwe', code: 'ZW'} 
]

Request:

curl -u "{project_key}" \
"https://api.iso3166.org/country/get.php?group=all&lng=en&asof=2022"

Respose:

[ 
{name: 'Afghanistan', code: 'AF'}, 
{name: 'Åland Islands', code: 'AX'}, 
{name: 'Albania', code: 'AL'}, 
{name: 'Algeria', code: 'DZ'}, 
{name: 'American Samoa', code: 'AS'}, 
{name: 'AndorrA', code: 'AD'}, 
{name: 'Angola', code: 'AO'}, 
{name: 'Anguilla', code: 'AI'}, 
{name: 'Antarctica', code: 'AQ'}, 
{name: 'Antigua and Barbuda', code: 'AG'}, 
{name: 'Argentina', code: 'AR'}, 
{name: 'Armenia', code: 'AM'}, 
{name: 'Aruba', code: 'AW'}, 
{name: 'Australia', code: 'AU'}, 
{name: 'Austria', code: 'AT'}, 
{name: 'Azerbaijan', code: 'AZ'}, 
{name: 'Bahamas', code: 'BS'}, 
{name: 'Bahrain', code: 'BH'}, 
{name: 'Bangladesh', code: 'BD'}, 
{name: 'Barbados', code: 'BB'}, 
{name: 'Belarus', code: 'BY'}, 
{name: 'Belgium', code: 'BE'}, 
{name: 'Belize', code: 'BZ'}, 
{name: 'Benin', code: 'BJ'}, 
{name: 'Bermuda', code: 'BM'}, 
{name: 'Bhutan', code: 'BT'}, 
{name: 'Bolivia', code: 'BO'}, 
{name: 'Bosnia and Herzegovina', code: 'BA'}, 
{name: 'Botswana', code: 'BW'}, 
{name: 'Bouvet Island', code: 'BV'}, 
{name: 'Brazil', code: 'BR'}, 
{name: 'British Indian Ocean Territory', code: 'IO'}, 
{name: 'Brunei Darussalam', code: 'BN'}, 
{name: 'Bulgaria', code: 'BG'}, 
{name: 'Burkina Faso', code: 'BF'}, 
{name: 'Burundi', code: 'BI'}, 
{name: 'Cambodia', code: 'KH'}, 
{name: 'Cameroon', code: 'CM'}, 
{name: 'Canada', code: 'CA'}, 
{name: 'Cape Verde', code: 'CV'}, 
{name: 'Cayman Islands', code: 'KY'}, 
{name: 'Central African Republic', code: 'CF'}, 
{name: 'Chad', code: 'TD'}, 
{name: 'Chile', code: 'CL'}, 
{name: 'China', code: 'CN'}, 
{name: 'Christmas Island', code: 'CX'}, 
{name: 'Cocos (Keeling) Islands', code: 'CC'}, 
{name: 'Colombia', code: 'CO'}, 
{name: 'Comoros', code: 'KM'}, 
{name: 'Congo', code: 'CG'}, 
{name: 'Congo, The Democratic Republic of the', code: 'CD'}, 
{name: 'Cook Islands', code: 'CK'}, 
{name: 'Costa Rica', code: 'CR'}, 
{name: 'Cote D\'Ivoire', code: 'CI'}, 
{name: 'Croatia', code: 'HR'}, 
{name: 'Cuba', code: 'CU'}, 
{name: 'Cyprus', code: 'CY'}, 
{name: 'Czech Republic', code: 'CZ'}, 
{name: 'Denmark', code: 'DK'}, 
{name: 'Djibouti', code: 'DJ'}, 
{name: 'Dominica', code: 'DM'}, 
{name: 'Dominican Republic', code: 'DO'}, 
{name: 'Ecuador', code: 'EC'}, 
{name: 'Egypt', code: 'EG'}, 
{name: 'El Salvador', code: 'SV'}, 
{name: 'Equatorial Guinea', code: 'GQ'}, 
{name: 'Eritrea', code: 'ER'}, 
{name: 'Estonia', code: 'EE'}, 
{name: 'Ethiopia', code: 'ET'}, 
{name: 'Falkland Islands (Malvinas)', code: 'FK'}, 
{name: 'Faroe Islands', code: 'FO'}, 
{name: 'Fiji', code: 'FJ'}, 
{name: 'Finland', code: 'FI'}, 
{name: 'France', code: 'FR'}, 
{name: 'French Guiana', code: 'GF'}, 
{name: 'French Polynesia', code: 'PF'}, 
{name: 'French Southern Territories', code: 'TF'}, 
{name: 'Gabon', code: 'GA'}, 
{name: 'Gambia', code: 'GM'}, 
{name: 'Georgia', code: 'GE'}, 
{name: 'Germany', code: 'DE'}, 
{name: 'Ghana', code: 'GH'}, 
{name: 'Gibraltar', code: 'GI'}, 
{name: 'Greece', code: 'GR'}, 
{name: 'Greenland', code: 'GL'}, 
{name: 'Grenada', code: 'GD'}, 
{name: 'Guadeloupe', code: 'GP'}, 
{name: 'Guam', code: 'GU'}, 
{name: 'Guatemala', code: 'GT'}, 
{name: 'Guernsey', code: 'GG'}, 
{name: 'Guinea', code: 'GN'}, 
{name: 'Guinea-Bissau', code: 'GW'}, 
{name: 'Guyana', code: 'GY'}, 
{name: 'Haiti', code: 'HT'}, 
{name: 'Heard Island and Mcdonald Islands', code: 'HM'}, 
{name: 'Holy See (Vatican City State)', code: 'VA'}, 
{name: 'Honduras', code: 'HN'}, 
{name: 'Hong Kong', code: 'HK'}, 
{name: 'Hungary', code: 'HU'}, 
{name: 'Iceland', code: 'IS'}, 
{name: 'India', code: 'IN'}, 
{name: 'Indonesia', code: 'ID'}, 
{name: 'Iran, Islamic Republic Of', code: 'IR'}, 
{name: 'Iraq', code: 'IQ'}, 
{name: 'Ireland', code: 'IE'}, 
{name: 'Isle of Man', code: 'IM'}, 
{name: 'Israel', code: 'IL'}, 
{name: 'Italy', code: 'IT'}, 
{name: 'Jamaica', code: 'JM'}, 
{name: 'Japan', code: 'JP'}, 
{name: 'Jersey', code: 'JE'}, 
{name: 'Jordan', code: 'JO'}, 
{name: 'Kazakhstan', code: 'KZ'}, 
{name: 'Kenya', code: 'KE'}, 
{name: 'Kiribati', code: 'KI'}, 
{name: 'Korea, Democratic People\'S Republic of', code: 'KP'}, 
{name: 'Korea, Republic of', code: 'KR'}, 
{name: 'Kuwait', code: 'KW'}, 
{name: 'Kosovo', code: 'XK'}, 
{name: 'Kyrgyzstan', code: 'KG'}, 
{name: 'Lao People\'S Democratic Republic', code: 'LA'}, 
{name: 'Latvia', code: 'LV'}, 
{name: 'Lebanon', code: 'LB'}, 
{name: 'Lesotho', code: 'LS'}, 
{name: 'Liberia', code: 'LR'}, 
{name: 'Libyan Arab Jamahiriya', code: 'LY'}, 
{name: 'Liechtenstein', code: 'LI'}, 
{name: 'Lithuania', code: 'LT'}, 
{name: 'Luxembourg', code: 'LU'}, 
{name: 'Macao', code: 'MO'}, 
{name: 'Macedonia, The Former Yugoslav Republic of', code: 'MK'}, 
{name: 'Madagascar', code: 'MG'}, 
{name: 'Malawi', code: 'MW'}, 
{name: 'Malaysia', code: 'MY'}, 
{name: 'Maldives', code: 'MV'}, 
{name: 'Mali', code: 'ML'}, 
{name: 'Malta', code: 'MT'}, 
{name: 'Marshall Islands', code: 'MH'}, 
{name: 'Martinique', code: 'MQ'}, 
{name: 'Mauritania', code: 'MR'}, 
{name: 'Mauritius', code: 'MU'}, 
{name: 'Mayotte', code: 'YT'}, 
{name: 'Mexico', code: 'MX'}, 
{name: 'Micronesia, Federated States of', code: 'FM'}, 
{name: 'Moldova, Republic of', code: 'MD'}, 
{name: 'Monaco', code: 'MC'}, 
{name: 'Mongolia', code: 'MN'}, 
{name: 'Montserrat', code: 'MS'}, 
{name: 'Morocco', code: 'MA'}, 
{name: 'Mozambique', code: 'MZ'}, 
{name: 'Myanmar', code: 'MM'}, 
{name: 'Namibia', code: 'NA'}, 
{name: 'Nauru', code: 'NR'}, 
{name: 'Nepal', code: 'NP'}, 
{name: 'Netherlands', code: 'NL'}, 
{name: 'Netherlands Antilles', code: 'AN'}, 
{name: 'New Caledonia', code: 'NC'}, 
{name: 'New Zealand', code: 'NZ'}, 
{name: 'Nicaragua', code: 'NI'}, 
{name: 'Niger', code: 'NE'}, 
{name: 'Nigeria', code: 'NG'}, 
{name: 'Niue', code: 'NU'}, 
{name: 'Norfolk Island', code: 'NF'}, 
{name: 'Northern Mariana Islands', code: 'MP'}, 
{name: 'Norway', code: 'NO'}, 
{name: 'Oman', code: 'OM'}, 
{name: 'Pakistan', code: 'PK'}, 
{name: 'Palau', code: 'PW'}, 
{name: 'Palestinian Territory, Occupied', code: 'PS'}, 
{name: 'Panama', code: 'PA'}, 
{name: 'Papua New Guinea', code: 'PG'}, 
{name: 'Paraguay', code: 'PY'}, 
{name: 'Peru', code: 'PE'}, 
{name: 'Philippines', code: 'PH'}, 
{name: 'Pitcairn', code: 'PN'}, 
{name: 'Poland', code: 'PL'}, 
{name: 'Portugal', code: 'PT'}, 
{name: 'Puerto Rico', code: 'PR'}, 
{name: 'Qatar', code: 'QA'}, 
{name: 'Reunion', code: 'RE'}, 
{name: 'Romania', code: 'RO'}, 
{name: 'Russian Federation', code: 'RU'}, 
{name: 'RWANDA', code: 'RW'}, 
{name: 'Saint Helena', code: 'SH'}, 
{name: 'Saint Kitts and Nevis', code: 'KN'}, 
{name: 'Saint Lucia', code: 'LC'}, 
{name: 'Saint Pierre and Miquelon', code: 'PM'}, 
{name: 'Saint Vincent and the Grenadines', code: 'VC'}, 
{name: 'Samoa', code: 'WS'}, 
{name: 'San Marino', code: 'SM'}, 
{name: 'Sao Tome and Principe', code: 'ST'}, 
{name: 'Saudi Arabia', code: 'SA'}, 
{name: 'Senegal', code: 'SN'}, 
{name: 'Serbia and Montenegro', code: 'CS'}, 
{name: 'Seychelles', code: 'SC'}, 
{name: 'Sierra Leone', code: 'SL'}, 
{name: 'Singapore', code: 'SG'}, 
{name: 'Slovakia', code: 'SK'}, 
{name: 'Slovenia', code: 'SI'}, 
{name: 'Solomon Islands', code: 'SB'}, 
{name: 'Somalia', code: 'SO'}, 
{name: 'South Africa', code: 'ZA'}, 
{name: 'South Georgia and the South Sandwich Islands', code: 'GS'}, 
{name: 'Spain', code: 'ES'}, 
{name: 'Sri Lanka', code: 'LK'}, 
{name: 'Sudan', code: 'SD'}, 
{name: 'Suriname', code: 'SR'}, 
{name: 'Svalbard and Jan Mayen', code: 'SJ'}, 
{name: 'Swaziland', code: 'SZ'}, 
{name: 'Sweden', code: 'SE'}, 
{name: 'Switzerland', code: 'CH'}, 
{name: 'Syrian Arab Republic', code: 'SY'}, 
{name: 'Taiwan, Province of China', code: 'TW'}, 
{name: 'Tajikistan', code: 'TJ'}, 
{name: 'Tanzania, United Republic of', code: 'TZ'}, 
{name: 'Thailand', code: 'TH'}, 
{name: 'Timor-Leste', code: 'TL'}, 
{name: 'Togo', code: 'TG'}, 
{name: 'Tokelau', code: 'TK'}, 
{name: 'Tonga', code: 'TO'}, 
{name: 'Trinidad and Tobago', code: 'TT'}, 
{name: 'Tunisia', code: 'TN'}, 
{name: 'Turkey', code: 'TR'}, 
{name: 'Turkmenistan', code: 'TM'}, 
{name: 'Turks and Caicos Islands', code: 'TC'}, 
{name: 'Tuvalu', code: 'TV'}, 
{name: 'Uganda', code: 'UG'}, 
{name: 'Ukraine', code: 'UA'}, 
{name: 'United Arab Emirates', code: 'AE'}, 
{name: 'United Kingdom', code: 'GB'}, 
{name: 'United States', code: 'US'}, 
{name: 'United States Minor Outlying Islands', code: 'UM'}, 
{name: 'Uruguay', code: 'UY'}, 
{name: 'Uzbekistan', code: 'UZ'}, 
{name: 'Vanuatu', code: 'VU'}, 
{name: 'Venezuela', code: 'VE'}, 
{name: 'Viet Nam', code: 'VN'}, 
{name: 'Virgin Islands, British', code: 'VG'}, 
{name: 'Virgin Islands, U.S.', code: 'VI'}, 
{name: 'Wallis and Futuna', code: 'WF'}, 
{name: 'Western Sahara', code: 'EH'}, 
{name: 'Yemen', code: 'YE'}, 
{name: 'Zambia', code: 'ZM'}, 
{name: 'Zimbabwe', code: 'ZW'} 
]

Request:

using System;
using System.Net.Http;
using System.Net.Http.Headers;

namespace ISO3166Countries
{
    class Program
    {
        static void Main(string[] args)
        {
            string projectKey = "YOUR_PROJECT_KEY";
            string url = "https://api.iso3166.org/country/get.php?group=all&lng=en&asof=2022";

            using (var client = new HttpClient())
            {
                client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", projectKey);

                var response = client.GetAsync(url).Result;

                if (response.IsSuccessStatusCode)
                {
                    var content = response.Content.ReadAsStringAsync().Result;
                    Console.WriteLine(content);
                }
                else
                {
                    Console.WriteLine("Error: " + response.StatusCode);
                }
            }
        }
    }
}


Respose:

[ 
{name: 'Afghanistan', code: 'AF'}, 
{name: 'Åland Islands', code: 'AX'}, 
{name: 'Albania', code: 'AL'}, 
{name: 'Algeria', code: 'DZ'}, 
{name: 'American Samoa', code: 'AS'}, 
{name: 'AndorrA', code: 'AD'}, 
{name: 'Angola', code: 'AO'}, 
{name: 'Anguilla', code: 'AI'}, 
{name: 'Antarctica', code: 'AQ'}, 
{name: 'Antigua and Barbuda', code: 'AG'}, 
{name: 'Argentina', code: 'AR'}, 
{name: 'Armenia', code: 'AM'}, 
{name: 'Aruba', code: 'AW'}, 
{name: 'Australia', code: 'AU'}, 
{name: 'Austria', code: 'AT'}, 
{name: 'Azerbaijan', code: 'AZ'}, 
{name: 'Bahamas', code: 'BS'}, 
{name: 'Bahrain', code: 'BH'}, 
{name: 'Bangladesh', code: 'BD'}, 
{name: 'Barbados', code: 'BB'}, 
{name: 'Belarus', code: 'BY'}, 
{name: 'Belgium', code: 'BE'}, 
{name: 'Belize', code: 'BZ'}, 
{name: 'Benin', code: 'BJ'}, 
{name: 'Bermuda', code: 'BM'}, 
{name: 'Bhutan', code: 'BT'}, 
{name: 'Bolivia', code: 'BO'}, 
{name: 'Bosnia and Herzegovina', code: 'BA'}, 
{name: 'Botswana', code: 'BW'}, 
{name: 'Bouvet Island', code: 'BV'}, 
{name: 'Brazil', code: 'BR'}, 
{name: 'British Indian Ocean Territory', code: 'IO'}, 
{name: 'Brunei Darussalam', code: 'BN'}, 
{name: 'Bulgaria', code: 'BG'}, 
{name: 'Burkina Faso', code: 'BF'}, 
{name: 'Burundi', code: 'BI'}, 
{name: 'Cambodia', code: 'KH'}, 
{name: 'Cameroon', code: 'CM'}, 
{name: 'Canada', code: 'CA'}, 
{name: 'Cape Verde', code: 'CV'}, 
{name: 'Cayman Islands', code: 'KY'}, 
{name: 'Central African Republic', code: 'CF'}, 
{name: 'Chad', code: 'TD'}, 
{name: 'Chile', code: 'CL'}, 
{name: 'China', code: 'CN'}, 
{name: 'Christmas Island', code: 'CX'}, 
{name: 'Cocos (Keeling) Islands', code: 'CC'}, 
{name: 'Colombia', code: 'CO'}, 
{name: 'Comoros', code: 'KM'}, 
{name: 'Congo', code: 'CG'}, 
{name: 'Congo, The Democratic Republic of the', code: 'CD'}, 
{name: 'Cook Islands', code: 'CK'}, 
{name: 'Costa Rica', code: 'CR'}, 
{name: 'Cote D\'Ivoire', code: 'CI'}, 
{name: 'Croatia', code: 'HR'}, 
{name: 'Cuba', code: 'CU'}, 
{name: 'Cyprus', code: 'CY'}, 
{name: 'Czech Republic', code: 'CZ'}, 
{name: 'Denmark', code: 'DK'}, 
{name: 'Djibouti', code: 'DJ'}, 
{name: 'Dominica', code: 'DM'}, 
{name: 'Dominican Republic', code: 'DO'}, 
{name: 'Ecuador', code: 'EC'}, 
{name: 'Egypt', code: 'EG'}, 
{name: 'El Salvador', code: 'SV'}, 
{name: 'Equatorial Guinea', code: 'GQ'}, 
{name: 'Eritrea', code: 'ER'}, 
{name: 'Estonia', code: 'EE'}, 
{name: 'Ethiopia', code: 'ET'}, 
{name: 'Falkland Islands (Malvinas)', code: 'FK'}, 
{name: 'Faroe Islands', code: 'FO'}, 
{name: 'Fiji', code: 'FJ'}, 
{name: 'Finland', code: 'FI'}, 
{name: 'France', code: 'FR'}, 
{name: 'French Guiana', code: 'GF'}, 
{name: 'French Polynesia', code: 'PF'}, 
{name: 'French Southern Territories', code: 'TF'}, 
{name: 'Gabon', code: 'GA'}, 
{name: 'Gambia', code: 'GM'}, 
{name: 'Georgia', code: 'GE'}, 
{name: 'Germany', code: 'DE'}, 
{name: 'Ghana', code: 'GH'}, 
{name: 'Gibraltar', code: 'GI'}, 
{name: 'Greece', code: 'GR'}, 
{name: 'Greenland', code: 'GL'}, 
{name: 'Grenada', code: 'GD'}, 
{name: 'Guadeloupe', code: 'GP'}, 
{name: 'Guam', code: 'GU'}, 
{name: 'Guatemala', code: 'GT'}, 
{name: 'Guernsey', code: 'GG'}, 
{name: 'Guinea', code: 'GN'}, 
{name: 'Guinea-Bissau', code: 'GW'}, 
{name: 'Guyana', code: 'GY'}, 
{name: 'Haiti', code: 'HT'}, 
{name: 'Heard Island and Mcdonald Islands', code: 'HM'}, 
{name: 'Holy See (Vatican City State)', code: 'VA'}, 
{name: 'Honduras', code: 'HN'}, 
{name: 'Hong Kong', code: 'HK'}, 
{name: 'Hungary', code: 'HU'}, 
{name: 'Iceland', code: 'IS'}, 
{name: 'India', code: 'IN'}, 
{name: 'Indonesia', code: 'ID'}, 
{name: 'Iran, Islamic Republic Of', code: 'IR'}, 
{name: 'Iraq', code: 'IQ'}, 
{name: 'Ireland', code: 'IE'}, 
{name: 'Isle of Man', code: 'IM'}, 
{name: 'Israel', code: 'IL'}, 
{name: 'Italy', code: 'IT'}, 
{name: 'Jamaica', code: 'JM'}, 
{name: 'Japan', code: 'JP'}, 
{name: 'Jersey', code: 'JE'}, 
{name: 'Jordan', code: 'JO'}, 
{name: 'Kazakhstan', code: 'KZ'}, 
{name: 'Kenya', code: 'KE'}, 
{name: 'Kiribati', code: 'KI'}, 
{name: 'Korea, Democratic People\'S Republic of', code: 'KP'}, 
{name: 'Korea, Republic of', code: 'KR'}, 
{name: 'Kuwait', code: 'KW'}, 
{name: 'Kosovo', code: 'XK'}, 
{name: 'Kyrgyzstan', code: 'KG'}, 
{name: 'Lao People\'S Democratic Republic', code: 'LA'}, 
{name: 'Latvia', code: 'LV'}, 
{name: 'Lebanon', code: 'LB'}, 
{name: 'Lesotho', code: 'LS'}, 
{name: 'Liberia', code: 'LR'}, 
{name: 'Libyan Arab Jamahiriya', code: 'LY'}, 
{name: 'Liechtenstein', code: 'LI'}, 
{name: 'Lithuania', code: 'LT'}, 
{name: 'Luxembourg', code: 'LU'}, 
{name: 'Macao', code: 'MO'}, 
{name: 'Macedonia, The Former Yugoslav Republic of', code: 'MK'}, 
{name: 'Madagascar', code: 'MG'}, 
{name: 'Malawi', code: 'MW'}, 
{name: 'Malaysia', code: 'MY'}, 
{name: 'Maldives', code: 'MV'}, 
{name: 'Mali', code: 'ML'}, 
{name: 'Malta', code: 'MT'}, 
{name: 'Marshall Islands', code: 'MH'}, 
{name: 'Martinique', code: 'MQ'}, 
{name: 'Mauritania', code: 'MR'}, 
{name: 'Mauritius', code: 'MU'}, 
{name: 'Mayotte', code: 'YT'}, 
{name: 'Mexico', code: 'MX'}, 
{name: 'Micronesia, Federated States of', code: 'FM'}, 
{name: 'Moldova, Republic of', code: 'MD'}, 
{name: 'Monaco', code: 'MC'}, 
{name: 'Mongolia', code: 'MN'}, 
{name: 'Montserrat', code: 'MS'}, 
{name: 'Morocco', code: 'MA'}, 
{name: 'Mozambique', code: 'MZ'}, 
{name: 'Myanmar', code: 'MM'}, 
{name: 'Namibia', code: 'NA'}, 
{name: 'Nauru', code: 'NR'}, 
{name: 'Nepal', code: 'NP'}, 
{name: 'Netherlands', code: 'NL'}, 
{name: 'Netherlands Antilles', code: 'AN'}, 
{name: 'New Caledonia', code: 'NC'}, 
{name: 'New Zealand', code: 'NZ'}, 
{name: 'Nicaragua', code: 'NI'}, 
{name: 'Niger', code: 'NE'}, 
{name: 'Nigeria', code: 'NG'}, 
{name: 'Niue', code: 'NU'}, 
{name: 'Norfolk Island', code: 'NF'}, 
{name: 'Northern Mariana Islands', code: 'MP'}, 
{name: 'Norway', code: 'NO'}, 
{name: 'Oman', code: 'OM'}, 
{name: 'Pakistan', code: 'PK'}, 
{name: 'Palau', code: 'PW'}, 
{name: 'Palestinian Territory, Occupied', code: 'PS'}, 
{name: 'Panama', code: 'PA'}, 
{name: 'Papua New Guinea', code: 'PG'}, 
{name: 'Paraguay', code: 'PY'}, 
{name: 'Peru', code: 'PE'}, 
{name: 'Philippines', code: 'PH'}, 
{name: 'Pitcairn', code: 'PN'}, 
{name: 'Poland', code: 'PL'}, 
{name: 'Portugal', code: 'PT'}, 
{name: 'Puerto Rico', code: 'PR'}, 
{name: 'Qatar', code: 'QA'}, 
{name: 'Reunion', code: 'RE'}, 
{name: 'Romania', code: 'RO'}, 
{name: 'Russian Federation', code: 'RU'}, 
{name: 'RWANDA', code: 'RW'}, 
{name: 'Saint Helena', code: 'SH'}, 
{name: 'Saint Kitts and Nevis', code: 'KN'}, 
{name: 'Saint Lucia', code: 'LC'}, 
{name: 'Saint Pierre and Miquelon', code: 'PM'}, 
{name: 'Saint Vincent and the Grenadines', code: 'VC'}, 
{name: 'Samoa', code: 'WS'}, 
{name: 'San Marino', code: 'SM'}, 
{name: 'Sao Tome and Principe', code: 'ST'}, 
{name: 'Saudi Arabia', code: 'SA'}, 
{name: 'Senegal', code: 'SN'}, 
{name: 'Serbia and Montenegro', code: 'CS'}, 
{name: 'Seychelles', code: 'SC'}, 
{name: 'Sierra Leone', code: 'SL'}, 
{name: 'Singapore', code: 'SG'}, 
{name: 'Slovakia', code: 'SK'}, 
{name: 'Slovenia', code: 'SI'}, 
{name: 'Solomon Islands', code: 'SB'}, 
{name: 'Somalia', code: 'SO'}, 
{name: 'South Africa', code: 'ZA'}, 
{name: 'South Georgia and the South Sandwich Islands', code: 'GS'}, 
{name: 'Spain', code: 'ES'}, 
{name: 'Sri Lanka', code: 'LK'}, 
{name: 'Sudan', code: 'SD'}, 
{name: 'Suriname', code: 'SR'}, 
{name: 'Svalbard and Jan Mayen', code: 'SJ'}, 
{name: 'Swaziland', code: 'SZ'}, 
{name: 'Sweden', code: 'SE'}, 
{name: 'Switzerland', code: 'CH'}, 
{name: 'Syrian Arab Republic', code: 'SY'}, 
{name: 'Taiwan, Province of China', code: 'TW'}, 
{name: 'Tajikistan', code: 'TJ'}, 
{name: 'Tanzania, United Republic of', code: 'TZ'}, 
{name: 'Thailand', code: 'TH'}, 
{name: 'Timor-Leste', code: 'TL'}, 
{name: 'Togo', code: 'TG'}, 
{name: 'Tokelau', code: 'TK'}, 
{name: 'Tonga', code: 'TO'}, 
{name: 'Trinidad and Tobago', code: 'TT'}, 
{name: 'Tunisia', code: 'TN'}, 
{name: 'Turkey', code: 'TR'}, 
{name: 'Turkmenistan', code: 'TM'}, 
{name: 'Turks and Caicos Islands', code: 'TC'}, 
{name: 'Tuvalu', code: 'TV'}, 
{name: 'Uganda', code: 'UG'}, 
{name: 'Ukraine', code: 'UA'}, 
{name: 'United Arab Emirates', code: 'AE'}, 
{name: 'United Kingdom', code: 'GB'}, 
{name: 'United States', code: 'US'}, 
{name: 'United States Minor Outlying Islands', code: 'UM'}, 
{name: 'Uruguay', code: 'UY'}, 
{name: 'Uzbekistan', code: 'UZ'}, 
{name: 'Vanuatu', code: 'VU'}, 
{name: 'Venezuela', code: 'VE'}, 
{name: 'Viet Nam', code: 'VN'}, 
{name: 'Virgin Islands, British', code: 'VG'}, 
{name: 'Virgin Islands, U.S.', code: 'VI'}, 
{name: 'Wallis and Futuna', code: 'WF'}, 
{name: 'Western Sahara', code: 'EH'}, 
{name: 'Yemen', code: 'YE'}, 
{name: 'Zambia', code: 'ZM'}, 
{name: 'Zimbabwe', code: 'ZW'} 
]

Request:

import requests

url = "https://api.iso3166.org/country/get.php?group=all&lng=en&asof=2022"
headers = {"Authorization": "Bearer {project_key}"}

response = requests.get(url, headers=headers)

if response.status_code == 200:
    print(response.json())
else:
    print("Error:", response.status_code)

Respose:

[ 
{name: 'Afghanistan', code: 'AF'}, 
{name: 'Åland Islands', code: 'AX'}, 
{name: 'Albania', code: 'AL'}, 
{name: 'Algeria', code: 'DZ'}, 
{name: 'American Samoa', code: 'AS'}, 
{name: 'AndorrA', code: 'AD'}, 
{name: 'Angola', code: 'AO'}, 
{name: 'Anguilla', code: 'AI'}, 
{name: 'Antarctica', code: 'AQ'}, 
{name: 'Antigua and Barbuda', code: 'AG'}, 
{name: 'Argentina', code: 'AR'}, 
{name: 'Armenia', code: 'AM'}, 
{name: 'Aruba', code: 'AW'}, 
{name: 'Australia', code: 'AU'}, 
{name: 'Austria', code: 'AT'}, 
{name: 'Azerbaijan', code: 'AZ'}, 
{name: 'Bahamas', code: 'BS'}, 
{name: 'Bahrain', code: 'BH'}, 
{name: 'Bangladesh', code: 'BD'}, 
{name: 'Barbados', code: 'BB'}, 
{name: 'Belarus', code: 'BY'}, 
{name: 'Belgium', code: 'BE'}, 
{name: 'Belize', code: 'BZ'}, 
{name: 'Benin', code: 'BJ'}, 
{name: 'Bermuda', code: 'BM'}, 
{name: 'Bhutan', code: 'BT'}, 
{name: 'Bolivia', code: 'BO'}, 
{name: 'Bosnia and Herzegovina', code: 'BA'}, 
{name: 'Botswana', code: 'BW'}, 
{name: 'Bouvet Island', code: 'BV'}, 
{name: 'Brazil', code: 'BR'}, 
{name: 'British Indian Ocean Territory', code: 'IO'}, 
{name: 'Brunei Darussalam', code: 'BN'}, 
{name: 'Bulgaria', code: 'BG'}, 
{name: 'Burkina Faso', code: 'BF'}, 
{name: 'Burundi', code: 'BI'}, 
{name: 'Cambodia', code: 'KH'}, 
{name: 'Cameroon', code: 'CM'}, 
{name: 'Canada', code: 'CA'}, 
{name: 'Cape Verde', code: 'CV'}, 
{name: 'Cayman Islands', code: 'KY'}, 
{name: 'Central African Republic', code: 'CF'}, 
{name: 'Chad', code: 'TD'}, 
{name: 'Chile', code: 'CL'}, 
{name: 'China', code: 'CN'}, 
{name: 'Christmas Island', code: 'CX'}, 
{name: 'Cocos (Keeling) Islands', code: 'CC'}, 
{name: 'Colombia', code: 'CO'}, 
{name: 'Comoros', code: 'KM'}, 
{name: 'Congo', code: 'CG'}, 
{name: 'Congo, The Democratic Republic of the', code: 'CD'}, 
{name: 'Cook Islands', code: 'CK'}, 
{name: 'Costa Rica', code: 'CR'}, 
{name: 'Cote D\'Ivoire', code: 'CI'}, 
{name: 'Croatia', code: 'HR'}, 
{name: 'Cuba', code: 'CU'}, 
{name: 'Cyprus', code: 'CY'}, 
{name: 'Czech Republic', code: 'CZ'}, 
{name: 'Denmark', code: 'DK'}, 
{name: 'Djibouti', code: 'DJ'}, 
{name: 'Dominica', code: 'DM'}, 
{name: 'Dominican Republic', code: 'DO'}, 
{name: 'Ecuador', code: 'EC'}, 
{name: 'Egypt', code: 'EG'}, 
{name: 'El Salvador', code: 'SV'}, 
{name: 'Equatorial Guinea', code: 'GQ'}, 
{name: 'Eritrea', code: 'ER'}, 
{name: 'Estonia', code: 'EE'}, 
{name: 'Ethiopia', code: 'ET'}, 
{name: 'Falkland Islands (Malvinas)', code: 'FK'}, 
{name: 'Faroe Islands', code: 'FO'}, 
{name: 'Fiji', code: 'FJ'}, 
{name: 'Finland', code: 'FI'}, 
{name: 'France', code: 'FR'}, 
{name: 'French Guiana', code: 'GF'}, 
{name: 'French Polynesia', code: 'PF'}, 
{name: 'French Southern Territories', code: 'TF'}, 
{name: 'Gabon', code: 'GA'}, 
{name: 'Gambia', code: 'GM'}, 
{name: 'Georgia', code: 'GE'}, 
{name: 'Germany', code: 'DE'}, 
{name: 'Ghana', code: 'GH'}, 
{name: 'Gibraltar', code: 'GI'}, 
{name: 'Greece', code: 'GR'}, 
{name: 'Greenland', code: 'GL'}, 
{name: 'Grenada', code: 'GD'}, 
{name: 'Guadeloupe', code: 'GP'}, 
{name: 'Guam', code: 'GU'}, 
{name: 'Guatemala', code: 'GT'}, 
{name: 'Guernsey', code: 'GG'}, 
{name: 'Guinea', code: 'GN'}, 
{name: 'Guinea-Bissau', code: 'GW'}, 
{name: 'Guyana', code: 'GY'}, 
{name: 'Haiti', code: 'HT'}, 
{name: 'Heard Island and Mcdonald Islands', code: 'HM'}, 
{name: 'Holy See (Vatican City State)', code: 'VA'}, 
{name: 'Honduras', code: 'HN'}, 
{name: 'Hong Kong', code: 'HK'}, 
{name: 'Hungary', code: 'HU'}, 
{name: 'Iceland', code: 'IS'}, 
{name: 'India', code: 'IN'}, 
{name: 'Indonesia', code: 'ID'}, 
{name: 'Iran, Islamic Republic Of', code: 'IR'}, 
{name: 'Iraq', code: 'IQ'}, 
{name: 'Ireland', code: 'IE'}, 
{name: 'Isle of Man', code: 'IM'}, 
{name: 'Israel', code: 'IL'}, 
{name: 'Italy', code: 'IT'}, 
{name: 'Jamaica', code: 'JM'}, 
{name: 'Japan', code: 'JP'}, 
{name: 'Jersey', code: 'JE'}, 
{name: 'Jordan', code: 'JO'}, 
{name: 'Kazakhstan', code: 'KZ'}, 
{name: 'Kenya', code: 'KE'}, 
{name: 'Kiribati', code: 'KI'}, 
{name: 'Korea, Democratic People\'S Republic of', code: 'KP'}, 
{name: 'Korea, Republic of', code: 'KR'}, 
{name: 'Kuwait', code: 'KW'}, 
{name: 'Kosovo', code: 'XK'}, 
{name: 'Kyrgyzstan', code: 'KG'}, 
{name: 'Lao People\'S Democratic Republic', code: 'LA'}, 
{name: 'Latvia', code: 'LV'}, 
{name: 'Lebanon', code: 'LB'}, 
{name: 'Lesotho', code: 'LS'}, 
{name: 'Liberia', code: 'LR'}, 
{name: 'Libyan Arab Jamahiriya', code: 'LY'}, 
{name: 'Liechtenstein', code: 'LI'}, 
{name: 'Lithuania', code: 'LT'}, 
{name: 'Luxembourg', code: 'LU'}, 
{name: 'Macao', code: 'MO'}, 
{name: 'Macedonia, The Former Yugoslav Republic of', code: 'MK'}, 
{name: 'Madagascar', code: 'MG'}, 
{name: 'Malawi', code: 'MW'}, 
{name: 'Malaysia', code: 'MY'}, 
{name: 'Maldives', code: 'MV'}, 
{name: 'Mali', code: 'ML'}, 
{name: 'Malta', code: 'MT'}, 
{name: 'Marshall Islands', code: 'MH'}, 
{name: 'Martinique', code: 'MQ'}, 
{name: 'Mauritania', code: 'MR'}, 
{name: 'Mauritius', code: 'MU'}, 
{name: 'Mayotte', code: 'YT'}, 
{name: 'Mexico', code: 'MX'}, 
{name: 'Micronesia, Federated States of', code: 'FM'}, 
{name: 'Moldova, Republic of', code: 'MD'}, 
{name: 'Monaco', code: 'MC'}, 
{name: 'Mongolia', code: 'MN'}, 
{name: 'Montserrat', code: 'MS'}, 
{name: 'Morocco', code: 'MA'}, 
{name: 'Mozambique', code: 'MZ'}, 
{name: 'Myanmar', code: 'MM'}, 
{name: 'Namibia', code: 'NA'}, 
{name: 'Nauru', code: 'NR'}, 
{name: 'Nepal', code: 'NP'}, 
{name: 'Netherlands', code: 'NL'}, 
{name: 'Netherlands Antilles', code: 'AN'}, 
{name: 'New Caledonia', code: 'NC'}, 
{name: 'New Zealand', code: 'NZ'}, 
{name: 'Nicaragua', code: 'NI'}, 
{name: 'Niger', code: 'NE'}, 
{name: 'Nigeria', code: 'NG'}, 
{name: 'Niue', code: 'NU'}, 
{name: 'Norfolk Island', code: 'NF'}, 
{name: 'Northern Mariana Islands', code: 'MP'}, 
{name: 'Norway', code: 'NO'}, 
{name: 'Oman', code: 'OM'}, 
{name: 'Pakistan', code: 'PK'}, 
{name: 'Palau', code: 'PW'}, 
{name: 'Palestinian Territory, Occupied', code: 'PS'}, 
{name: 'Panama', code: 'PA'}, 
{name: 'Papua New Guinea', code: 'PG'}, 
{name: 'Paraguay', code: 'PY'}, 
{name: 'Peru', code: 'PE'}, 
{name: 'Philippines', code: 'PH'}, 
{name: 'Pitcairn', code: 'PN'}, 
{name: 'Poland', code: 'PL'}, 
{name: 'Portugal', code: 'PT'}, 
{name: 'Puerto Rico', code: 'PR'}, 
{name: 'Qatar', code: 'QA'}, 
{name: 'Reunion', code: 'RE'}, 
{name: 'Romania', code: 'RO'}, 
{name: 'Russian Federation', code: 'RU'}, 
{name: 'RWANDA', code: 'RW'}, 
{name: 'Saint Helena', code: 'SH'}, 
{name: 'Saint Kitts and Nevis', code: 'KN'}, 
{name: 'Saint Lucia', code: 'LC'}, 
{name: 'Saint Pierre and Miquelon', code: 'PM'}, 
{name: 'Saint Vincent and the Grenadines', code: 'VC'}, 
{name: 'Samoa', code: 'WS'}, 
{name: 'San Marino', code: 'SM'}, 
{name: 'Sao Tome and Principe', code: 'ST'}, 
{name: 'Saudi Arabia', code: 'SA'}, 
{name: 'Senegal', code: 'SN'}, 
{name: 'Serbia and Montenegro', code: 'CS'}, 
{name: 'Seychelles', code: 'SC'}, 
{name: 'Sierra Leone', code: 'SL'}, 
{name: 'Singapore', code: 'SG'}, 
{name: 'Slovakia', code: 'SK'}, 
{name: 'Slovenia', code: 'SI'}, 
{name: 'Solomon Islands', code: 'SB'}, 
{name: 'Somalia', code: 'SO'}, 
{name: 'South Africa', code: 'ZA'}, 
{name: 'South Georgia and the South Sandwich Islands', code: 'GS'}, 
{name: 'Spain', code: 'ES'}, 
{name: 'Sri Lanka', code: 'LK'}, 
{name: 'Sudan', code: 'SD'}, 
{name: 'Suriname', code: 'SR'}, 
{name: 'Svalbard and Jan Mayen', code: 'SJ'}, 
{name: 'Swaziland', code: 'SZ'}, 
{name: 'Sweden', code: 'SE'}, 
{name: 'Switzerland', code: 'CH'}, 
{name: 'Syrian Arab Republic', code: 'SY'}, 
{name: 'Taiwan, Province of China', code: 'TW'}, 
{name: 'Tajikistan', code: 'TJ'}, 
{name: 'Tanzania, United Republic of', code: 'TZ'}, 
{name: 'Thailand', code: 'TH'}, 
{name: 'Timor-Leste', code: 'TL'}, 
{name: 'Togo', code: 'TG'}, 
{name: 'Tokelau', code: 'TK'}, 
{name: 'Tonga', code: 'TO'}, 
{name: 'Trinidad and Tobago', code: 'TT'}, 
{name: 'Tunisia', code: 'TN'}, 
{name: 'Turkey', code: 'TR'}, 
{name: 'Turkmenistan', code: 'TM'}, 
{name: 'Turks and Caicos Islands', code: 'TC'}, 
{name: 'Tuvalu', code: 'TV'}, 
{name: 'Uganda', code: 'UG'}, 
{name: 'Ukraine', code: 'UA'}, 
{name: 'United Arab Emirates', code: 'AE'}, 
{name: 'United Kingdom', code: 'GB'}, 
{name: 'United States', code: 'US'}, 
{name: 'United States Minor Outlying Islands', code: 'UM'}, 
{name: 'Uruguay', code: 'UY'}, 
{name: 'Uzbekistan', code: 'UZ'}, 
{name: 'Vanuatu', code: 'VU'}, 
{name: 'Venezuela', code: 'VE'}, 
{name: 'Viet Nam', code: 'VN'}, 
{name: 'Virgin Islands, British', code: 'VG'}, 
{name: 'Virgin Islands, U.S.', code: 'VI'}, 
{name: 'Wallis and Futuna', code: 'WF'}, 
{name: 'Western Sahara', code: 'EH'}, 
{name: 'Yemen', code: 'YE'}, 
{name: 'Zambia', code: 'ZM'}, 
{name: 'Zimbabwe', code: 'ZW'} 
]

Request:

curl -u "{project_key}" \
"https://api.iso3166.org/country/get.php?group=all&lng=en&asof=2022"

Respose:

[ 
{name: 'Afghanistan', code: 'AF'}, 
{name: 'Åland Islands', code: 'AX'}, 
{name: 'Albania', code: 'AL'}, 
{name: 'Algeria', code: 'DZ'}, 
{name: 'American Samoa', code: 'AS'}, 
{name: 'AndorrA', code: 'AD'}, 
{name: 'Angola', code: 'AO'}, 
{name: 'Anguilla', code: 'AI'}, 
{name: 'Antarctica', code: 'AQ'}, 
{name: 'Antigua and Barbuda', code: 'AG'}, 
{name: 'Argentina', code: 'AR'}, 
{name: 'Armenia', code: 'AM'}, 
{name: 'Aruba', code: 'AW'}, 
{name: 'Australia', code: 'AU'}, 
{name: 'Austria', code: 'AT'}, 
{name: 'Azerbaijan', code: 'AZ'}, 
{name: 'Bahamas', code: 'BS'}, 
{name: 'Bahrain', code: 'BH'}, 
{name: 'Bangladesh', code: 'BD'}, 
{name: 'Barbados', code: 'BB'}, 
{name: 'Belarus', code: 'BY'}, 
{name: 'Belgium', code: 'BE'}, 
{name: 'Belize', code: 'BZ'}, 
{name: 'Benin', code: 'BJ'}, 
{name: 'Bermuda', code: 'BM'}, 
{name: 'Bhutan', code: 'BT'}, 
{name: 'Bolivia', code: 'BO'}, 
{name: 'Bosnia and Herzegovina', code: 'BA'}, 
{name: 'Botswana', code: 'BW'}, 
{name: 'Bouvet Island', code: 'BV'}, 
{name: 'Brazil', code: 'BR'}, 
{name: 'British Indian Ocean Territory', code: 'IO'}, 
{name: 'Brunei Darussalam', code: 'BN'}, 
{name: 'Bulgaria', code: 'BG'}, 
{name: 'Burkina Faso', code: 'BF'}, 
{name: 'Burundi', code: 'BI'}, 
{name: 'Cambodia', code: 'KH'}, 
{name: 'Cameroon', code: 'CM'}, 
{name: 'Canada', code: 'CA'}, 
{name: 'Cape Verde', code: 'CV'}, 
{name: 'Cayman Islands', code: 'KY'}, 
{name: 'Central African Republic', code: 'CF'}, 
{name: 'Chad', code: 'TD'}, 
{name: 'Chile', code: 'CL'}, 
{name: 'China', code: 'CN'}, 
{name: 'Christmas Island', code: 'CX'}, 
{name: 'Cocos (Keeling) Islands', code: 'CC'}, 
{name: 'Colombia', code: 'CO'}, 
{name: 'Comoros', code: 'KM'}, 
{name: 'Congo', code: 'CG'}, 
{name: 'Congo, The Democratic Republic of the', code: 'CD'}, 
{name: 'Cook Islands', code: 'CK'}, 
{name: 'Costa Rica', code: 'CR'}, 
{name: 'Cote D\'Ivoire', code: 'CI'}, 
{name: 'Croatia', code: 'HR'}, 
{name: 'Cuba', code: 'CU'}, 
{name: 'Cyprus', code: 'CY'}, 
{name: 'Czech Republic', code: 'CZ'}, 
{name: 'Denmark', code: 'DK'}, 
{name: 'Djibouti', code: 'DJ'}, 
{name: 'Dominica', code: 'DM'}, 
{name: 'Dominican Republic', code: 'DO'}, 
{name: 'Ecuador', code: 'EC'}, 
{name: 'Egypt', code: 'EG'}, 
{name: 'El Salvador', code: 'SV'}, 
{name: 'Equatorial Guinea', code: 'GQ'}, 
{name: 'Eritrea', code: 'ER'}, 
{name: 'Estonia', code: 'EE'}, 
{name: 'Ethiopia', code: 'ET'}, 
{name: 'Falkland Islands (Malvinas)', code: 'FK'}, 
{name: 'Faroe Islands', code: 'FO'}, 
{name: 'Fiji', code: 'FJ'}, 
{name: 'Finland', code: 'FI'}, 
{name: 'France', code: 'FR'}, 
{name: 'French Guiana', code: 'GF'}, 
{name: 'French Polynesia', code: 'PF'}, 
{name: 'French Southern Territories', code: 'TF'}, 
{name: 'Gabon', code: 'GA'}, 
{name: 'Gambia', code: 'GM'}, 
{name: 'Georgia', code: 'GE'}, 
{name: 'Germany', code: 'DE'}, 
{name: 'Ghana', code: 'GH'}, 
{name: 'Gibraltar', code: 'GI'}, 
{name: 'Greece', code: 'GR'}, 
{name: 'Greenland', code: 'GL'}, 
{name: 'Grenada', code: 'GD'}, 
{name: 'Guadeloupe', code: 'GP'}, 
{name: 'Guam', code: 'GU'}, 
{name: 'Guatemala', code: 'GT'}, 
{name: 'Guernsey', code: 'GG'}, 
{name: 'Guinea', code: 'GN'}, 
{name: 'Guinea-Bissau', code: 'GW'}, 
{name: 'Guyana', code: 'GY'}, 
{name: 'Haiti', code: 'HT'}, 
{name: 'Heard Island and Mcdonald Islands', code: 'HM'}, 
{name: 'Holy See (Vatican City State)', code: 'VA'}, 
{name: 'Honduras', code: 'HN'}, 
{name: 'Hong Kong', code: 'HK'}, 
{name: 'Hungary', code: 'HU'}, 
{name: 'Iceland', code: 'IS'}, 
{name: 'India', code: 'IN'}, 
{name: 'Indonesia', code: 'ID'}, 
{name: 'Iran, Islamic Republic Of', code: 'IR'}, 
{name: 'Iraq', code: 'IQ'}, 
{name: 'Ireland', code: 'IE'}, 
{name: 'Isle of Man', code: 'IM'}, 
{name: 'Israel', code: 'IL'}, 
{name: 'Italy', code: 'IT'}, 
{name: 'Jamaica', code: 'JM'}, 
{name: 'Japan', code: 'JP'}, 
{name: 'Jersey', code: 'JE'}, 
{name: 'Jordan', code: 'JO'}, 
{name: 'Kazakhstan', code: 'KZ'}, 
{name: 'Kenya', code: 'KE'}, 
{name: 'Kiribati', code: 'KI'}, 
{name: 'Korea, Democratic People\'S Republic of', code: 'KP'}, 
{name: 'Korea, Republic of', code: 'KR'}, 
{name: 'Kuwait', code: 'KW'}, 
{name: 'Kosovo', code: 'XK'}, 
{name: 'Kyrgyzstan', code: 'KG'}, 
{name: 'Lao People\'S Democratic Republic', code: 'LA'}, 
{name: 'Latvia', code: 'LV'}, 
{name: 'Lebanon', code: 'LB'}, 
{name: 'Lesotho', code: 'LS'}, 
{name: 'Liberia', code: 'LR'}, 
{name: 'Libyan Arab Jamahiriya', code: 'LY'}, 
{name: 'Liechtenstein', code: 'LI'}, 
{name: 'Lithuania', code: 'LT'}, 
{name: 'Luxembourg', code: 'LU'}, 
{name: 'Macao', code: 'MO'}, 
{name: 'Macedonia, The Former Yugoslav Republic of', code: 'MK'}, 
{name: 'Madagascar', code: 'MG'}, 
{name: 'Malawi', code: 'MW'}, 
{name: 'Malaysia', code: 'MY'}, 
{name: 'Maldives', code: 'MV'}, 
{name: 'Mali', code: 'ML'}, 
{name: 'Malta', code: 'MT'}, 
{name: 'Marshall Islands', code: 'MH'}, 
{name: 'Martinique', code: 'MQ'}, 
{name: 'Mauritania', code: 'MR'}, 
{name: 'Mauritius', code: 'MU'}, 
{name: 'Mayotte', code: 'YT'}, 
{name: 'Mexico', code: 'MX'}, 
{name: 'Micronesia, Federated States of', code: 'FM'}, 
{name: 'Moldova, Republic of', code: 'MD'}, 
{name: 'Monaco', code: 'MC'}, 
{name: 'Mongolia', code: 'MN'}, 
{name: 'Montserrat', code: 'MS'}, 
{name: 'Morocco', code: 'MA'}, 
{name: 'Mozambique', code: 'MZ'}, 
{name: 'Myanmar', code: 'MM'}, 
{name: 'Namibia', code: 'NA'}, 
{name: 'Nauru', code: 'NR'}, 
{name: 'Nepal', code: 'NP'}, 
{name: 'Netherlands', code: 'NL'}, 
{name: 'Netherlands Antilles', code: 'AN'}, 
{name: 'New Caledonia', code: 'NC'}, 
{name: 'New Zealand', code: 'NZ'}, 
{name: 'Nicaragua', code: 'NI'}, 
{name: 'Niger', code: 'NE'}, 
{name: 'Nigeria', code: 'NG'}, 
{name: 'Niue', code: 'NU'}, 
{name: 'Norfolk Island', code: 'NF'}, 
{name: 'Northern Mariana Islands', code: 'MP'}, 
{name: 'Norway', code: 'NO'}, 
{name: 'Oman', code: 'OM'}, 
{name: 'Pakistan', code: 'PK'}, 
{name: 'Palau', code: 'PW'}, 
{name: 'Palestinian Territory, Occupied', code: 'PS'}, 
{name: 'Panama', code: 'PA'}, 
{name: 'Papua New Guinea', code: 'PG'}, 
{name: 'Paraguay', code: 'PY'}, 
{name: 'Peru', code: 'PE'}, 
{name: 'Philippines', code: 'PH'}, 
{name: 'Pitcairn', code: 'PN'}, 
{name: 'Poland', code: 'PL'}, 
{name: 'Portugal', code: 'PT'}, 
{name: 'Puerto Rico', code: 'PR'}, 
{name: 'Qatar', code: 'QA'}, 
{name: 'Reunion', code: 'RE'}, 
{name: 'Romania', code: 'RO'}, 
{name: 'Russian Federation', code: 'RU'}, 
{name: 'RWANDA', code: 'RW'}, 
{name: 'Saint Helena', code: 'SH'}, 
{name: 'Saint Kitts and Nevis', code: 'KN'}, 
{name: 'Saint Lucia', code: 'LC'}, 
{name: 'Saint Pierre and Miquelon', code: 'PM'}, 
{name: 'Saint Vincent and the Grenadines', code: 'VC'}, 
{name: 'Samoa', code: 'WS'}, 
{name: 'San Marino', code: 'SM'}, 
{name: 'Sao Tome and Principe', code: 'ST'}, 
{name: 'Saudi Arabia', code: 'SA'}, 
{name: 'Senegal', code: 'SN'}, 
{name: 'Serbia and Montenegro', code: 'CS'}, 
{name: 'Seychelles', code: 'SC'}, 
{name: 'Sierra Leone', code: 'SL'}, 
{name: 'Singapore', code: 'SG'}, 
{name: 'Slovakia', code: 'SK'}, 
{name: 'Slovenia', code: 'SI'}, 
{name: 'Solomon Islands', code: 'SB'}, 
{name: 'Somalia', code: 'SO'}, 
{name: 'South Africa', code: 'ZA'}, 
{name: 'South Georgia and the South Sandwich Islands', code: 'GS'}, 
{name: 'Spain', code: 'ES'}, 
{name: 'Sri Lanka', code: 'LK'}, 
{name: 'Sudan', code: 'SD'}, 
{name: 'Suriname', code: 'SR'}, 
{name: 'Svalbard and Jan Mayen', code: 'SJ'}, 
{name: 'Swaziland', code: 'SZ'}, 
{name: 'Sweden', code: 'SE'}, 
{name: 'Switzerland', code: 'CH'}, 
{name: 'Syrian Arab Republic', code: 'SY'}, 
{name: 'Taiwan, Province of China', code: 'TW'}, 
{name: 'Tajikistan', code: 'TJ'}, 
{name: 'Tanzania, United Republic of', code: 'TZ'}, 
{name: 'Thailand', code: 'TH'}, 
{name: 'Timor-Leste', code: 'TL'}, 
{name: 'Togo', code: 'TG'}, 
{name: 'Tokelau', code: 'TK'}, 
{name: 'Tonga', code: 'TO'}, 
{name: 'Trinidad and Tobago', code: 'TT'}, 
{name: 'Tunisia', code: 'TN'}, 
{name: 'Turkey', code: 'TR'}, 
{name: 'Turkmenistan', code: 'TM'}, 
{name: 'Turks and Caicos Islands', code: 'TC'}, 
{name: 'Tuvalu', code: 'TV'}, 
{name: 'Uganda', code: 'UG'}, 
{name: 'Ukraine', code: 'UA'}, 
{name: 'United Arab Emirates', code: 'AE'}, 
{name: 'United Kingdom', code: 'GB'}, 
{name: 'United States', code: 'US'}, 
{name: 'United States Minor Outlying Islands', code: 'UM'}, 
{name: 'Uruguay', code: 'UY'}, 
{name: 'Uzbekistan', code: 'UZ'}, 
{name: 'Vanuatu', code: 'VU'}, 
{name: 'Venezuela', code: 'VE'}, 
{name: 'Viet Nam', code: 'VN'}, 
{name: 'Virgin Islands, British', code: 'VG'}, 
{name: 'Virgin Islands, U.S.', code: 'VI'}, 
{name: 'Wallis and Futuna', code: 'WF'}, 
{name: 'Western Sahara', code: 'EH'}, 
{name: 'Yemen', code: 'YE'}, 
{name: 'Zambia', code: 'ZM'}, 
{name: 'Zimbabwe', code: 'ZW'} 
]
   

 

In German

Erhalten Sie eine Liste aller Länder in ISO 3166-1 Zwei-Buchstaben-Code und Name in deutscher Sprache im JSON-Format

Anfrage:

curl -u "{Projektschlüssel}" \
"https://api.iso3166.org/getcountry.php?group=all&lng=de&asof=2022"

Antwort:

[
{Name: 'Afghanistan', Code: 'AF'},
{Name: 'Ålandinseln', Code: 'AX'},
{Name: 'Albanien', Code: 'AL'},
{Name: 'Algerien', Code: 'DZ'},
{Name: 'Amerikanisch-Samoa', Code: 'AS'},
{Name: 'AndorrA', Code: 'AD'},
{Name: 'Angola', Code: 'AO'},
{Name: 'Anguilla', Code: 'AI'},
{Name: 'Antarktis', Code: 'AQ'},
{Name: 'Antigua und Barbuda', Code: 'AG'},
{Name: 'Argentinien', Code: 'AR'},
{Name: 'Armenien', Code: 'AM'},
{Name: 'Aruba', Code: 'AW'},
{Name: 'Australien', Code: 'AU'},
{Name: 'Österreich', Code: 'AT'},
{Name: 'Aserbaidschan', Code: 'AZ'},
{Name: 'Bahamas', Code: 'BS'},
{Name: 'Bahrain', Code: 'BH'},
{Name: 'Bangladesch', Code: 'BD'},
{Name: 'Barbados', Code: 'BB'},
{Name: 'Weißrussland', Code: 'BY'},
{Name: 'Belgien', Code: 'BE'},
{Name: 'Belize', Code: 'BZ'},
{Name: 'Benin', Code: 'BJ'},
{Name: 'Bermuda', Code: 'BM'},
{Name: 'Bhutan', Code: 'BT'},
{Name: 'Bolivien', Code: 'BO'},
{Name: 'Bosnien und Herzegowina', Code: 'BA'},
{Name: 'Botswana', Code: 'BW'},
{Name: 'Bouvetinsel', Code: 'BV'},
{Name: 'Brasilien', Code: 'BR'},
{Name: 'Britisches Territorium im Indischen Ozean', Code: 'IO'},
{Name: 'Brunei Darussalam', Code: 'BN'},
{Name: 'Bulgarien', Code: 'BG'},
{Name: 'Burkina Faso', Code: 'BF'},
{Name: 'Burundi', Code: 'BI'},
{Name: 'Kambodscha', Code: 'KH'},
{Name: 'Kamerun', Code: 'CM'},
{Name: 'Kanada', Code: 'CA'},
{Name: 'Kap Verde', Code: 'CV'},
{Name: 'Kaimaninseln', Code: 'KY'},
{Name: 'Zentralafrikanische Republik', Code: 'CF'},
{Name: 'Tschad', Code: 'TD'},
{Name: 'Chile', Code: 'CL'},
{Name: 'China', Code: 'CN'},
{Name: 'Weihnachtsinsel', Code: 'CX'},
{Name: 'Cocos-(Keeling-)Inseln', Code: 'CC'},
{Name: 'Kolumbien', Code: 'CO'},
{Name: 'Komoren', Code: 'KM'},
{Name: 'Kongo', Code: 'CG'},
{Name: 'Kongo, Demokratische Republik', Code: 'CD'},
{Name: 'Cookinseln', Code: 'CK'},
{Name: 'Costa Rica', Code: 'CR'},
{Name: 'Cote D\'Ivoire', Code: 'CI'},
{Name: 'Kroatien', Code: 'HR'},
{Name: 'Kuba', Code: 'CU'},
{Name: 'Zypern', Code: 'CY'},
{Name: 'Tschechische Republik', Code: 'CZ'},
{Name: 'Dänemark', Code: 'DK'},
{Name: 'Dschibuti', Code: 'DJ'},
{Name: 'Dominica', Code: 'DM'},
{Name: 'Dominikanische Republik', Code: 'DO'},
{Name: 'Ecuador', Code: 'EC'},
{Name: 'Ägypten', Code: 'EG'},
{Name: 'El Salvador', Code: 'SV'},
{Name: 'Äquatorialguinea', Code: 'GQ'},
{Name: 'Eritrea', Code: 'ER'},
{Name: 'Estland', Code: 'EE'},
{Name: 'Äthiopien', Code: 'ET'},
{Name: 'Falklandinseln (Malvinas)', Code: 'FK'},
{Name: 'Färöer-Inseln', Code: 'FO'},
{Name: 'Fidschi', Code: 'FJ'},
{Name: 'Finnland', Code: 'FI'},
{Name: 'Frankreich', Code: 'FR'},
{Name: 'Französisch-Guayana', Code: 'GF'},
{Name: 'Französisch-Polynesien', Code: 'PF'},
{Name: 'Französische Südgebiete', Code: 'TF'},
{Name: 'Gabun', Code: 'GA'},
{Name: 'Gambia', Code: 'GM'},
{Name: 'Georgia', Code: 'GE'},
{Name: 'Deutschland', Code: 'DE'},
{Name: 'Ghana', Code: 'GH'},
{Name: 'Gibraltar', Code: 'GI'},
{Name: 'Griechenland', Code: 'GR'},
{Name: 'Grönland', Code: 'GL'},
{Name: 'Grenada', Code: 'GD'},
{Name: 'Guadeloupe', Code: 'GP'},
{Name: 'Guam', Code: 'GU'},
{Name: 'Guatemala', Code: 'GT'},
{Name: 'Guernsey', Code: 'GG'},
{Name: 'Guinea', Code: 'GN'},
{Name: 'Guinea-Bissau', Code: 'GW'},
{Name: 'Guyana', Code: 'GY'},
{Name: 'Haiti', Code: 'HT'},
{Name: 'Heard Island und Mcdonald Islands', Code: 'HM'},
{Name: 'Heiliger Stuhl (Staat Vatikanstadt)', Code: 'VA'},
{Name: 'Honduras', Code: 'HN'},
{Name: 'Hongkong', Code: 'HK'},
{Name: 'Ungarn', Code: 'HU'},
{Name: 'Island', Code: 'IS'},
{Name: 'Indien', Code: 'IN'},
{Name: 'Indonesien', Code: 'ID'},
{Name: 'Iran, Islamische Republik', Code: 'IR'},
{Name: 'Irak', Code: 'IQ'},
{Name: 'Irland', Code: 'IE'},
{Name: 'Isle of Man', Code: 'IM'},
{Name: 'Israel', Code: 'IL'},
{Name: 'Italien', Code: 'IT'},
{Name: 'Jamaika', Code: 'JM'},
{Name: 'Japan', Code: 'JP'},
{Name: 'Jersey', Code: 'JE'},
{Name: 'Jordanien', Code: 'JO'},
{Name: 'Kasachstan', Code: 'KZ'},
{Name: 'Kenia', Code: 'KE'},
{Name: 'Kiribati', Code: 'KI'},
{Name: 'Korea, Demokratische Volksrepublik', Code: 'KP'},
{Name: 'Korea, Republik', Code: 'KR'},
{Name: 'Kuwait', Code: 'KW'},
{Name: 'Kosovo', Code: 'XK'},
{Name: 'Kirgisistan', Code: 'KG'},
{Name: 'Demokratische Volksrepublik Laos', Code: 'LA'},
{Name: 'Lettland', Code: 'LV'},
{Name: 'Libanon', Code: 'LB'},
{Name: 'Lesotho', Code: 'LS'},
{Name: 'Liberia', Code: 'LR'},
{Name: 'Libysche Arabische Jamahiriya', Code: 'LY'},
{Name: 'Liechtenstein', Code: 'LI'},
{Name: 'Litauen', Code: 'LT'},
{Name: 'Luxemburg', Code: 'LU'},
{Name: 'Macao', Code: 'MO'},
{Name: 'Nordmazedonien', Code: 'MK'},
  {Name: 'Madagaskar', Code: 'MG'},
  {Name: 'Malawi', Code: 'MW'},
  {Name: 'Malaysia', Code: 'MY'},
  {Name: 'Malediven', Code: 'MV'},
  {Name: 'Mali', Code: 'ML'},
  {Name: 'Malta', Code: 'MT'},
  {Name: 'Marshallinseln', Code: 'MH'},
  {Name: 'Martinique', Code: 'MQ'},
  {Name: 'Mauretanien', Code: 'MR'},
  {Name: 'Mauritius', Code: 'MU'},
  {Name: 'Mayotte', Code: 'YT'},
  {Name: 'Mexiko', Code: 'MX'},
  {Name: 'Mikronesien, Föderierte Staaten von', Code: 'FM'},
  {Name: 'Moldawien, Republik', Code: 'MD'},
  {Name: 'Monaco', Code: 'MC'},
  {Name: 'Mongolei', Code: 'MN'},
  {Name: 'Montserrat', Code: 'MS'},
  {Name: 'Marokko', Code: 'MA'},
  {Name: 'Mosambik', Code: 'MZ'},
  {Name: 'Myanmar', Code: 'MM'},
  {Name: 'Namibia', Code: 'NA'},
  {Name: 'Nauru', Code: 'NR'},
  {Name: 'Nepal', Code: 'NP'},
  {Name: 'Niederlande', Code: 'NL'},
  {Name: 'Niederländische Antillen', Code: 'AN'},
  {Name: 'Neukaledonien', Code: 'NC'},
  {Name: 'Neuseeland', Code: 'NZ'},
  {Name: 'Nicaragua', Code: 'NI'},
  {Name: 'Niger', Code: 'NE'},
  {Name: 'Nigeria', Code: 'NG'},
  {Name: 'Niue', Code: 'NU'},
  {Name: 'Norfolkinsel', Code: 'NF'},
  {Name: 'Nördliche Marianen', Code: 'MP'},
  {Name: 'Norwegen', Code: 'NEIN'},
  {Name: 'Oman', Code: 'OM'},
  {Name: 'Pakistan', Code: 'PK'},
  {Name: 'Palau', Code: 'PW'},
  {Name: 'Palästinensisches Territorium, besetzt', Code: 'PS'},
  {Name: 'Panama', Code: 'PA'},
  {Name: 'Papua-Neuguinea', Code: 'PG'},
  {Name: 'Paraguay', Code: 'PY'},
  {Name: 'Peru', Code: 'PE'},
  {Name: 'Philippinen', Code: 'PH'},
  {Name: 'Pitcairn', Code: 'PN'},
  {Name: 'Polen', Code: 'PL'},
  {Name: 'Portugal', Code: 'PT'},
  {Name: 'Puerto Rico', Code: 'PR'},
  {Name: 'Katar', Code: 'QA'},
  {Name: 'Reunion', Code: 'RE'},
  {Name: 'Rumänien', Code: 'RO'},
  {Name: 'Russische Föderation', Code: 'RU'},
  {Name: 'RWANDA', Code: 'RW'},
  {Name: 'St. Helena', Code: 'SH'},
  {Name: 'St. Kitts und Nevis', Code: 'KN'},
  {Name: 'St. Lucia', Code: 'LC'},
  {Name: 'St. Pierre und Miquelon', Code: 'PM'},
  {Name: 'St. Vincent und die Grenadinen', Code: 'VC'},
  {Name: 'Samoa', Code: 'WS'},
  {Name: 'San Marino', Code: 'SM'},
  {Name: 'Sao Tome und Principe', Code: 'ST'},
  {Name: 'Saudi-Arabien', Code: 'SA'},
  {Name: 'Senegal', Code: 'SN'},
  {Name: 'Serbien und Montenegro', Code: 'CS'},
  {Name: 'Seychellen', Code: 'SC'},
  {Name: 'Sierra Leone', Code: 'SL'},
  {Name: 'Singapur', Code: 'SG'},
  {Name: 'Slowakei', Code: 'SK'},
  {Name: 'Slowenien', Code: 'SI'},
  {Name: 'Salomonen', Code: 'SB'},
  {Name: 'Somalia', Code: 'SO'},
  {Name: 'Südafrika', Code: 'ZA'},
  {Name: 'Südgeorgien und die Südlichen Sandwichinseln', Code: 'GS'},
  {Name: 'Spanien', Code: 'ES'},
  {Name: 'Sri Lanka', Code: 'LK'},
  {Name: 'Sudan', Code: 'SD'},
  {Name: 'Suriname', Code: 'SR'},
  {Name: 'Spitzbergen und Jan Mayen', Code: 'SJ'},
  {Name: 'Swasiland', Code: 'SZ'},
  {Name: 'Schweden', Code: 'SE'},
  {Name: 'Schweiz', Code: 'CH'},
  {Name: 'Arabische Republik Syrien', Code: 'SY'},
  {Name: 'Taiwan, Provinz China', Code: 'TW'},
  {Name: 'Tadschikistan', Code: 'TJ'},
  {Name: 'Tansania, Vereinigte Republik', Code: 'TZ'},
  {Name: 'Thailand', Code: 'TH'},
  {Name: 'Timor-Leste', Code: 'TL'},
  {Name: 'Togo', Code: 'TG'},
  {Name: 'Tokelau', Code: 'TK'},
  {Name: 'Tonga', Code: 'TO'},
  {Name: 'Trinidad und Tobago', Code: 'TT'},
  {Name: 'Tunesien', Code: 'TN'},
  {Name: 'Türkei', Code: 'TR'},
  {Name: 'Turkmenistan', Code: 'TM'},
  {Name: 'Turks- und Caicosinseln', Code: 'TC'},
  {Name: 'Tuvalu', Code: 'TV'},
  {Name: 'Uganda', Code: 'UG'},
  {Name: 'Ukraine', Code: 'UA'},
  {Name: 'Vereinigte Arabische Emirate', Code: 'AE'},
  {Name: 'Vereinigtes Königreich', Code: 'GB'},
  {Name: 'Vereinigte Staaten', Code: 'US'},
  {Name: 'Kleinere abgelegene Inseln der Vereinigten Staaten', Code: 'UM'},
  {Name: 'Uruguay', Code: 'UY'},
  {Name: 'Usbekistan', Code: 'UZ'},
  {Name: 'Vanuatu', Code: 'VU'},
  {Name: 'Venezuela', Code: 'VE'},
  {Name: 'Vietnam', Code: 'VN'},
  {Name: 'Jungferninseln, Britisch', Code: 'VG'},
  {Name: 'Virgin Islands, USA', Code: 'VI'},
  {Name: 'Wallis und Futuna', Code: 'WF'},
  {Name: 'Westsahara', Code: 'EH'},
  {Name: 'Kosovo', Code: 'XK'},
  {Name: 'Jemen', Code: 'YE'},
  {Name: 'Sambia', Code: 'ZM'},
  {Name: 'Simbabwe', Code: 'ZW'}
]
						 

Anfrage:

curl -u "{Projektschlüssel}" \
"https://api.iso3166.org/country/get.php?group=all&lng=de&asof=2022"

Antwort:

[
{Name: 'Afghanistan', Code: 'AF'},
{Name: 'Ålandinseln', Code: 'AX'},
{Name: 'Albanien', Code: 'AL'},
{Name: 'Algerien', Code: 'DZ'},
{Name: 'Amerikanisch-Samoa', Code: 'AS'},
{Name: 'AndorrA', Code: 'AD'},
{Name: 'Angola', Code: 'AO'},
{Name: 'Anguilla', Code: 'AI'},
{Name: 'Antarktis', Code: 'AQ'},
{Name: 'Antigua und Barbuda', Code: 'AG'},
{Name: 'Argentinien', Code: 'AR'},
{Name: 'Armenien', Code: 'AM'},
{Name: 'Aruba', Code: 'AW'},
{Name: 'Australien', Code: 'AU'},
{Name: 'Österreich', Code: 'AT'},
{Name: 'Aserbaidschan', Code: 'AZ'},
{Name: 'Bahamas', Code: 'BS'},
{Name: 'Bahrain', Code: 'BH'},
{Name: 'Bangladesch', Code: 'BD'},
{Name: 'Barbados', Code: 'BB'},
{Name: 'Weißrussland', Code: 'BY'},
{Name: 'Belgien', Code: 'BE'},
{Name: 'Belize', Code: 'BZ'},
{Name: 'Benin', Code: 'BJ'},
{Name: 'Bermuda', Code: 'BM'},
{Name: 'Bhutan', Code: 'BT'},
{Name: 'Bolivien', Code: 'BO'},
{Name: 'Bosnien und Herzegowina', Code: 'BA'},
{Name: 'Botswana', Code: 'BW'},
{Name: 'Bouvetinsel', Code: 'BV'},
{Name: 'Brasilien', Code: 'BR'},
{Name: 'Britisches Territorium im Indischen Ozean', Code: 'IO'},
{Name: 'Brunei Darussalam', Code: 'BN'},
{Name: 'Bulgarien', Code: 'BG'},
{Name: 'Burkina Faso', Code: 'BF'},
{Name: 'Burundi', Code: 'BI'},
{Name: 'Kambodscha', Code: 'KH'},
{Name: 'Kamerun', Code: 'CM'},
{Name: 'Kanada', Code: 'CA'},
{Name: 'Kap Verde', Code: 'CV'},
{Name: 'Kaimaninseln', Code: 'KY'},
{Name: 'Zentralafrikanische Republik', Code: 'CF'},
{Name: 'Tschad', Code: 'TD'},
{Name: 'Chile', Code: 'CL'},
{Name: 'China', Code: 'CN'},
{Name: 'Weihnachtsinsel', Code: 'CX'},
{Name: 'Cocos-(Keeling-)Inseln', Code: 'CC'},
{Name: 'Kolumbien', Code: 'CO'},
{Name: 'Komoren', Code: 'KM'},
{Name: 'Kongo', Code: 'CG'},
{Name: 'Kongo, Demokratische Republik', Code: 'CD'},
{Name: 'Cookinseln', Code: 'CK'},
{Name: 'Costa Rica', Code: 'CR'},
{Name: 'Cote D\'Ivoire', Code: 'CI'},
{Name: 'Kroatien', Code: 'HR'},
{Name: 'Kuba', Code: 'CU'},
{Name: 'Zypern', Code: 'CY'},
{Name: 'Tschechische Republik', Code: 'CZ'},
{Name: 'Dänemark', Code: 'DK'},
{Name: 'Dschibuti', Code: 'DJ'},
{Name: 'Dominica', Code: 'DM'},
{Name: 'Dominikanische Republik', Code: 'DO'},
{Name: 'Ecuador', Code: 'EC'},
{Name: 'Ägypten', Code: 'EG'},
{Name: 'El Salvador', Code: 'SV'},
{Name: 'Äquatorialguinea', Code: 'GQ'},
{Name: 'Eritrea', Code: 'ER'},
{Name: 'Estland', Code: 'EE'},
{Name: 'Äthiopien', Code: 'ET'},
{Name: 'Falklandinseln (Malvinas)', Code: 'FK'},
{Name: 'Färöer-Inseln', Code: 'FO'},
{Name: 'Fidschi', Code: 'FJ'},
{Name: 'Finnland', Code: 'FI'},
{Name: 'Frankreich', Code: 'FR'},
{Name: 'Französisch-Guayana', Code: 'GF'},
{Name: 'Französisch-Polynesien', Code: 'PF'},
{Name: 'Französische Südgebiete', Code: 'TF'},
{Name: 'Gabun', Code: 'GA'},
{Name: 'Gambia', Code: 'GM'},
{Name: 'Georgia', Code: 'GE'},
{Name: 'Deutschland', Code: 'DE'},
{Name: 'Ghana', Code: 'GH'},
{Name: 'Gibraltar', Code: 'GI'},
{Name: 'Griechenland', Code: 'GR'},
{Name: 'Grönland', Code: 'GL'},
{Name: 'Grenada', Code: 'GD'},
{Name: 'Guadeloupe', Code: 'GP'},
{Name: 'Guam', Code: 'GU'},
{Name: 'Guatemala', Code: 'GT'},
{Name: 'Guernsey', Code: 'GG'},
{Name: 'Guinea', Code: 'GN'},
{Name: 'Guinea-Bissau', Code: 'GW'},
{Name: 'Guyana', Code: 'GY'},
{Name: 'Haiti', Code: 'HT'},
{Name: 'Heard Island und Mcdonald Islands', Code: 'HM'},
{Name: 'Heiliger Stuhl (Staat Vatikanstadt)', Code: 'VA'},
{Name: 'Honduras', Code: 'HN'},
{Name: 'Hongkong', Code: 'HK'},
{Name: 'Ungarn', Code: 'HU'},
{Name: 'Island', Code: 'IS'},
{Name: 'Indien', Code: 'IN'},
{Name: 'Indonesien', Code: 'ID'},
{Name: 'Iran, Islamische Republik', Code: 'IR'},
{Name: 'Irak', Code: 'IQ'},
{Name: 'Irland', Code: 'IE'},
{Name: 'Isle of Man', Code: 'IM'},
{Name: 'Israel', Code: 'IL'},
{Name: 'Italien', Code: 'IT'},
{Name: 'Jamaika', Code: 'JM'},
{Name: 'Japan', Code: 'JP'},
{Name: 'Jersey', Code: 'JE'},
{Name: 'Jordanien', Code: 'JO'},
{Name: 'Kasachstan', Code: 'KZ'},
{Name: 'Kenia', Code: 'KE'},
{Name: 'Kiribati', Code: 'KI'},
{Name: 'Korea, Demokratische Volksrepublik', Code: 'KP'},
{Name: 'Korea, Republik', Code: 'KR'},
{Name: 'Kuwait', Code: 'KW'},
{Name: 'Kosovo', Code: 'XK'},
{Name: 'Kirgisistan', Code: 'KG'},
{Name: 'Demokratische Volksrepublik Laos', Code: 'LA'},
{Name: 'Lettland', Code: 'LV'},
{Name: 'Libanon', Code: 'LB'},
{Name: 'Lesotho', Code: 'LS'},
{Name: 'Liberia', Code: 'LR'},
{Name: 'Libysche Arabische Jamahiriya', Code: 'LY'},
{Name: 'Liechtenstein', Code: 'LI'},
{Name: 'Litauen', Code: 'LT'},
{Name: 'Luxemburg', Code: 'LU'},
{Name: 'Macao', Code: 'MO'},
{Name: 'Nordmazedonien', Code: 'MK'},
  {Name: 'Madagaskar', Code: 'MG'},
  {Name: 'Malawi', Code: 'MW'},
  {Name: 'Malaysia', Code: 'MY'},
  {Name: 'Malediven', Code: 'MV'},
  {Name: 'Mali', Code: 'ML'},
  {Name: 'Malta', Code: 'MT'},
  {Name: 'Marshallinseln', Code: 'MH'},
  {Name: 'Martinique', Code: 'MQ'},
  {Name: 'Mauretanien', Code: 'MR'},
  {Name: 'Mauritius', Code: 'MU'},
  {Name: 'Mayotte', Code: 'YT'},
  {Name: 'Mexiko', Code: 'MX'},
  {Name: 'Mikronesien, Föderierte Staaten von', Code: 'FM'},
  {Name: 'Moldawien, Republik', Code: 'MD'},
  {Name: 'Monaco', Code: 'MC'},
  {Name: 'Mongolei', Code: 'MN'},
  {Name: 'Montserrat', Code: 'MS'},
  {Name: 'Marokko', Code: 'MA'},
  {Name: 'Mosambik', Code: 'MZ'},
  {Name: 'Myanmar', Code: 'MM'},
  {Name: 'Namibia', Code: 'NA'},
  {Name: 'Nauru', Code: 'NR'},
  {Name: 'Nepal', Code: 'NP'},
  {Name: 'Niederlande', Code: 'NL'},
  {Name: 'Niederländische Antillen', Code: 'AN'},
  {Name: 'Neukaledonien', Code: 'NC'},
  {Name: 'Neuseeland', Code: 'NZ'},
  {Name: 'Nicaragua', Code: 'NI'},
  {Name: 'Niger', Code: 'NE'},
  {Name: 'Nigeria', Code: 'NG'},
  {Name: 'Niue', Code: 'NU'},
  {Name: 'Norfolkinsel', Code: 'NF'},
  {Name: 'Nördliche Marianen', Code: 'MP'},
  {Name: 'Norwegen', Code: 'NEIN'},
  {Name: 'Oman', Code: 'OM'},
  {Name: 'Pakistan', Code: 'PK'},
  {Name: 'Palau', Code: 'PW'},
  {Name: 'Palästinensisches Territorium, besetzt', Code: 'PS'},
  {Name: 'Panama', Code: 'PA'},
  {Name: 'Papua-Neuguinea', Code: 'PG'},
  {Name: 'Paraguay', Code: 'PY'},
  {Name: 'Peru', Code: 'PE'},
  {Name: 'Philippinen', Code: 'PH'},
  {Name: 'Pitcairn', Code: 'PN'},
  {Name: 'Polen', Code: 'PL'},
  {Name: 'Portugal', Code: 'PT'},
  {Name: 'Puerto Rico', Code: 'PR'},
  {Name: 'Katar', Code: 'QA'},
  {Name: 'Reunion', Code: 'RE'},
  {Name: 'Rumänien', Code: 'RO'},
  {Name: 'Russische Föderation', Code: 'RU'},
  {Name: 'RWANDA', Code: 'RW'},
  {Name: 'St. Helena', Code: 'SH'},
  {Name: 'St. Kitts und Nevis', Code: 'KN'},
  {Name: 'St. Lucia', Code: 'LC'},
  {Name: 'St. Pierre und Miquelon', Code: 'PM'},
  {Name: 'St. Vincent und die Grenadinen', Code: 'VC'},
  {Name: 'Samoa', Code: 'WS'},
  {Name: 'San Marino', Code: 'SM'},
  {Name: 'Sao Tome und Principe', Code: 'ST'},
  {Name: 'Saudi-Arabien', Code: 'SA'},
  {Name: 'Senegal', Code: 'SN'},
  {Name: 'Serbien und Montenegro', Code: 'CS'},
  {Name: 'Seychellen', Code: 'SC'},
  {Name: 'Sierra Leone', Code: 'SL'},
  {Name: 'Singapur', Code: 'SG'},
  {Name: 'Slowakei', Code: 'SK'},
  {Name: 'Slowenien', Code: 'SI'},
  {Name: 'Salomonen', Code: 'SB'},
  {Name: 'Somalia', Code: 'SO'},
  {Name: 'Südafrika', Code: 'ZA'},
  {Name: 'Südgeorgien und die Südlichen Sandwichinseln', Code: 'GS'},
  {Name: 'Spanien', Code: 'ES'},
  {Name: 'Sri Lanka', Code: 'LK'},
  {Name: 'Sudan', Code: 'SD'},
  {Name: 'Suriname', Code: 'SR'},
  {Name: 'Spitzbergen und Jan Mayen', Code: 'SJ'},
  {Name: 'Swasiland', Code: 'SZ'},
  {Name: 'Schweden', Code: 'SE'},
  {Name: 'Schweiz', Code: 'CH'},
  {Name: 'Arabische Republik Syrien', Code: 'SY'},
  {Name: 'Taiwan, Provinz China', Code: 'TW'},
  {Name: 'Tadschikistan', Code: 'TJ'},
  {Name: 'Tansania, Vereinigte Republik', Code: 'TZ'},
  {Name: 'Thailand', Code: 'TH'},
  {Name: 'Timor-Leste', Code: 'TL'},
  {Name: 'Togo', Code: 'TG'},
  {Name: 'Tokelau', Code: 'TK'},
  {Name: 'Tonga', Code: 'TO'},
  {Name: 'Trinidad und Tobago', Code: 'TT'},
  {Name: 'Tunesien', Code: 'TN'},
  {Name: 'Türkei', Code: 'TR'},
  {Name: 'Turkmenistan', Code: 'TM'},
  {Name: 'Turks- und Caicosinseln', Code: 'TC'},
  {Name: 'Tuvalu', Code: 'TV'},
  {Name: 'Uganda', Code: 'UG'},
  {Name: 'Ukraine', Code: 'UA'},
  {Name: 'Vereinigte Arabische Emirate', Code: 'AE'},
  {Name: 'Vereinigtes Königreich', Code: 'GB'},
  {Name: 'Vereinigte Staaten', Code: 'US'},
  {Name: 'Kleinere abgelegene Inseln der Vereinigten Staaten', Code: 'UM'},
  {Name: 'Uruguay', Code: 'UY'},
  {Name: 'Usbekistan', Code: 'UZ'},
  {Name: 'Vanuatu', Code: 'VU'},
  {Name: 'Venezuela', Code: 'VE'},
  {Name: 'Vietnam', Code: 'VN'},
  {Name: 'Jungferninseln, Britisch', Code: 'VG'},
  {Name: 'Virgin Islands, USA', Code: 'VI'},
  {Name: 'Wallis und Futuna', Code: 'WF'},
  {Name: 'Westsahara', Code: 'EH'},
  {Name: 'Kosovo', Code: 'XK'},
  {Name: 'Jemen', Code: 'YE'},
  {Name: 'Sambia', Code: 'ZM'},
  {Name: 'Simbabwe', Code: 'ZW'}
]
						 
Sample Description
   

 

In Albanian

Merrni një listë të të gjitha vendeve në ISO 3166-1 Kodi dhe emri me dy shkronja në shqip në formatin JSON

Kërkesa:

curl -u "{Çelësi-i-Projektit}" \
"https://api.iso3166.org/getcountry.php?group=all&lng=sq&asof=2022"

Përgjigja:

[
  {name: 'Afganistan', code: 'AF'},
  {name: 'Ishujt Åland', code: 'AX'},
  {name: 'Shqipëria', code: 'AL'},
  {name: 'Algjeria', code: 'DZ'},
  {name: 'Samoa Amerikane', code: 'AS'},
  {name: 'Andorra', code: 'AD'},
  {name: 'Angola', code: 'AO'},
  {name: 'Anguilla', code: 'AI'},
  {name: 'Antarktida', code: 'AQ'},
  {name: 'Antigua dhe Barbuda', code: 'AG'},
  {name: 'Argjentinë', code: 'AR'},
  {name: 'Armeni', code: 'AM'},
  {name: 'Aruba', code: 'AW'},
  {name: 'Australi', code: 'AU'},
  {name: 'Austri', code: 'AT'},
  {name: 'Azerbajxhan', code: 'AZ'},
  {name: 'Bahamat', code: 'BS'},
  {name: 'Bahrain', code: 'BH'},
  {name: 'Bangladesh', code: 'BD'},
  {name: 'Barbados', code: 'BB'},
  {name: 'Bellorusia', code: 'BY'},
  {name: 'Belgjikë', code: 'BE'},
  {name: 'Belize', code: 'BZ'},
  {name: 'Benin', code: 'BJ'},
  {name: 'Bermuda', code: 'BM'},
  {name: 'Bhutan', code: 'BT'},
  {name: 'Bolivi', code: 'BO'},
  {name: 'Bosnjë dhe Hercegovinë', code: 'BA'},
  {name: 'Botsvana', code: 'BW'},
  {name: 'Ishulli Bouvet', code: 'BV'},
  {name: 'Brazil', code: 'BR'},
  {name: 'Territori Britanik i Oqeanit Indian', code: 'IO'},
  {name: 'Brunei Darussalam', code: 'BN'},
  {name: 'Bullgari', code: 'BG'},
  {name: 'Burkina Faso', code: 'BF'},
  {name: 'Burundi', code: 'BI'},
  {name: 'Kamboxhia', code: 'KH'},
  {name: 'Kamerun', code: 'CM'},
  {name: 'Kanada', code: 'CA'},
  {name: 'Kape Verde', code: 'CV'},
  {name: 'Ishujt Kajman', code: 'KY'},
  {name: 'Republika e Afrikës Qendrore', code: 'CF'},
  {name: 'Çad', code: 'TD'},
  {name: 'Kili', code: 'CL'},
  {name: 'Kinë', code: 'CN'},
  {name: 'Ishulli i Krishtlindjeve', code: 'CX'},
  {name: 'Ishujt Cocos (Keeling)', code: 'CC'},
  {name: 'Kolumbi', code: 'CO'},
  {name: 'Komoros', code: 'KM'},
  {name: 'Kongo', code: 'CG'},
  {name: 'Kongo, Republika Demokratike e', code: 'CD'},
  {name: 'Ishujt Kuk', code: 'CK'},
  {name: 'Kosta Rika', code: 'CR'},
  {name: 'Cote D\'Ivoire', code: 'CI'},
  {name: 'Kroacia', code: 'HR'},
  {name: 'Kuba', code: 'CU'},
  {name: 'Qipro', code: 'CY'},
  {name: 'Çekia', code: 'CZ'},
  {name: 'Danimarkë', code: 'DK'},
  {name: 'Xhibuti', code: 'DJ'},
  {name: 'Dominika', code: 'DM'},
  {name: 'Republika Dominikane', code: 'DO'},
  {name: 'Ekuador', code: 'KE'},
  {name: 'Egjipt', code: 'EG'},
  {name: 'El Salvador', code: 'SV'},
  {name: 'Guinea Ekuatoriale', code: 'GQ'},
  {name: 'Eritrea', code: 'ER'},
  {name: 'Estoni', code: 'EE'},
  {name: 'Etiopi', code: 'ET'},
  {name: 'Ishujt Falkland (Malvinas)', code: 'FK'},
  {name: 'Ishujt Faroe', code: 'FO'},
  {name: 'Fixhi', code: 'FJ'},
  {name: 'Finlandë', code: 'FI'},
  {name: 'Francë', code: 'FR'},
  {name: 'Guana Franceze', code: 'GF'},
  {name: 'Polinezia Franceze', code: 'PF'},
  {name: 'Territoret Jugore Franceze', code: 'TF'},
  {name: 'Gabon', code: 'GA'},
  {name: 'Gambia', code: 'GM'},
  {name: 'Gjeorgji', code: 'GE'},
  {name: 'Gjermani', code: 'DE'},
  {name: 'Gana', code: 'GH'},
  {name: 'Gjibraltar', code: 'GI'},
  {name: 'Greqi', code: 'GR'},
  {name: 'Grenlanda', code: 'GL'},
  {name: 'Grenada', code: 'GD'},
  {name: 'Guadeloupe', code: 'GP'},
  {name: 'Guam', code: 'GU'},
  {name: 'Guatemala', code: 'GT'},
  {name: 'Gernsey', code: 'GG'},
  {name: 'Guinea', code: 'GN'},
  {name: 'Guinea-Bissau', code: 'GW'},
  {name: 'Gajana', code: 'GY'},
  {name: 'Haiti', code: 'HT'},
  {name: 'Ishulli Heard dhe Ishujt Mcdonald', code: 'HM'},
  {name: 'Selia e Shenjtë (Shteti i Qytetit të Vatikanit)', code: 'VA'},
  {name: 'Honduras', code: 'HN'},
  {name: 'Hong Kong', code: 'HK'},
  {name: 'Hungari', code: 'HU'},
  {name: 'Islanda', code: 'IS'},
  {name: 'India', code: 'IN'},
  {name: 'Indonezi', code: 'ID'},
  {name: 'Iran', code: 'IR'},
  {name: 'Irak', code: 'IQ'},
  {name: 'Irlandë', code: 'IE'},
  {name: 'Ishulli i Manit', code: 'IM'},
  {name: 'Izrael', code: 'IL'},
  {name: 'Itali', code: 'IT'},
  {name: 'Xhamajka', code: 'JM'},
  {name: 'Japoni', code: 'JP'},
  {name: 'Xhersi', code: 'JE'},
  {name: 'Jordan', code: 'JO'},
  {name: 'Kazakistan', code: 'KZ'},
  {name: 'Kenia', code: 'KE'},
  {name: 'Kiribati', code: 'KI'},
  {name: 'Korea, Republika Popullore Demokratike e', code: 'KP'},
  {name: 'Korea, Republika e', code: 'KR'},
  {name: 'Kuvajti', code: 'KW'},
  {name: 'Kirgistan', code: 'KG'},
  {name: 'Republika Demokratike Popullore Lao', code: 'LA'},
  {name: 'Letoni', code: 'LV'},
  {name: 'Liban', code: 'LB'},
  {name: 'Lesoto', code: 'LS'},
  {name: 'Liberia', code: 'LR'},
  {name: 'Libian Arab Jamahiriya', code: 'LY'},
  {name: 'Lihtenshtajni', code: 'LI'},
  {name: 'Lituani', code: 'LT'},
  {name: 'Luksemburg', code: 'LU'},
  {name: 'Makao', code: 'MO'},
  {name: 'Maqedonia e Veriut', code: 'MK'},
  {name: 'Madagaskari', code: 'MG'},
  {name: 'Malaui', code: 'MW'},
  {name: 'Malajzi', code: 'MY'},
  {name: 'Maldives', code: 'MV'},
  {name: 'Mali', code: 'ML'},
  {name: 'Malta', code: 'MT'},
  {name: 'Ishujt Marshall', code: 'MH'},
  {name: 'Martinique', code: 'MQ'},
  {name: 'Mauritania', code: 'MR'},
  {name: 'Mauritius', code: 'MU'},
  {name: 'Majote', code: 'YT'},
  {name: 'Meksikë', code: 'MX'},
  {name: 'Mikronezi, Shtetet Federative të', code: 'FM'},
  {name: 'Moldavia, Republika e', code: 'MD'},
  {name: 'Monako', code: 'MC'},
  {name: 'Mongoli', code: 'MN'},
  {name: 'Montserrat', code: 'MS'},
  {name: 'Marok', code: 'MA'},
  {name: 'Mozambik', code: 'MZ'},
  {name: 'Myanmar', code: 'MM'},
  {name: 'Namibia', code: 'NA'},
  {name: 'Nauru', code: 'NR'},
  {name: 'Nepal', code: 'NP'},
  {name: 'Holandë', code: 'NL'},
  {name: 'Antilet Hollandeze', code: 'AN'},
  {name: 'Kaledonia e Re', code: 'NC'},
  {name: 'Zelanda e Re', code: 'NZ'},
  {name: 'Nikaragua', code: 'NI'},
  {name: 'Niger', code: 'NE'},
  {name: 'Nigeri', code: 'NG'},
  {name: 'Niue', code: 'NU'},
  {name: 'Ishulli Norfolk', code: 'NF'},
  {name: 'Ishujt Mariana Veriore', code: 'MP'},
  {name: 'Norvegji', code: 'JO'},
  {name: 'Oman', code: 'OM'},
  {name: 'Pakistan', code: 'PK'},
  {name: 'Palau', code: 'PW'},
  {name: 'Territori Palestinez, i pushtuar', code: 'PS'},
  {name: 'Panama', code: 'PA'},
  {name: 'Papua Guinea e Re', code: 'PG'},
  {name: 'Paraguaj', code: 'PY'},
  {name: 'Peru', code: 'PE'},
  {name: 'Filipinet', code: 'PH'},
  {name: 'Pitkërn, Ishujt', code: 'PN'},
  {name: 'Poloni', code: 'PL'},
  {name: 'Portugali', code: 'PT'},
  {name: 'Puerto Riko', code: 'PR'},
  {name: 'Katar', code: 'QA'},
  {name: 'Ribashkimi', code: 'RE'},
  {name: 'Rumani', code: 'RO'},
  {name: 'Federata Ruse', code: 'RU'},
  {name: 'Ruanda', code: 'RW'},
  {name: 'Shën Helena', code: 'SH'},
  {name: 'Shën Kits dhe Nevis', code: 'KN'},
  {name: 'Saint Lucia', code: 'LC'},
  {name: 'Shën Pierre dhe Mikelon', code: 'PM'},
  {name: 'Shën Vincenti dhe Grenadinet', code: 'VC'},
  {name: 'Samoa', code: 'WS'},
  {name: 'San Marino', code: 'SM'},
  {name: 'Sao Tome dhe Principe', code: 'ST'},
  {name: 'Arabia Saudite', code: 'SA'},
  {name: 'Senegal', code: 'SN'},
  {name: 'Serbia dhe Mali i Zi', code: 'CS'},
  {name: 'Seychelles', code: 'SC'},
  {name: 'Sierra Leone', code: 'SL'},
  {name: 'Singapore', code: 'SG'},
  {name: 'Sllovakia', code: 'SK'},
  {name: 'Slloveni', code: 'SI'},
  {name: 'Ishujt Solomon', code: 'SB'},
  {name: 'Somali', code: 'SO'},
  {name: 'Afrika e Jugut', code: 'ZA'},
  {name: 'South Georgia and the South Sandwich Islands', code: 'GS'},
  {name: 'Spanjë', code: 'ES'},
  {name: 'Sri Lanka', code: 'LK'},
  {name: 'Sudan', code: 'SD'},
  {name: 'Suriname', code: 'SR'},
  {name: 'Svalbard dhe Jan Mayen', code: 'SJ'},
  {name: 'Swaziland', code: 'SZ'},
  {name: 'Suedi', code: 'SE'},
  {name: 'Zvicër', code: 'CH'},
  {name: 'Republika Arabe Siriane', code: 'SY'},
  {name: 'Tajvan, Provinca e Kinës', code: 'TW'},
  {name: 'Taxhikistan', code: 'TJ'},
  {name: 'Tanzania, Republika e Bashkuar', code: 'TZ'},
  {name: 'Tajlandë', code: 'TH'},
  {name: 'Timor-Leste', code: 'TL'},
  {name: 'Togo', code: 'TG'},
  {name: 'Tokelau', code: 'TK'},
  {name: 'Tonga', code: 'TO'},
  {name: 'Trinidad dhe Tobago', code: 'TT'},
  {name: 'Tunizi', code: 'TN'},
  {name: 'Turqia', code: 'TR'},
  {name: 'Turkmenistan', code: 'TM'},
  {name: 'Ishujt Turks dhe Kaikos', code: 'TC'},
  {name: 'Tuvalu', code: 'TV'},
  {name: 'Uganda', code: 'UG'},
  {name: 'Ukrainë', code: 'UA'},
  {name: 'Emiratet e Bashkuara Arabe', code: 'AE'},
  {name: 'Mbretëria e Bashkuar', code: 'GB'},
  {name: 'Shtetet e Bashkuara', code: 'SHBA'},
  {name: 'Ishujt e vegjël periferikë të Shteteve të Bashkuara', code: 'UM'},
  {name: 'Uruguay', code: 'UY'},
  {name: 'Uzbekistan', code: 'UZ'},
  {name: 'Vanuatu', code: 'VU'},
  {name: 'Venezuela', code: 'VE'},
  {name: 'Viet Nam', code: 'VN'},
  {name: 'Ishujt e Virgjër, Britanik', code: 'VG'},
  {name: 'Ishujt e Virgjër, SHBA', code: 'VI'},
  {name: 'Wallis dhe Futuna', code: 'WF'},
  {name: 'Sahara Perëndimore', code: 'EH'},
  {name: 'Kosovë', code: 'XK'},
  {name: 'Jemen', code: 'YE'},
  {name: 'Zambia', code: 'ZM'},
  {name: 'Zimbabve', code: 'ZW'}
]
						 
Sample Description
Sample Description