API AccessAccess dataset files directly from scripts, code, or AI agents.
Browse dataset files
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 Previews
codes-all
Schema
| name | 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 | number | 3 digit numeric code | Numeric Code |
| MinorUnit | string | Minor Unit | |
| WithdrawalDate | string | Date currency withdrawn (values can be ranges or months | Withdrawal Date |
Data Files
| File | Description | Size | Last modified | Download |
|---|---|---|---|---|
codes-all | 17.9 kB | 26 days ago | codes-all |
| Files | Size | Format | Created | Updated | License | Source |
|---|---|---|---|---|---|---|
| 1 | 17.9 kB | about 1 month ago | Open Data Commons Public Domain Dedication and License v1.0 | SIX Interbank Clearing Ltd (on behalf of ISO) |
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 http://www.currency-iso.org/en/home/tables.html which does provide them in machine readable form freely.
Data
The data provided (see data/codes.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 recode package to be istalled. Install it by running:
sudo apt install recode
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.
Version
The current tables have a published date of 28 March 2014 (as indicated in the XML files).
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.