5

Where do I get a list of currencies along with country code?

Example

Code,    Currency Name,  Country,    Format,     Decimal Points,     Currency Regime,    Major Unit,     Minor Unit,     Equivalence,
USD,    US Dollar,  United States,  $#,###.##,  2,  float,  dollar, cents,  100 cents = dollar

REF: http://www.oanda.com/currency/currency-code?srccont=rightnav

<--- this is perfect, however they do not supply a database to download?

001
  • 62,807
  • 94
  • 230
  • 350

5 Answers5

4

From Wikipedia: http://en.wikipedia.org/wiki/List_of_circulating_currencies

Data from ISO: ISO 4217 currency and funds name and code elements
With the data in XLS and XML format.

Philip Fourie
  • 111,587
  • 10
  • 63
  • 83
  • 1
    This site seems to have moved. [Site](http://www.currency-iso.org/en/home/tables/table-a1.html), [XLS](http://www.currency-iso.org/dam/downloads/dl_iso_table_a1.xls) [XML](http://www.currency-iso.org/dam/downloads/dl_iso_table_a1.xml) – jonemo Jun 23 '13 at 04:51
3

You can get a list of country codes to currency codes from http://country.io/currency.json. Here's a sample extract:

...
"US": "USD",
"UY": "UYU",
"UZ": "UZS",
"VA": "EUR",
"VC": "XCD",
...
Ben Dowling
  • 17,187
  • 8
  • 87
  • 103
0

Without a database, you can find those info in System.Globalization

Take a look at this sample: https://rextester.com/OEPYQ59630

Hossein
  • 1,640
  • 2
  • 26
  • 41
0

Calling the web services provided here: http://www.webservicex.net/country.asmx you should be able to generate the list you want.

David Brabant
  • 41,623
  • 16
  • 83
  • 111
  • Yes this site has many mappings but oddly not country code -> currency code! You can pass in a country name, or get the entire list: `http://www.webservicex.net/country.asmx/GetCurrencyCode` – hippietrail Jul 31 '12 at 17:05
  • In fact the URL I gave has very old superseded codes for the currencies of at least Mexico, Romania, and Turkey! – hippietrail Aug 01 '12 at 21:10
0

Look this ;) https://en.wikipedia.org/wiki/ISO_4217

Hosein Yeganloo
  • 464
  • 4
  • 11