Currencies
EZ Currency lets you easily retrieve the currencies supported by Norges Bank’s currency exchange API. The API tracks about ~40 currencies at the time of writing. If you find that they support a currency not currently available in EZ Currency, you can feel free to either create a PR or raise an issue in the EZ Currency repository on Github.
Retrieve currencies and their codes
To retrieve the names of all the supported currencies along with their codes, you can make a request to the following endpoint:
The endpoint will return an array of all the currencies in the following format:
Retrieve currency codes only
If you wish to return just the currency codes, you can do so by using this endpoint:
Which will return the following result type: