Skip to Content

🇦🇫Afghanistan (AF)

ISO 3166 country code - Asia / Southern Asia

Alpha-2AF
Alpha-3AFG
Numeric004
Currency

؋ AFN - Afghan Afghani

Code Example

import { country } from '@koshmoney/countries';

// Look up Afghanistan by alpha-2 code
const af = country.getCountry('AF');
// => { name: 'Afghanistan', alpha2: 'AF', alpha3: 'AFG', numeric: '004' }

// Look up by alpha-3 code
country.getCountryByAlpha3('AFG');

// Look up by numeric code
country.getCountryByNumeric('004');

Subdivisions (34)

CodeNameType
AF-BALBalkhProvince
AF-BAMBāmyānProvince
AF-BDGBādghīsProvince
AF-BDSBadakhshānProvince
AF-BGLBaghlānProvince

...and 29 more. View all 34 subdivisions →

FAQ

What is the ISO code for Afghanistan?
Afghanistan has three ISO 3166-1 codes: Alpha-2 "AF", Alpha-3 "AFG", and Numeric "004".
How many subdivisions does Afghanistan have?
Afghanistan has 34 subdivisions defined in ISO 3166-2, including Balkh, Bāmyān, Bādghīs, and more.
How to look up Afghanistan in JavaScript?
Install @koshmoney/countries via npm, then use country.getCountry('AF') to get all ISO codes, or subdivision.getByCountry('AF') for subdivisions.

Related Countries

Use Afghanistan data in your project

Get ISO codes, subdivisions, currency, and more with a single npm package.

npm install @koshmoney/countries