Part of a Data Solution
- Explore →
Global Country & Region Reference Data Solution
Authoritative country codes, regions and location reference data to power your location-based solutions.
API Access
Access dataset files directly from scripts, code, or AI agents.
Browse dataset files
API Access
Access dataset files directly from scripts, code, or AI agents.
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
Start with these files — they give you everything you need to understand and access the dataset.
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Files
Explore with AIcodes-all
| Field | Type | Description | Title |
|---|---|---|---|
| Entity | string | Country or region name | |
| Currency | string | Name of the currency | |
| AlphabeticCode | string | 3 digit alphabetic code for the currency | Alphabetic Code |
| NumericCode | string | 3 digit numeric code (zero-padded, e.g. '008') | Numeric Code |
| MinorUnit | string | Number of digits after the decimal separator; '-' for currencies with no minor unit defined | Minor Unit |
| WithdrawalDate | string | Date the currency was withdrawn; values may be a year-month (YYYY-MM) or a date range (e.g. '1990-07 to 1990-09'); empty for current currencies | Withdrawal Date |
Download
Download CSVAbout
- Consolidated list of ISO 4217 current and historic currency codes, one row per country–currency pair.
- Last updated
- 9 February 2026
- Total rows
- ...
- Format
- CSV
- File size
- 17.9 kB
About this dataset
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.
Data
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
Preparation
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.
License
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.