List of currencies and their 3 digit codes as defined by ISO 4217. The data provided here is the consolidation of Table A.1 "Current currency & funds code list" and Table A.3 "Historic denominations".
Note that the ISO page offers pay-for PDFs but also links to SIX Group's data standards page which provides them in machine readable form freely.
The data provided (see data/codes-all.csv) in this data package provides a consolidated list of currency (and funds) codes by combining these two separate tables:
- ISO Tables A.1 - Current Currencies and Funds
- ISO Tables A.3 - List of codes for historic denominations of currencies & funds
The script requires xmllint (from the libxml2-utils package). Install it by running:
sudo apt install libxml2-utils
Run the following script to download and convert the data from XML to CSV:
cd scripts/
./runall.sh
The raw XML files are stored in ./archive. The cleaned data are
./data/codes-all.csv.
Placing in the Public Domain under the Public Domain Dedication and License. The original site states no restriction on use and the data is small and completely factual.