Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gibbs/currency-data

Currency datasets in CSV, JSON, PHP, XML and YAML
https://github.com/gibbs/currency-data

currencies currency dataset

Last synced: 3 months ago
JSON representation

Currency datasets in CSV, JSON, PHP, XML and YAML

Awesome Lists containing this project

README

        

# Currency Data

![Test](https://github.com/gibbs/currency-data/actions/workflows/tests.yml/badge.svg)

English language currency datasets in CSV, JSON, PHP, XML and YAML formats. See
the `dist` directory for data.

## Data

All currency data is maintained in an easy to read and parse format (YAML)
under `data/currencies.yaml`. The data here is authoritative for this dataset
and used to generate data in other formats.

## Schema

| Key | Description |
|---------|-------------|
| title | The currency title. More formal (e.g. Pound Sterling, United States Dollar) |
| name | Shorter currency name used in common parlance (e.g. pound, dollar) |
| code | The ISO 4217 currency code (e.g. GBP, USD) |
| symbol | The currency symbol |
| entity | The symbols character entity reference for use in HTML, XML etc |
| discern | Alternative symbol used to discern the currency type (e.g. CA$ instead of $ for Canadian Dollars) |
| ltr | Boolean to determine if the currency symbol is in left-to-right script |

## License

[CC0 v1.0 Universal](https://github.com/gibbs/currency-data/blob/master/LICENSE)

## Sources

Data has primarily been sourced from and referenced against
[ISO 4217](https://www.iso.org/iso-4217-currency-codes.html).

## Current Dataset

| title | name | code | symbol | entity | discern | ltr |
|-|-|-|-|-|-|-|
|United Arab Emirates Dirham|dirham|AED|د.إ|د.إ||false|
|Afghan Afghani|afghani|AFN|؋|؋||false|
|Lek|lek|ALL|L|L||true|
|Armenian Dram|dram|AMD|֏|֏||true|
|Netherlands Antillean Guilder|guilder|ANG|ƒ|ƒ||true|
|Angolan Kwanza|kwanza|AOA|Kz|Kz||true|
|Argentine Peso|peso|ARS|$|$||true|
|Australian Dollar|dollar|AUD|$|$|AU$|true|
|Aruban Florin|florin|AWG|ƒ|ƒ|Afl.|true|
|Azerbaijani Manat|manat|AZN|₼|₼||true|
|Bosnia and Herzegovina Convertible Mark|convertible mark|BAM|КМ|КМ||true|
|Barbadian Dollar|dollar|BBD|$|$|Bds$|true|
|Bangladeshi Taka|taka|BDT|৳|৳|Tk.|true|
|Bulgarian Lev|lev|BGN|лв.|лв.||true|
|Bahraini Dinar|dinar|BHD|.د.ب|.د.ب|BD|true|
|Burundian Franc|franc|BIF|FBu|FBu||true|
|Bermudian Dollar|dollar|BMD|$|$|BD$|true|
|Brunei Dollar|dollar|BND|$|$|B$|true|
|Bolivian Boliviano|boliviano|BOB|Bs|Bs|B$|true|
|Mvdol|mvdol|BOV|-|-||true|
|Brazilian Real|real|BRL|R$|R$||true|
|Bahamian Dollar|dollar|BSD|$|$|B$|true|
|Ngultrum|ngultrum|BTN|Nu.|Nu.||true|
|Pula|pula|BWP|P|P||true|
|Belarusian Ruble|ruble|BYN|Br|Br||true|
|Belize Dollar|dollar|BZD|$|$|BZ$|true|
|Canadian Dollar|dollar|CAD|$|$|CA$|true|
|Congolese Franc|franc|CDF|FC|FC|CF|true|
|Swiss Franc|franc|CHF|Fr|Fr|SFr|true|
|Unidad de Fomento|Unidad de Fomento|CLF|UF|UF||true|
|Chilean Peso|peso|CLP|$|$|CLP$|true|
|Yuan Renminbi|yuan|CNY|¥|¥||true|
|Colombian Peso|peso|COP|$|$|COP$|true|
|Costa Rican Colon|colon|CRC|₡|₡||true|
|Peso Convertible|peso|CUC|$|$|CUC$|true|
|Cuban Peso|peso|CUP|$|$|$MN|true|
|Cabo Verde Escudo|escudo|CVE|Esc|Esc||true|
|Czech Koruna|koruna|CZK|Kč|Kč||true|
|Djibouti Franc|franc|DJF|Fdj|Fdj||true|
|Danish Krone|krone|DKK|kr|kr|DKK|true|
|Dominican Peso|peso|DOP|$|$|RD$|true|
|Algerian Dinar|dinar|DZD|دج|دج|DA|false|
|Egyptian Pound|pound|EGP|£|£|£E|true|
|Ethiopian Birr|birr|ETB|ብር|ብር|Br|true|
|Nakfa|nakfa|ERN|Nkf|Nkf||true|
|Euro|euro|EUR|€|€||true|
|Fiji Dollar|dollar|FJD|$|$|FJ$|true|
|Falkland Islands Pound|pound|FKP|£|£|FK£|true|
|Pound sterling|pound|GBP|£|£||true|
|Lari|lari|GEL|₾|₾||true|
|Ghana Cedi|cedi|GHS|₵|₵|GH¢|true|
|Gibraltar Pound|pound|GIP|£|£||true|
|Dalasi|dalasi|GMD|D|D||true|
|Guinean Franc|franc|GNF|FG|FG|GFr|true|
|Quetzal|quetzal|GTQ|Q|Q||true|
|Guyana Dollar|dollar|GYD|$|$|GY$|true|
|Hong Kong Dollar|dollar|HKD|$|$|HK$|true|
|Lempira|lempira|HNL|L|L||true|
|Gourde|gourde|HTG|G|G||true|
|Forint|forint|HUF|Ft|Ft||true|
|Rupiah|rupiah|IDR|Rp|Rp||true|
|New Israeli Sheqel|sheqel|ILS|₪|₪|NIS|true|
|Indian Rupee|rupee|INR|₹|₹||true|
|Iraqi Dinar|dinar|IQD|د.ع|د.ع||false|
|Iranian Rial|rial|IRR|﷼|﷼||false|
|Iceland Krona|krona|ISK|kr|kr|ISK|false|
|Jersey Pound|pound|JEP|£|£|JEP|true|
|Jamaican Dollar|dollar|JMD|$|$|J$|true|
|Jordanian Dinar|dinar|JOD|د.أ|د.أ||false|
|Yen|yen|JPY|¥|¥|JP¥|true|
|Kenyan Shilling|shilling|KES|KSh|KSh||true|
|Som|som|KGS|сом|сом||true|
|Riel|riel|KHR|៛|៛||true|
|Comorian Franc|franc|KMF|CF|CF||true|
|North Korean Won|won|KPW|₩|₩||true|
|Won|won|KRW|₩|₩||true|
|Kuwaiti Dinar|dinar|KWD|د.ك|د.ك||false|
|Cayman Islands Dollar|dollar|KYD|$|$|CI$|true|
|Tenge|tenge|KZT|₸|₸||true|
|Lao Kip|kip|LAK|₭|₭|₭N|true|
|Lebanese Pound|pound|LBP|ل.ل.|ل.ل.|LL|false|
|Sri Lanka Rupee|rupee|LKR|₨|₨|LKR|true|
|Liberian Dollar|dollar|LRD|$|$|L$|true|
|Loti|loti|LSL|L|L||true|
|Libyan Dinar|dinar|LYD|.د|.د|LD|false|
|Moroccan Dirham|dirham|MAD|د.م.|د.م.|DH|false|
|Moldovan Leu|leu|MDL|L|L||true|
|Malagasy Ariary|ariary|MGA|Ar|Ar||true|
|Denar|denar|MKD|ден|ден||true|
|Kyat|kyat|MMK|K|K||true|
|Tugrik|tugrik|MNT|₮|₮||true|
|Pataca|pataca|MOP|MOP$|MOP$||true|
|Ouguiya|ouguiya|MRU|UM|UM||true|
|Mauritius Rupee|rupee|MUR|₨|₨||true|
|Rufiyaa|rufiyaa|MVR|Rf.|Rf.|MRf|true|
|Malawi Kwacha|kwacha|MWK|K|K||true|
|Mexican Peso|peso|MXN|$|$|MX$|true|
|Mexican Unidad de Inversion (UDI)|udi|MXV|-|-||true|
|Malaysian Ringgit|ringgit|MYR|RM|RM||true|
|Mozambique Metical|metical|MZN|MT|MT|MTn|true|
|Namibia Dollar|dollar|NAD|$|$|N$|true|
|Naira|naira|NGN|₦|₦||true|
|Cordoba Oro|cordoba|NIO|C$|C$||true|
|Norwegian Krone|krone|NOK|kr|kr||true|
|Nepalese Rupee|rupee|NPR|रु|रु|₨|true|
|New Zealand Dollar|dollar|NZD|$|$|NZ$|true|
|Rial Omani|rial|OMR|ر.ع.|ر.ع.|R.O.|false|
|Balboa|balboa|PAB|B/.|B/.||true|
|Sol|sol|PEN|S/|S/||true|
|Kina|kina|PKG|K|K||true|
|Philippine Peso|peso|PHP|₱|₱||true|
|Pakistan Rupee|rupee|PKR|₨|₨||true|
|Zloty|zloty|PLN|zł|zł||true|
|Guarani|guarani|PYG|₲|₲||true|
|Qatari Rial|riyal|QAR|ر.ق|ر.ق
|QR|false|
|Romanian Leu|leu|RON|L|L||false|
|Serbian Dinar|dinar|RSD|дин|дин||true|
|Russian Ruble|ruble|RUB|₽|₽||true|
|Rwanda Franc|franc|RWF|FRw|FRw|R₣|true|
|Saudi Riyal|riyal|SAR|ر.س|ر.س
|SAR|false|
|Solomon Islands Dollar|dollar|SBD|$|$|SI$|true|
|Seychelles Rupee|rupee|SCR|₨|₨|SRe|true|
|Sudanese Pound|pound|SDG|£|£|£SD|true|
|Swedish Krona|krona|SEK|kr|kr||true|
|Singapore Dollar|dollar|SGD|$|$|S$|true|
|Saint Helena Pound|pound|SHP|£|£||true|
|Leone|leone|SLE|Le|Le||true|
|Leone|leone|SLL|Le|Le||true|
|Somali Shilling|shilling|SOS|Sh.So.|Sh.So.||true|
|Surinam Dollar|dollar|SRD|$|$|Sr$|true|
|Dobra|dobra|STN|Db|Db||true|
|South Sudanese Pound|pound|SSP|£|£|SS£|true|
|Syrian Pound|pound|SYP|£|£|£S|true|
|Lilangeni|lilangeni|SZL|L|L||true|
|Baht|baht|THB|฿|฿||true|
|Somoni|somoni|TJS|SM|SM||true|
|Turkmenistan New Manat|manat|TMT|m|m||true|
|Tunisian Dinar|dinar|TND|د.ت|د.ت|DT|false|
|Pa’anga|pa’anga|TOP|T$|T$|PT|true|
|Turkish Lira|lira|TRY|₺|₺||false|
|Trinidad and Tobago Dollar|dollar|TTD|$|$|TT$|true|
|New Taiwan Dollar|dollar|TWD|$|$|NT$|true|
|Tanzanian Shilling|shiling|TZS|TSh|TSh||true|
|Hryvnia|hryvnia|UAH|₴|₴|грн|true|
|Uganda Shilling|shilling|UGX|USh|USh||true|
|United States Dollar|dollar|USD|$|$||true|
|Peso Uruguayo|peso|UYU|$|$|$U|true|
|Uzbekistan Sum|sum|UZS|сум|сум||true|
|Bolívar Soberano|bolívar|VED|Bs.|Bs.||true|
|Bolívar Soberano|bolívar|VES|Bs.S|Bs.S||true|
|Dong|dong|VND|₫|₫||true|
|Vatu|vatu|VUV|VT|VT||true|
|Tala|tala|WST|$|$|WS$|true|
|CFA Franc BEAC|franc|XAF|FCFA|FCFA||true|
|East Caribbean Dollar|dollar|XCD|$|$|EC$|true|
|SDR (Special Drawing Right)|SDR|XDR|SDR|SDR||true|
|CFA Franc BCEAO|franc|XOF|CFA|CFA||true|
|CFP Franc|franc|XPF|₣|₣||true|
|Yemeni Rial|rial|YER|ر.ي|ر.ي||false|
|Rand|rand|ZAR|R|R||true|
|Zambian Kwacha|kwacha|ZMW|K|K|ZK|true|
|Zimdollar|dollar|ZWL|$|$|ZWL$|true|